All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.Setprofile

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

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

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 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.

Feedback: Report problem or ask question.