MAGIMAGEHEADER structure (magnification.h)

Note  The MAGIMAGEHEADER structure is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.
 
Describes an image format.

Syntax

typedef struct tagMAGIMAGEHEADER {
  UINT               width;
  UINT               height;
  WICPixelFormatGUID format;
  UINT               stride;
  UINT               offset;
  SIZE_T             cbSize;
} MAGIMAGEHEADER, *PMAGIMAGEHEADER;

Members

width

Type: UINT

The width of the image.

height

Type: UINT

The height of the image.

format

Type: WICPixelFormatGUID

A WICPixelFormatGUID (declared in wincodec.h) that specifies the pixel format of the image. For a list of available pixel formats, see the Native Pixel Formats topic.

stride

Type: UINT

The stride, or number of bytes in a row of the image.

offset

Type: UINT

The offset of the start of the image data from the beginning of the file.

cbSize

Type: SIZE_T

The size of the data.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header magnification.h

See also

MagImageScalingCallback