Partilhar via


Processing image files (XAML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

The Windows.Graphics.Imaging namespace lets you decode images and then edit the pixels and metadata. Then you can encode the result in various formats.

The following topics show how to get started with this namespace.

Topic Description

Quickstart: imaging

Learn how to use image processing APIs for your Windows Runtime app using C++, C#, or Visual Basic.

How to decode an image

Shows you how to load an image from a file and create a BitmapDecoder object from it.

How to edit an image

Shows how to use a BitmapEncoder to edit an existing image

How to get pixel data in the default format

Shows how to use a BitmapDecoder object to get pixel data from an image.

How to get pixel data in a particular format

Shows how to use a BitmapDecoder object to get pixel data from an image.

How to get image properties

Shows you how to use an ImageProperties object to retrieve properties from an image file.

How to read image metadata

Shows how to use a BitmapDecoder object to read image metadata.

How to write image metadata

Shows you how to use a BitmapEncoder object to write image metadata.

How to encode a new image

Shows how to create an BitmapEncoder object and save its contents to a file.

How to use encoding options

Shows you how to set encoding options on a BitmapEncoder.