LoadMemory method (ILEADRasterIO)
short LoadMemory (ILEADRaster *pRaster, long hMem, short iBitsPerPixel, long lPage, long lPages, long iSize); | |
Overview |
Refer to Using Memory-Resident Image Files. |
Remarks
Loads an image from a file that is stored in memory. The file can be in any supported image file format and bits per pixel, whether compressed or uncompressed.
For supported formats, refer to Summary of All Supported Image File Formats.
Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.
For a list of available products, refer to Summary of LEADTOOLS Products.
To get information about a file stored in memory, refer to the GetMemoryInfo method. To save an image to a file in memory, refer to the SaveMemory method.
Note: You cannot save a multipage file using the SaveMemory method, but if you get a multipage file into memory in some other way, you can use the LoadMemory method to load a specific page from the file.
See Also