TImageFileFormat.SaveToMemory Method
TImageFileFormat Class

Saves images to memory.

Class
Pascal
public function SaveToMemory(Data: Pointer; 
                             var Size: LongInt; 
                             const Images: TDynImageDataArray; 
                             OnlyFirstLevel: Boolean = False): Boolean;
Description

If format supports only single level images and there are multiple images to be saved, they are saved as sequence of independent images. Data must be already allocated and their size passed as Size parameter, number of written bytes is then returned in the same parameter.

Related Information
You are here: Symbol Reference > Classes > TImageFileFormat Class > Methods > SaveToMemory Method