Look at LoadMultiImageFromMemory for details.
function ImLoadMultiImageFromMemory(Data: Pointer; Size: LongInt; var ImageList: TImageDataList): Boolean; cdecl;
ImagingExport (at line 91)