ReadLoadResolutions method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short ReadLoadResolutions (BSTR pszFile);

Overview

Refer to Implementing PhotoCD and FlashPix Features.

Remarks

Examines a FlashPix, PhotoCD, or JBIG file to determine which resolutions it contains.

A FlashPix, PhotoCD, or JBIG file can contain more than one copy of the same image, each at a different physical resolution (width and height in pixels). For PhotoCD files, the resolutions are fixed sizes, and you can use an older property (the InfoPCDRes property) to examine them. For FlashPix and JBIG files, which can contain images of various sizes, you must use this method to examine them.

This method updates an array of the available dimensions, which you can examine with the following properties:

image\sqrblit.gif LoadResolutionCount property

image\sqrblit.gif LoadResolutionHeight property

image\sqrblit.gif LoadResolutionWidth property

To specify which physical resolution to load, use the SetLoadResolution method.

See Also

Elements

ColorSpace property, LoadResolutionCount property, LoadResolutionHeight property, LoadResolutionWidth property, PCDRes property, SetLoadResolution method, GetLoadResolution method, SaveResolutionCount property, SaveResolutionHeight property, SaveResolutionWidth property

Topics

Raster Images: Loading Files

 

Raster Images: Getting and Setting File Information