Saves current image data to stream.
TBaseImage Class
public procedure SaveToStream(const Ext: string; Stream: TStream);
Ext identifies desired image file format (jpg, png, dds, ...)