DXTCompressImage Function
ImagingSquishLib

Compresses SrcImage using selected DXTn compression into DestImage.

Pascal
procedure DXTCompressImage(const SrcImage: TImageData; 
                           var DestImage: TImageData; 
                           DXTFormat: TImageFormat; 
                           Compressor: TDXTCompressor = dcClusterFit; 
                           Metric: TColorMetric = cmPerceptual);
File

ImagingSquishLib (at line 55)

Description

DestImage should be cleared before calling.

Related Information
You are here: Symbol Reference > Functions > DXTCompressImage Function