This method loads DIB image data from raw data.
Parameters
None
Return Value
Returns True if successful. Returns False if successful.
Explanation
The LoadImageFromRawData method uses the raw image data set into the RawData property and converts it to DIB image data. This DIB image data is then set into either the Image or the Layer(LayerNumber).Image property depending on the value of the LayerNumber property.
When the raw image data is a multipage image, set the page to be loaded in the LoadPage property.
Executing the LoadImageFromRawData method will set image information in the same properties as executing the GetImageFileTypeFromRawData method.
The supported image formats are BMP, JPEG, TIFF (uncompressed, GROUP3-1D, GROUP4, PACKBITS, LZW, JPEG compression (partially not supported)), PNG, GIF, JPEG2000, FPX, WMF, EMF.
For 16 bit BMP and TIFF files:
16 bit BMP and TIFF files can be loaded but the loaded image data
will converted to 32 bit image data. Saving the data will result in
a 32 bit image.
For BMP compression, JPEG2000 and FPX formats:
Because standard .NET Framework does not support these image
formats, the ImageKit.NET3 Plugin (Win32 Dll files) are
required.
For WMF and EMF files:
WMF and EMF images are treated as raster images after loading.
Although there are differences between loading from a file or raw data, the operation is the same as the LoadImageFromFile method.