TImageEnIO.SaveToStreamBMPRAW
 
Declaration
procedure SaveToStreamBMPRAW(Stream: TStream);
Description
Save the current image to a stream in BmpRaw format.
Note:
◼This is not the same as a digital camera Raw file, but a true "raw" format (named "BmpRaw" in ImageEn) where you can specify the channel order, placement, alignment, size, etc.
◼To abort while saving set 
Aborting to true
 |   | Demos\InputOutput\RealRAW\RealRaw.dpr | 
// saves current image as RAW image
ImageEnView1.IO.Params.BMPRAW_ChannelOrder := coRGB;
ImageEnView1.IO.Params.BMPRAW_Planes := plPlanar;
ImageEnView1.IO.Params.BMPRAW_RowAlign := 8;
ImageEnView1.IO.SaveToStreamBMPRAW(stream);