ReadLoadResolutions method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ReadLoadResolutions (System::AnsiString sFile);

Delphi Syntax

ReadLoadResolutions (sFile:String): Integer;

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:

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

Topics:

Raster Images: Loading Files

 

Raster Images: Getting and Setting File Information