Look at SaveMultiImageToFile for details.
function ImSaveMultiImageToFile(FileName: PAnsiChar; ImageList: TImageDataList): Boolean; cdecl;
ImagingExport (at line 100)