Gorilla.Imaging.Types

Unit Gorilla.Imaging.Types.pas

Records

Enumerations

  • enum  TImageFormat  = ( ifUnknown, ifDefault, ifIndex8, ifGray8, ifA8Gray8, ifGray16, ifGray32, ifGray64, ifA16Gray16, ifX5R1G1B1, ifR3G3B2, ifR5G6B5, ifA1R5G5B5, ifA4R4G4B4, ifX1R5G5B5, ifX4R4G4B4, ifR8G8B8, ifA8R8G8B8, ifX8R8G8B8, ifR16G16B16, ifA16R16G16B16, ifB16G16R16, ifA16B16G16R16, ifR32F, ifA32R32G32B32F, ifA32B32G32R32F, ifR16F, ifA16R16G16B16F, ifA16B16G16R16F, ifDXT1, ifDXT3, ifDXT5, ifBTC, ifATI1N, ifATI2N ) ;
  • enum  TResizeFilter  = ( rfNearest, rfBilinear, rfBicubic ) ;
  • enum  TSeekMode  = ( smFromBeginning, smFromCurrent, smFromEnd ) ;

Constants

  • const ImagingVersionMajor : Integer = $0;
  • const ImagingVersionMinor : Integer = $1A;
  • const ImagingVersionPatch : Integer = $4;
  • const ImagingJpegQuality : Integer = $A;
  • const ImagingJpegProgressive : Integer = $B;
  • const ImagingBitmapRLE : Integer = $C;
  • const ImagingTargaRLE : Integer = $D;
  • const ImagingDDSLoadedCubeMap : Integer = $E;
  • const ImagingDDSLoadedVolume : Integer = $F;
  • const ImagingDDSLoadedMipMapCount : Integer = $10;
  • const ImagingDDSLoadedDepth : Integer = $11;
  • const ImagingDDSSaveCubeMap : Integer = $12;
  • const ImagingDDSSaveVolume : Integer = $13;
  • const ImagingDDSSaveMipMapCount : Integer = $14;
  • const ImagingDDSSaveDepth : Integer = $15;
  • const ImagingPNGPreFilter : Integer = $19;
  • const ImagingPNGCompressLevel : Integer = $1A;
  • const ImagingPNGLoadAnimated : Integer = $1B;
  • const ImagingMNGLossyCompression : Integer = $1C;
  • const ImagingMNGLossyAlpha : Integer = $1D;
  • const ImagingMNGPreFilter : Integer = $1E;
  • const ImagingMNGCompressLevel : Integer = $1F;
  • const ImagingMNGQuality : Integer = $20;
  • const ImagingMNGProgressive : Integer = $21;
  • const ImagingJNGLossyAlpha : Integer = $28;
  • const ImagingJNGAlphaPreFilter : Integer = $29;
  • const ImagingJNGAlphaCompressLevel : Integer = $2A;
  • const ImagingJNGQuality : Integer = $2B;
  • const ImagingJNGProgressive : Integer = $2C;
  • const ImagingPGMSaveBinary : Integer = $32;
  • const ImagingPPMSaveBinary : Integer = $33;
  • const ImagingGIFLoadAnimated : Integer = $38;
  • const ImagingColorReductionMask : Integer = $80;
  • const ImagingLoadOverrideFormat : Integer = $81;
  • const ImagingSaveOverrideFormat : Integer = $82;
  • const ImagingMipMapFilter : Integer = $83;
  • const InvalidOption : Integer = $80000001;
  • const ChannelBlue : Integer = $0;
  • const ChannelGreen : Integer = $1;
  • const ChannelRed : Integer = $2;
  • const ChannelAlpha : Integer = $3;

Mics. types

  • type TColor32 = Int64;
  • type PColor32 = pointer to LongWord;
  • type TColor64 = Int64;
  • type PColor64 = pointer to TColor64;
  • type PColor24Rec = pointer to TColor24Rec;
  • type TColor24RecArray = array  [0..715827881]  of TColor24Rec;
  • type PColor24RecArray = pointer to TColor24RecArray;
  • type PColor32Rec = pointer to TColor32Rec;
  • type TColor32RecArray = array  [0..268435454]  of TColor32Rec;
  • type PColor32RecArray = pointer to TColor32RecArray;
  • type PColor48Rec = pointer to TColor48Rec;
  • type TColor48RecArray = array  [0..357913940]  of TColor48Rec;
  • type PColor48RecArray = pointer to TColor48RecArray;
  • type PColor64Rec = pointer to TColor64Rec;
  • type TColor64RecArray = array  [0..268435454]  of TColor64Rec;
  • type PColor64RecArray = pointer to TColor64RecArray;
  • type PColorFPRec = pointer to TColorFPRec;
  • type TColorFPRecArray = array  [0..134217726]  of TColorFPRec;
  • type PColorFPRecArray = pointer to TColorFPRecArray;
  • type THalfFloat = word;
  • type PHalfFloat = pointer to THalfFloat;
  • type PColorHFRec = pointer to TColorHFRec;
  • type TColorHFRecArray = array  [0..268435454]  of TColorHFRec;
  • type PColorHFRecArray = pointer to TColorHFRecArray;
  • type TPalette32 = array  [0..268435454]  of TColor32Rec;
  • type TPalette32Size256 = array  [0..255]  of TColor32Rec;
  • type PPalette32 = pointer to TColor32RecArray;
  • type TPalette24 = array  [0..715827881]  of TColor24Rec;
  • type TPalette24Size256 = array  [0..255]  of TColor24Rec;
  • type PPalette24 = pointer to TColor24RecArray;
  • type PImageData = pointer to TImageData;
  • type PPixelFormatInfo = pointer to TPixelFormatInfo;
  • type PImageFormatInfo = pointer to TImageFormatInfo;
  • type TImageDataList = pointer to Pointer;
  • type PImageDataList = pointer to Pointer;
  • type TImagingHandle = pointer to Pointer;