Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Lumia Imaging SDK 2.0

👁 Dn859593.imag_sdk_icon(en-us,WIN.10).png

The Lumia Imaging SDK, now as version 2.0, makes technologies that Microsoft uses in its own imaging apps available to developers like you. The features include decoding and encoding JPEG images, applying filters and effects, blending, cropping, rotating, and resizing, with customization and unlimited undo.

The Lumia Imaging SDK provides more than 50 pre-made filters and effects, and allows access to any image data 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 a filter to your existing project with just a few lines of C#. The library can also be called from C++ code. The filters can be chained to create the exact effect you're looking for.

If you just want to get up to speed, see the Quick Start. The Core concepts chapter explains the main concepts and functionality of the Lumia Imaging SDK. Below is the quick jumplist to the API reference documentation where the filters have been documented in more detail. Alternatively, you can try out the Sample projects to quickly see the library in action.

Tip: The code examples under the Sample projects section ( Filter Effects, Filter Explorer, Real-time Filter Demo for Windows Phone 8.0 , Chroma Key Demo for Windows Phone 8.0, Real-time Blend Demo for Windows Phone 8.0, Lens Blur for Windows Phone 8.0, and Image Sequencer for Windows Phone) are good illustrations of how to apply filters to images. Also check out the Photo Inspector sample project in the Working with high-resolution photos section. It shows how to use the Lumia Imaging SDK for processing (reframing and scaling) photos.

All code samples in this documentation are written in C# unless otherwise noted.

New in SDK 2.0

For more details, check the Version history.

Filters and effects

Table 1. Filters and effects in the Lumia Imaging SDK

AntiqueFilter

👁 Dn859593.AntiqueFilter(en-us,WIN.10).jpg

AutoEnhanceFilter

👁 Dn859593.AutoEnhanceFilter(en-us,WIN.10).jpg

AutoLevelsFilter

👁 Dn859593.AutoLevelsFilter(en-us,WIN.10).jpg

BlendFilter

👁 Dn859593.BlendEffect(en-us,WIN.10).jpg

BlurFilter

👁 Dn859593.BlurFilter(en-us,WIN.10).jpg

BrightnessFilter

👁 Dn859593.BrightnessFilter(en-us,WIN.10).jpg

CartoonFilter

👁 Dn859593.CartoonFilter(en-us,WIN.10).jpg

ChromaKeyFilter

👁 Dn859593.ChromaKeyFilter(en-us,WIN.10).jpg

ColorAdjustFilter

👁 Dn859593.ColorAdjustFilter(en-us,WIN.10).jpg

ColorBoostFilter

👁 Dn859593.ColorBoostFilter(en-us,WIN.10).jpg

ColorizationFilter

👁 Dn859593.ColorizationFilter(en-us,WIN.10).jpg

ColorSwapFilter

👁 Dn859593.ColorSwapFilter(en-us,WIN.10).jpg

ContrastFilter

👁 Dn859593.ContrastFilter(en-us,WIN.10).jpg

CropFilter

👁 Dn859593.CropFilter(en-us,WIN.10).jpg

CurvesFilter

👁 Dn859593.CurvesFilter(en-us,WIN.10).jpg

DespeckleFilter

👁 Dn859593.DespeckleFilter(en-us,WIN.10).jpg

EmbossFilter

👁 Dn859593.EmbossFilter(en-us,WIN.10).jpg

ExposureFilter

👁 Dn859593.ExposureFilter(en-us,WIN.10).jpg

FlipFilter

👁 Dn859593.FlipFilter(en-us,WIN.10).jpg

FogFilter

👁 Dn859593.FogFilter(en-us,WIN.10).jpg

FoundationFilter

👁 Dn859593.FoundationFilter(en-us,WIN.10).jpg

GaussianNoiseFilter

👁 Dn859593.GaussianNoiseFilter(en-us,WIN.10).jpg

GrayscaleFilter

👁 Dn859593.GrayscaleFilter(en-us,WIN.10).jpg

GrayscaleNegativeFilter

👁 Dn859593.GrayscaleNegativeFilter(en-us,WIN.10).jpg

HdrEffect

👁 Dn859593.HdrEffect(en-us,WIN.10).jpg

HueSaturationFilter

👁 Dn859593.HueSaturationFilter(en-us,WIN.10).jpg

HueSaturationLightnessFilter

👁 Dn859593.HueSaturationLightnessFilter(en-us,WIN.10).jpg

ImageFusionFilter

👁 Dn859593.ImageFusionFilter(en-us,WIN.10).jpg

InteractiveForegroundSegmenter

👁 Dn859593.InteractiveForegroundSegmenter(en-us,WIN.10).jpg

LensBlurEffect

👁 Dn859593.LensBlurEffect(en-us,WIN.10).jpg

LevelsFilter

👁 Dn859593.LevelsFilter(en-us,WIN.10).jpg

LocalBoostFilter

👁 Dn859593.LocalBoostFilter(en-us,WIN.10).jpg

LocalBoostAutomaticFilter

👁 Dn859593.LocalBoostAutomaticFilter(en-us,WIN.10).jpg

LomoFilter

👁 Dn859593.LomoFilter(en-us,WIN.10).jpg

MagicPenFilter

👁 Dn859593.MagicPenFilter(en-us,WIN.10).jpg

MilkyFilter

👁 Dn859593.MilkyFilter(en-us,WIN.10).jpg

MirrorFilter

👁 Dn859593.MirrorFilter(en-us,WIN.10).jpg

MonoColorFilter

👁 Dn859593.MonoColorFilter(en-us,WIN.10).jpg

MoonlightFilter

👁 Dn859593.MoonlightFilter(en-us,WIN.10).jpg

NegativeFilter

👁 Dn859593.NegativeFilter(en-us,WIN.10).jpg

NoiseFilter

👁 Dn859593.NoiseFilter(en-us,WIN.10).jpg

OilyFilter

👁 Dn859593.OilyFilter(en-us,WIN.10).jpg

PaintFilter

👁 Dn859593.PaintFilter(en-us,WIN.10).jpg

PosterizeFilter

👁 Dn859593.PosterizeFilter(en-us,WIN.10).jpg

ReframingFilter

👁 Dn859593.ReframingFilter(en-us,WIN.10).jpg

RgbLevelsFilter

👁 Dn859593.RgbLevelsFilter(en-us,WIN.10).jpg

RgbMixerFilter

👁 Dn859593.RgbMixerFilter(en-us,WIN.10).jpg

RotationFilter

👁 Dn859593.RotationFilter(en-us,WIN.10).jpg

ScaleFilter

👁 Dn859593.ScaleFilter(en-us,WIN.10).jpg

SepiaFilter

👁 Dn859593.SepiaFilter(en-us,WIN.10).jpg

SharpnessFilter

👁 Dn859593.SharpnessFilter(en-us,WIN.10).jpg

SketchFilter

👁 Dn859593.SketchFilter(en-us,WIN.10).jpg

SolarizeFilter

👁 Dn859593.SolarizeFilter(en-us,WIN.10).jpg

SplitToneFilter

👁 Dn859593.SplitToneFilter(en-us,WIN.10).jpg

SpotlightFilter

👁 Dn859593.SpotlightFilter(en-us,WIN.10).jpg

StampFilter

👁 Dn859593.StampFilter(en-us,WIN.10).jpg

TemperatureAndTintFilter

👁 Dn859593.TemperatureAndTintFilter(en-us,WIN.10).jpg

VibranceFilter

👁 Dn859593.VibranceFilter(en-us,WIN.10).jpg

VignettingFilter

👁 Dn859593.VignettingFilter(en-us,WIN.10).jpg

WarpFilter

👁 Dn859593.WarpFilter(en-us,WIN.10).jpg

WatercolorFilter

👁 Dn859593.WatercolorFilter(en-us,WIN.10).jpg

WhiteBalanceFilter

👁 Dn859593.WhiteBalanceFilter(en-us,WIN.10).jpg

WhiteboardEnhancementFilter

👁 Dn859593.WhiteboardEnhancementFilter(en-us,WIN.10).jpg

Other APIs

GIF Renderer

👁 Dn859593.gif_renderer_source_1(en-us,WIN.10).jpg
👁 Dn859593.gif_renderer_source_2(en-us,WIN.10).jpg
Source 1 Source 2
👁 Dn859593.gif_renderer_source_3(en-us,WIN.10).jpg
👁 Dn859593.gif_renderer(en-us,WIN.10).gif
Source 3 Animated GIF image

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.

Image Aligner

👁 Dn859593.aligner_unaligned(en-us,WIN.10).gif
👁 Dn859593.aligner_aligned(en-us,WIN.10).gif
Unaligned images Aligned images

Use the ImageAligner to remove unwanted shaking from a series of images that differ slightly.

Restrictions and terms of use

The Lumia Imaging SDK is not compatible with Windows Phone 7.

The library is distributed under the Lumia Imaging SDK v2.0 License Agreement .

Additional resources