Specifies the row align in bits.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public int BMPRAW_RowAlign { get; set; }
Public Property BMPRAW_RowAlign As Integer Get Set
public: property int BMPRAW_RowAlign { int get (); void set (int 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);