Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

GMImage.Setprofile

Add or remove a named profile to/from the image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 2.0 Yes Yes Yes Yes Yes

MBS( "GMImage.Setprofile"; ImageRef; name; data )

Parameters

Parameter Description Example value
ImageRef The image reference number. 1
name The string with the name of the profile. "IPTC"
data The container field value with the embedded profile file.

Result

Returns "OK" on success.

Description

Add or remove a named profile to/from the image.
Remove the profile by passing an empty container field. Valid names are "*", "8BIM", "ICM", "IPTC", or a user/format-defined profile name.

Examples

Remove XMP:

Set Variable [$Result; Value:MBS( "GMImage.Setprofile"; $imageRef; "XMP"; "" )]

Remove IPTC:

Set Variable [$Result; Value:MBS( "GMImage.Setprofile"; $imageRef; "IPTC"; "" )]

Remove EXIF:

Set Variable [$Result; Value:MBS( "GMImage.Setprofile"; $imageRef; "EXIF"; "" )]

See also

Example Databases


GMImage.SetiptcProfile   -   GMImage.Shade

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins