ImagingFormats.pas Functions
Functions
Adds padding bytes at the ends of scanlines. 
Helper function for resampling. 
Clamps floating point pixel channel values to [0.0, 1.0] range. 
Constructs TColor24Rec color. 
Constructs TColor32Rec color. 
Constructs TColor48Rec color. 
Constructs TColor64Rec color. 
Converts single-precision floating point color to half float color. 
Constructs TColorFPRec color. 
Converts half float color value to single-precision floating point color. 
Constructs TColorHFRec color. 
Compares Src pixel and Dest pixel. 
Converts 1bit image data to 8bit (without scaling). 
Converts 2bit image data to 8bit (without scaling). 
Converts 4bit image data to 8bit (without scaling). 
Converts image to/from/between special image formats (dxtc, ...). 
Copies Src pixel to Dest pixel. 
Helper for functions that create mipmap levels. 
Helper function for resampling. 
Returns pixel of image in any floating point format. 
Sets pixel of image in any floating point format. 
Converts any floating point format to any floating point format. 
Converts any floating point format to any grayscale format. 
Converts 32bit Single to 16bit half floating point. 
Converts any floating point format to any ARGB format. 
Converts any floating point format to any indexed format. 
Function for getting pixel colors. 
Function for getting pixel colors. 
Provides indexed access to each line of pixels. 
Returns pixel of image in any grayscale format. 
Sets pixel of image in any grayscale format. 
Converts any grayscale format to any floating point format. 
Converts any grayscale format to any grayscale format. 
Converts any grayscale format to any ARGB format. 
Converts any grayscale format to any indexed format. 
Converts 16bit half floating point value to 32bit Single. 
Helper function for image file loaders. 
Helper function for image file loaders. 
Returns pixel of image in any ARGB format. 
Sets pixel of image in any ARGB format. 
Converts any ARGB format to any floating point format. 
Converts any ARGB format to any grayscale format. 
Converts any ARGB format to any ARGB format. 
Converts any ARGB format to any indexed format. 
Returns pixel of image in any indexed format. 
Sets pixel of image in any indexed format. 
Converts any indexed format to any floating point format. 
Converts any indexed format to any grayscale format. 
Converts any indexed format to any ARGB format. 
Converts any indexed format to any indexed format. 
Inits all image format information. 
Returns True if Format is valid image data format identifier. 
Reduces the number of colors of source. 
Removes padding from image with scanlines that have aligned sizes. 
Procedure for setting pixel colors. 
Procedure for setting pixel colors. 
Stretches rectangle in source image to rectangle in destination image using nearest neighbor filtering. 
Stretches rectangle in source image to rectangle in destination image with resampling. 
Stretches rectangle in source image to rectangle in destination image with resampling. 
Translates pixel color in SrcFormat to DstFormat. 
Makes image PalEntries x 1 big where each pixel has color of one pal entry. 
You are here: Symbol Reference > Files > ImagingFormats.pas