ICCAddProfileToFile Method

See Also     Examples     Applies To

Adds / replaces an ICC profile from file to a TIFF image file.

Syntax

object.ICCAddProfileToFile (sImagePath, sProfilePath)

The ICCAddProfileToFile syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sImagePath Required. String. The path of the TIFF image.
sProfilePath Required. String. the path of the ICM color profil to add to the image.

Returns

Long. GdPictureStatus

Remarks

WARNING: You need to redistribute the optional gdimgplug.dll library in order to be able to use this function.

Category

ICC Profile & Color Remap Functions

Visual Basic Sample

Apply specific ICC profile to a TIFF image & decode it.


Call Object.ICCAddProfileToFile("myimage.tif", "profile.icc")
Object.CreateImageFromFileICM ("myimage.tif")






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.