ImageEn, unit iexBitmaps

TIEICC.SaveToFile

TIEICC.SaveToFile


Declaration

procedure SaveToFile(const FileName: string);


Description

Save a color profile to a file. The filename should have an .icc or .icm extension.

Examples


// Save the color profile that is embedded in the image
if ierICC in ImageEnView1.IO.Params.ContainsInfo() then
  ImageEnView1.IO.Params.InputICCProfile.SaveToFile( ChangeFileExt( Filename, '.icc' ))
else
  ShowMessage( 'Image has no color profile' );