You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Mapping & Color Profiles Management > ICCAddProfileToFile Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.ICCAddProfileToFile Method

Adds / replaces an ICC profile from file to a TIFF, JPEG or PNG image file.

C#
public GdPictureStatus ICCAddProfileToFile(
    String ImagePath, 
    String ProfilePath
);
Visual Basic
Public Function ICCAddProfileToFile(
    ByVal ImagePath As String, 
    ByVal ProfilePath As String
) As GdPictureStatus
Parameters
Parameters 
Description 
ImagePath 
The path of the TIFF, JPEG or PNG image.  
ProfilePath 
the path of the ICM color profil to add to the image.  
Returns

A member of the GdPictureStatus enumeration.

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

oGdPictureImaging.ICCAddProfileToFile("myimage.tif", "profile.icc")
Dim ImageID as Integer = oGdPictureImaging.CreateGdPictureImageFromFileICM ("myimage.tif")
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.