Specifies how channels are disposed.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public IOParams..::..BMPRAWPlanes BMPRAW_Planes { get; set; }
Public Property BMPRAW_Planes As IOParams..::..BMPRAWPlanes Get Set
public: property IOParams..::..BMPRAWPlanes BMPRAW_Planes { IOParams..::..BMPRAWPlanes get (); void set (IOParams..::..BMPRAWPlanes value); }
Examples
CopyC#
// load a RAW image, RGB, interleaved, 8 bit aligned, 1024x768, binary values ieViewer1.Image.LegacyBitmap = false; ieViewer1.Image.Allocate(1024, 768, PixelFormat.ie24RGB); ieViewer1.Image.IOParams.BMPRAW_ChannelOrder = BMPRAWChannelOrder.RGB; ieViewer1.Image.IOParams.BMPRAW_Planes = BMPRAWPlanes.Interleaved; ieViewer1.Image.IOParams.BMPRAW_RowAlign = 8; ieViewer1.Image.IOParams.BMPRAW_HeaderSize = 0; ieViewer1.Image.IOParams.BMPRAW_DataFormat = BMPRAWDataFormat.Binary; ieViewer1.Image.LoadImage("input.dat", IEFileFormats.BMPRAW); // load a RAW image, CMYK, interleaved, 8 bit aligned, 1024x768, ASCII decimal values ieViewer1.Image.LegacyBitmap = false; ieViewer1.Image.Allocate(1024, 768, PixelFormat.ieCMYK); ieViewer1.Image.IOParams.BMPRAW_ChannelOrder = BMPRAWChannelOrder.RGB; ieViewer1.Image.IOParams.BMPRAW_Planes = BMPRAWPlanes.Interleaved; ieViewer1.Image.IOParams.BMPRAW_RowAlign = 8; ieViewer1.Image.IOParams.BMPRAW_HeaderSize = 0; ieViewer1.Image.IOParams.BMPRAW_DataFormat = BMPRAWDataFormat.TextDecimal; ieViewer1.Image.LoadImage("input.dat", IEFileFormats.BMPRAW); // saves current image as RAW image, RGB, 8 bit aligned, binary values ieViewer1.Image.IOParams.BMPRAW_ChannelOrder = BMPRAWChannelOrder.RGB; ieViewer1.Image.IOParams.BMPRAW_Planes = BMPRAWPlanes.Planar; ieViewer1.Image.IOParams.BMPRAW_RowAlign = 8; ieViewer1.Image.IOParams.BMPRAW_DataFormat = BMPRAWDataFormat.Binary; ieViewer1.Image.SaveImage("output.dat", IEFileFormats.BMPRAW);