WICJpegIndexingOptions enumeration

Specifies the options for indexing a JPEG image.

Syntax


typedef enum WICJpegIndexingOptions { 
  WICJpegIndexingOptionsGenerateOnDemand  = 0,
  WICJpegIndexingOptionsGenerateOnLoad    = 0x1,
  WICJpegIndexingOptions_FORCE_DWORD      = 0x7fffffff
} WICJpegIndexingOptions;

Constants

WICJpegIndexingOptionsGenerateOnDemand

Index generation is deferred until IWICBitmapSource::CopyPixels is called on the image.

WICJpegIndexingOptionsGenerateOnLoad

Index generation is performed when the when the image is initially loaded.

WICJpegIndexingOptions_FORCE_DWORD

Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Requirements

Header

Wincodec.h

See also

IWICJpegFrameDecode::SetIndexing

 

 

Show: