Partager via


Imaging GUIDs

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The Imaging API defines several groups of GUIDs that you can use to identify specific data formats and parameters associated with images and image encoders.

To use these GUIDs, add the following lines of code to your application's source code prior to any other #include statements that might directly or indirectly include Windows.h.

#define INITGUID
#include <windows.h>
#include <imaging.h>
#undef INITGUID

Image Format Identifiers

The following table shows GUIDs used to identify file formats for images.

GUID Description

ImageFormatUndefined

Indicates an image from an unidentified file format.

ImageFormatMemoryBMP

Indicates an image from a bitmap in memory rather than in a file.

ImageFormatBMP

Indicates an image from a bitmap file.

ImageFormatEMF

Not supported.

ImageFormatWMF

Not supported.

ImageFormatJPEG

Indicates an image from a JPEG file.

ImageFormatPNG

Indicates an image from a PNG file.

ImageFormatGIF

Indicates an image from a GIF file.

ImageFormatTIFF

Indicates an image from a TIFF file.

ImageFormatEXIF

Indicates an image from an EXIF file.

ImageFormatIcon

Indicates an image from an icon file.

Multi-frame Dimension Identifiers

The following table shows GUIDs used to identify major dimensions for multi-frame images.

GUID Description

FrameDimensionTime

Indicates the time of the image.

FrameDimensionResolution

Indicates the resolution of the image.

FrameDimensionPage

Indicates the page of the image.

Property Set Identifiers

The following table shows GUIDs used to identify categories of property sets for images.

GUID Description

FormatIDImageInformation

Indicates a property set for data about the image.

FormatIDJpegAppHeaders

Indicates a property set for JPEG application headers.

Decoder Parameter Identifiers

The following table shows GUIDs used to identify parameters for image decoders.

GUID Description

DECODER_TRANSCOLOR

Identifies the decoder's transparency color settings.

DECODER_TRANSRANGE

Identifies the decoder's transparency range settings.

DECODER_OUTPUTCHANNEL

Identifies the decoder's output channel.

DECODER_ICONRES

Identifies the decoder's icon resolution.

DECODER_USEICC

Identifies the decoder's support for color management through International Color Consortium (ICC) profiles.

Encoder Parameter Identifiers

The following table shows GUIDs used to identify parameters for image encoders.

GUID Description

EncoderCompression

Identifies the encoder's compression settings.

EncoderColorDepth

Identifies the encoder's color depth settings.

EncoderScanMethod

Identifies the encoder's scan mode settings, including whether an image is interlaced or noninterlaced.

EncoderVersion

Identifies the encoder's software version settings.

EncoderRenderMethod

Identifies the encoder's render method settings, including whether an image should be rendered in a progressive or nonprogressive mode.

EncoderQuality

Identifies the encoder's quality settings.

EncoderTransformation

Identifies the encoder's transformation settings.

EncoderLuminanceTable

Identifies the encoder's luminance table settings.

EncoderChrominanceTable

Identifies the encoder's chrominance table settings.

EncoderSaveFlag

Identifies the encoder's save flag settings.

CodecIImageBytes

Identifies the encoder's memory settings.

Requirements

Header imaging.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Imaging Reference