DisplayFromFileICM Method

See Also     Examples     Applies To

Displays an image from an image file path using embedded color management (ICM).
The displayed Image applies color correction according to color management information that is embedded in the image file. Embedded information can include International Color Consortium (ICC) profiles, gamma values, and chromaticity information.

Syntax

object.DisplayFromFileICM (sFilePath)

The DisplayFromFileICM syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sFilePath Required. String. If this parameter is empty, prompts the user to select a file.

Returns

Long. GdPictureStatus

Remarks

The GdPictureStatus constants are defined HERE
Supported image formats are BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, RPPM, RPGM, RPBM, PCX.
Redistributing the optional gdimgplug.dll library you will also be able to read XPM, XBM, WBMP, TGA, SGI, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.