IMAGE_PIXELFORMAT enumeration (filter.h)

Specifies the pixel format of an image. This enumeration is used with the IMAGE_INFO structure.

Syntax

typedef enum IMAGE_PIXELFORMAT {
  FILTER_PIXELFORMAT_BGRA8,
  FILTER_PIXELFORMAT_PBGRA8,
  FILTER_PIXELFORMAT_BGR8
} ;

Constants

 
FILTER_PIXELFORMAT_BGRA8
The image format is 32 bits per pixel. This value corresponds to the Windows Imaging Component (WIC) friendly name GUID_WICPixelFormat32bppBGRA.
FILTER_PIXELFORMAT_PBGRA8
The image format is 32 bits per pixel. This value corresponds to the WIC friendly name GUID_WICPixelFormat32bppPBGRA.
FILTER_PIXELFORMAT_BGR8
The image format is 24 bits per pixel. This value corresponds to the WIC friendly name GUID_WICPixelFormat24bppBGR.

Remarks

Specifying the bits per pixel (bpp) of an image allows a search indexer to allocate a buffer of the correct size to process the image. For more information on WIC pixel formats, see Native pixel formats overview.

Requirements

Requirement Value
Minimum supported client Windows 11, version 26100
Header filter.h

See also

IMAGE_INFO

Native pixel formats overview


Additional resources