Load method (ILEADRasterIO)
short Load (ILEADRaster *pRaster, BSTR pszName, short iBitsPerPixel, long lPage, long lPages); | |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
Loads one or more images from a file into the ILEADRaster object. The file can be in any supported image file format and bits per pixel, whether compressed or uncompressed.
When loading an image from a file, LEADTOOLS normally determines the file format from the header. If the format is unrecognized, or there is no header, an error is returned. Raw Fax files do not have headers, therefore a LoadInfo event must be sent when loading raw Fax files.
For supported formats, refer to Summary of All Supported Image File Formats.
To load an image from a specific location within a file, use the following method:
Support for 12 and 16-bit grayscale images are available only in the Document/Medical toolkits.
For a list of available products, refer to Summary of LEADTOOLS Products.
See Also