ImageEn, unit iexDefs

Pixel Format Consts

Declaration

const
  All_PixelFormats = [ ie1g, ie8p, ie8g, ie16g, ie24RGB, ie32f, ieCMYK, ie48RGB, ieCIELab, ie32RGB ];
  Grayscale_PixelFormats = [ ie1g, ie8g, ie16g, ie32f ];

  BMP_Unsupported_PixelFormats = [ ie16g, ie32f, ieCMYK, ieCIELab, ie48RGB ];
  BMP_Supported_PixelFormats   = All_PixelFormats - BMP_Unsupported_PixelFormats;
  BMP_Native_PixelFormats      = [ ie1g, ie8p, ie24RGB, ie32RGB ];

  DICOM_Supported_PixelFormats_Uncompressed    = [ ie1g, ie8g, ie16g, ie24RGB, ie32f ];      // Pixel formats supported by DICOM when compression is iedcUncompressed (fallback option)
  DICOM_Supported_PixelFormats_JPEGCompression = [ ie8g, ie24RGB ];                          // Pixel formats supported by DICOM when compression is iedcJPEG
  DICOM_Supported_PixelFormats_J2KCompression  = [ ie8g, ie16g, ie24RGB ];                   // Pixel formats supported by DICOM when compression is iedcJPEG2000 or iedcLosslessJPEG2000
  DICOM_Supported_PixelFormats_RLECompression  = [ {$ifNdef IEPixelFormatCompatibilityWorkarounds} ie1g, {$endif} ie8g, ie16g, ie24RGB ];    // Pixel formats supported by DICOM when compression is iedcRLE
  DICOM_Supported_PixelFormats                 = DICOM_Supported_PixelFormats_Uncompressed;

  GIF_Supported_PixelFormats   = [ ie1g, ie8p ];

  ICO_Supported_PixelFormats   = [ ie1g, ie24RGB ];

  JPEG_Native_PixelFormats     = [ ie8g, ie24RGB ];

  JPEG2000_Supported_PixelFormats = [ie1g, ie8g, ie16g, ie24RGB, ie48RGB];

  PNG_Unsupported_PixelFormats = [ ie32f, ie48RGB, ieCIELab, ieCMYK ];
  PNG_Supported_PixelFormats   = All_PixelFormats - PNG_Unsupported_PixelFormats;
  PNG_Native_PixelFormats      = [ ie1g, ie8g, ie8p, ie16g, ie24RGB ];

  PSD_Native_PixelFormats      = [ ie1g, ie8g, ie8p, ie16g, ie24RGB, ie48RGB, ieCIELab, ieCMYK ];

  TIFF_Unsupported_PixelFormats = [ ieCIELab, ie32RGB ];
  TIFF_Supported_PixelFormats   = All_PixelFormats - TIFF_Unsupported_PixelFormats ;
  TIFF_Supported_PixelFormats_Uncompressed = [ ie1g, ie8p, ie8g, ie16g, ie24RGB, ie32f, ie48RGB, ieCMYK ];

  WebP_Supported_PixelFormats = [ ie24RGB, ie32RGB ];
  HEIF_Supported_PixelFormats = [ ie24RGB, ie32RGB ];

  WIC_Unsupported_PixelFormats = [ ie8p, ie32f, ieCIELab, ieCMYK ];    // Note: ie8p and ieCMYK should be supported but result is unreliable
  WIC_Supported_PixelFormats   = All_PixelFormats - WIC_Unsupported_PixelFormats;