DisplayImageData Function

Displays image stored in TImageData structure onto TCanvas.

procedure DisplayImageData(DstCanvas: TCanvas; 
                           const DstRect: TRect; 
                           const ImageData: TImageData; 
                           const SrcRect: TRect);

ImagingComponents (at line 308)


This procedure draws image without converting from Imaging format to TBitmap. Only [ifA8R8G8B8, ifX8R8G8B8] image formats are supported. Use this when you want displaying images that change frequently (because converting to TBitmap by ConvertImageDataToBitmap is generally slow). Dest and Src rectangles represent coordinates in the form (X1, Y1, X2, Y2).

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