Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Paper Photo App using Nokia Imaging SDK
Paper Photo application demonstrates the use of Sketch effect using Nokia Imaging SDK. Sketch Effect is applied to viewfinder stream in real-time. The goal here is to provide a simple example to help windows developers understand Nokia Imaging SDK.
The Nokia Imaging SDK is a library for manipulating image data captured and stored by mobile devices. The features include decoding and encoding JPEG images, applying filters and effects, cropping, rotating and re-sizing. The Nokia Imaging SDK provides more than 50 pre-made filters and effects that have been specifically developed for mobile imaging, with speed and memory performance as key drivers. The SDK is super-fast, thanks to meticulous memory and code optimisation. The patented JPEG technology, RAJPEG, contributes to making this possible, as it allows access to any image data without decoding the whole image. That means you can apply effects to high resolution images, without worrying about your memory budget. This article demonstrates the use of Sketch effect using Nokia Imaging SDK. Sketch Effect is applied to viewfinder stream in real-time.
- C# basics
- Windows 8
- Windows Phone 8 SDK
- Nokia Imaging SDK Beta
- Microsoft Visual Studio Express 2012 for Windows Phone 8
Windows Phone 8. Tested to work on Nokia Lumia 920. Developed with Microsoft Visual Studio Professional 2012.
The example consists basically of three key classes. The main page is your typical phone application page implemented by a XAML file and a C# counterpart. The main page implements the application UI including the MediaElement which displays the camera viewfinder with an effect. The MainPage class also owns the instances of the two other key classes: CameraStreamSource and NokiaSketchEffect. The CameraStreamSource, derived from MediaStreamSource, provides the camera data. The NokiaSketchEffect implements the sketch effect of the application.
Visual Studio Solution Structure