Saves single image to given stream.
function SaveImageToStream(const Ext: string; Stream: TStream; const Image: TImageData): Boolean;
Imaging (at line 127)
If function fails stream position is not changed. Ext identifies desired image file format (jpg, png, dds, ...).