次の方法で共有


ImageInfo (Imaging API) (Compact 2013)

3/26/2014

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

This structure contains parameters related to an image.

Syntax

typedef struct tagImageInfo {
  GUID RawDataFormat;
  PixelFormatID PixelFormat;
  UINT Width;
  UINT Height;
  UINT TileWidth;
  UINT TileHeight;
  double Xdpi;
  double Ydpi;
  UINT Flags;
} ImageInfo;

Members

  • RawDataFormat
    A GUID value that identifies the file format for the native image data. This value is an image format identifier. For more information, see Imaging GUIDs.
  • PixelFormat
    A PixelFormatID value identifying the natural pixel format for an image source, see PixelFormat Values.

    If the source does not have a preference, use PixelFormatDontCare.

  • Width
    A UNIT value indicating the width, in pixels, of the image source.
  • Height
    A UNIT value indicating the height, in pixels, of the image source.
  • TileWidth
    A UINT value indicating the preferred tile width, in pixels, for the image source.
  • TileHeight
    A UINT value indicating the preferred tile height, in pixels, for the image source.
  • Xdpi
    A double value indicating the horizontal resolution, in dots per inch, of the source image.
  • Ydpi
    A double value indicating the vertical resolution, in dots per inch, of the source image.
  • Flags
    A UINT value that describes the properties of the image source. This value is a combination of one or more values from the SinkFlags enumeration.

Requirements

Header

imaging.h

See Also

Reference

Imaging Structures
IImageSink::BeginSink
IImageDecoder::GetImageInfo
IImage::GetImageInfo