次の方法で共有


Imaging GUIDs (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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

An image from an unidentified file format.

ImageFormatMemoryBMP

An image from a bitmap in memory rather than in a file.

ImageFormatBMP

An image from a bitmap file.

ImageFormatEMF

Not supported.

ImageFormatWMF

Not supported.

ImageFormatJPEG

An image from a JPEG file.

ImageFormatPNG

An image from a PNG file.

ImageFormatGIF

An image from a GIF file.

ImageFormatTIFF

An image from a TIFF file.

ImageFormatEXIF

An image from an EXIF file.

ImageFormatIcon

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

The time of the image.

FrameDimensionResolution

The resolution of the image.

FrameDimensionPage

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

A property set for data about the image.

FormatIDJpegAppHeaders

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

The decoder's transparency color settings.

DECODER_TRANSRANGE

The decoder's transparency range settings.

DECODER_OUTPUTCHANNEL

The decoder's output channel.

DECODER_ICONRES

The decoder's icon resolution.

DECODER_USEICC

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

The encoder's compression settings.

EncoderColorDepth

The encoder's color depth settings.

EncoderScanMethod

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

EncoderVersion

The encoder's software version settings.

EncoderRenderMethod

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

EncoderQuality

The encoder's quality settings.

EncoderTransformation

The encoder's transformation settings.

EncoderLuminanceTable

The encoder's luminance table settings.

EncoderChrominanceTable

The encoder's chrominance table settings.

EncoderSaveFlag

The encoder's save flag settings.

CodecIImageBytes

The encoder's memory settings.

Requirements

Header

imaging.h

See Also

Reference

Imaging Reference

Other Resources

Imaging