Saves SDL surface to stream in one of the formats supported by Imaging defined by Ext.
function SaveSDLSurfaceToStream(const Ext: string; Stream: TStream; Surface: PSDL_Surface): Boolean;
ImagingSDL (at line 67)