Saves images to memory.
public function SaveToMemory(Data: Pointer; var Size: LongInt; const Images: TDynImageDataArray; OnlyFirstLevel: Boolean = False): Boolean;
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.