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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.SetICCColorProfile
Sets the ICC color profile.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 2.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| data | a Container field value with an embedded file containing the profile. |
Result
Returns "OK" on success.
Description
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.
Examples
Removes an existing profile:
MBS("GMImage.SetICCColorProfile"; $Image; "")
Assigns new profile from container:
MBS("GMImage.SetICCColorProfile"; $Image; MyTable::ProfileContainer);
See also
- GMImage.GetICCColorProfile
- GMImage.SetIPTCProfile
- GMImage.SetRenderingIntent
- GMImage.WriteToPNGContainer
Example Databases
Blog Entries
Release notes
- Version 8.4
- Fixed crash with GMImage.SetIPTCProfile, GMImage.SetICCColorProfile and GMImage.SetProfile if called with empty parameter.
Created 18th August 2014, last changed 10th October 2017
GMImage.SetGifDisposeMethod - GMImage.SetIPTCProfile
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins