This method loads DIB image data from raw data.

[Visual Basic]
Public Function LoadImageFromRawData(Val As LoadFileType) As Image
[C#]
public Image LoadImageFromRawData(LoadFileType Val) ;

Parameters

Val
     The format of the image to be loaded
     This value is of type LoadFileType

Return Value

Returns the loaded image if successful

Explanation

The LoadImageFromRawData method uses the raw image data set into the RawData property and converts it to DIB image data. 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 the image information in the same properties as executing the GetImageFileTypeFromRawData method.

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.

ImageKit.NET Plugin
Because standard .NET Framework does not support the following image formats, the ImageKit.NET Plugin (Dll files) are required when using JPEG2000, FPX, PCX, DXF, SVG, or SXF formats.

See Also

IkFile Class | IkFile Members

The ImageKit WPF is created by Newtone Corporation