CreateImageFromSDLSurface Function
ImagingSDL

Converts SDL surface to TImageData structure.

Pascal
function CreateImageFromSDLSurface(Surface: PSDL_Surface; 
                                   var ImageData: TImageData; 
                                   OverrideFormat: TImageFormat = ifUnknown): Boolean;
File

ImagingSDL (at line 76)

Description

OverrideFormat can be used to convert output image to the specified format rather than use the format taken from SDL surface, ifUnknown means no conversion.

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