ImageEn, unit ImageEnIO

TImageEnIO.SaveToFileBMPRAW

TImageEnIO.SaveToFileBMPRAW

Declaration

procedure SaveToFileBMPRAW(const FileName: WideString);

Description

Save the current image to a file in BmpRaw format.
FileName is the file name including extension.

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.
◼If an internal save error is encountered Aborting will return True. Saving issues due to insufficient write permissions and disk write failures will raise an exception.
◼To abort while saving set Aborting to True

Demo

Demo  Demos\InputOutput\RealRAW\RealRaw.dpr

Example

// Save 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.SaveToFileBMPRAW('C:\output.dat');