Lumia Imaging SDK 3.0
Lumia Imaging SDK, now as version 3.0, makes technologies that Microsoft uses in its own imaging apps available to third-party developers. The features provide the ability to decode and encode images, apply effects, blend, crop, rotate, and resize. It gives developers easy access to world-class imaging algorithms and effortless GPU utlilization (utilizing Direct2D under the hood). It also allows the developers to extend the functionality for custom scenarios.
Note: Despite the name, the Lumia Imaging SDK actually works on any Windows 10 or Windows 10 Mobile device, as well as on any Windows 8.1 or Windows Phone 8.1 device.
The Lumia Imaging SDK is a rich set of image and video frame processing tools for developers to provide amazing visual experiences in their apps. It provides more than 60 pre-made effects, many of which can be applied without decoding the whole image. That means that you can apply effects to high-resolution images without worrying about your memory budget. You can add an effect to your existing project with just a few lines of C#. The library can also be called from C++ code. The effects can be chained to create the exact effect you're looking for.
- Quick Start, if you just want to get up to speed.
- Core concepts, explains the main concepts and functionality of the Lumia Imaging SDK.
- API reference documentation, quick jumplist to where the effects have been documented in more detail.
- Sample projects, alternatively, you can try out and quickly see the library in action.
Tip: Check out our open source project Lumia Imaging SDK Extras in GitHub. It will make it even easier for the developer to build amazing imaging apps. The source code project can be found in Lumia Imaging SDK Extras Git repository .
New in SDK 3.0
- GPU image processing - The performance has been improved by utilizing the GPU.
- Video Frame processing - Lumia Imaging SDK 3.0 provides a Microsoft Media Foundation Transform (MFT) making it possible to apply the effects to video frames.
- Windows interoperability - Lumia Imaging SDK 3.0 supports rendering to SwapChainPanel as well as rendering to or from the new Windows 10 imaging APIs SoftwareBitmap and IDirect3DSurface.
- Information about valid ranges for property values are now available at runtime through PropertyDescriptions. This allows the developer to easily match slider values to the supported range.
- Windows Phone 8.0 and Windows Phone 8.1 Silverlight applications are no longer supported.
The BlendEffect takes a background image source and blends it with a foreground image source. Blending can also be done into a target area of the background source.
Use the GifRenderer to create GIF images, both normal and animated. For a single-image GIF, use it in the same way as the other renderers. For an animated GIF, you can assign a list of sources to the Sources property.
The HdrEffect applies local tone mapping to a single image to achieve an HDR-like effect.
Use the ImageAligner to remove unwanted shaking from a series of images that differ slightly.
Interactive Foregrond Segmentor
The InteractiveForegroundSegmenter segments the image into foreground and background based on annotations to the image provided by the end-user.
Lens Blur Effect
The LensBlurEffect applies blur to an image in a way similar to how out-of-focus areas are rendered by a lens, an effect also known as bokeh. The effect supports setting kernels corresponding to different aperture shapes. There are several predefined shapes included in the SDK (circle, hexagon, flower, star, and heart), and custom, user-defined shapes are also supported.
If we have an image with a mask that defines objects in the image - obtained using the interactive foreground segmenter or by some other means - the foreground objects can be extracted and manipulated separately using the ObjectExtractor.
The library is distributed under the Lumia Imaging SDK v3.0 License Agreement .