WIC Samples

This section contains the Windows Imaging Component (WIC) samples.

WIC provides two types of examples:

  • Samples: Code segments that use several WIC features. Source code for the sample is delivered in the Windows SDK.
  • Code Examples: Shorter samples that demonstrate a specific feature. Source code for the sample is not provided with the SDK.

WIC Samples

Sample Description
DirectX postcard app sample Demonstrates loading and rendering images using WIC and the File Picker.
JPEG YCbCr optimizations in Direct2D and WIC sample Demonstrates performance optimizations in Direct2D and WIC to natively render JPEG YCbCr image data.
Simple imaging sample Demonstrates using the Windows.Graphics.Imaging namespace to edit and save images and image properties.
WIC Explorer Demonstrates using WIC to enumerate and list all of the elements within an image, including metadata, frames, and thumbnails.
WIC Progressive Decoding Sample Demonstrates the use of WIC to decode an image that is encoded with progressive levels.
WIC Animated Gif Sample Demonstrates decoding the frames in a GIF file, reading appropriate metadata for each frame, composing frames, and rendering the animation with Direct2D.
WIC Image Viewer Using Direct2D Sample Demonstrates the use of WIC to decode an image file and Direct2D to render the image to the screen.

 

Code Examples

Code Example Description
How-to: Re-encode a JPEG Image with Metadata Demonstrates how to re-encode an image and its metadata to a new file of the same format.

 

See Also

References