Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic  


Sets the ICC color profile.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 2.0 Yes Yes Yes Yes Yes
MBS( "GMImage.SetICCColorProfile"; ImageRef; data )   More


Parameter Description Example
ImageRef The image reference number. 1
data a Container field value with an embedded file containing the profile.


Returns "OK" on success.


Sets the ICC color profile.
Supplied via a Blob since GraphicsMagick do not currently support formatting this data structure directly.
If there is not already an ICC color profile, the profile is merely attached to the image without transforming the pixels. If there is already an ICC color profile (the source profile), the pixels are translated according to the source and target profiles, and the existing profile is replaced with the target profile.
Also see GMImage.SetRenderingIntent, which allows specifying the rendering intent if the profile is executed.
Specifications for ICC color profiles and their usage are available from the International Color Consortium for the format of ICC color profiles.


Removes an existing profile:

MBS("GMImage.SetICCColorProfile"; $Image; "")

Assigns new profile from container:

MBS("GMImage.SetICCColorProfile"; $Image; MyTable::ProfileContainer);

See also

Example Databases

Blog Entries

Release notes

Created 18th August 2014, last changed 10th October 2017

GMImage.SetGifDisposeMethod   -   GMImage.SetIPTCProfile

Feedback: Report problem or ask question.

MBS FileMaker Plugins