SaveImageToMemory Function
Imaging

Saves single image to given memory location.

Pascal
function SaveImageToMemory(const Ext: string; 
                           Data: Pointer; 
                           var Size: LongInt; 
                           const Image: TImageData): Boolean;
File

Imaging (at line 132)

Description

Memory must be allocated and its size is passed in Size parameter in which number of written bytes is returned. Ext identifies desired image file format (jpg, png, dds, ...).

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