This method loads DIB image data from raw data.
Parameters
Val
The format of the image to be loaded
This value is of type Newtone.ImageKit.LoadFileType
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).Imgae 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.
Although the LoadImageFromRawData method can load the primary image in an Exif(JPEG) image file, to retrieve the thumbnail image or image information, please use the GetImageFileTypeFromRawData method. The ImageKit.NET supports Exif version 2.1
Note: Because standard .NET Framework does not support the following image formats, the ImageKit.NET2 Plugin (Win32 Dll files) are required when using JPEG2000 and FPX formats.