LoadArray method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short LoadArray (ILEADRaster *pRaster, ILEADRasterVariant * vMem, short iBitsPerPixel, long lPage, long lPages, long lSize);

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 save an image to a file in memory, refer to the SaveArray method.

Note: You cannot save a multipage file using the SaveArray method, but if you get a multipage file into memory in some other way, you can use the LoadArray method to load a specific page from the file.

See Also

Elements:

LoadMemory method, SaveArray method, SaveMemory method

Topics:

Raster Images: Loading Files