ImageMagick: MagickCore, C API for ImageMagick: Dealing with Image Profiles
Author: ImageMagick Studio LLC
Description: ImageMagick (TM) is a free software suite to create, edit and compose bitmap images. It can read, convert and write images in a large variety of formats. Images can be cropped, colors can be changed, various effects can be applied, images can be rotated and combined, and text, lines, polygons, ellipses and Bézier curves can be added to images and stretched and rotated. ImageMagick is free software: it is delivered with full source code and can be freely used, copied, modified and distributed. Its license is compatible with the GPL. It runs on all major operating systems. Most of the functionality of ImageMagick can be used interactively from the command line; more often, however, the features are used from programs written in the programming languages Perl, C, C++, Python, PHP, Ruby or Java, for which ready-made ImageMagick interfaces (PerlMagick, Magick++, PythonMagick, MagickWand for PHP, RubyMagick, and JMagick) are available. This makes it possible to modify or create images automa [cell cut: 1159 characters, first 1000 kept]
Keywords: magickcore, c, api, for, imagemagick:, dealing, with, image, profiles, ImageMagick, PerlMagick, Magick++, Image, Magick

## CloneImageProfiles CloneImageProfiles() clones one or more image profiles. The format of the CloneImageProfiles method is:
      MagickBooleanType CloneImageProfiles(Image *image,
        const Image *clone_image)
A description of each parameter follows: #### image The image. #### clone_image The clone image. ## DestroyImageProfiles DestroyImageProfiles() releases memory associated with an image profile map. The format of the DestroyProfiles method is:
      void DestroyImageProfiles(Image *image)
A description of each parameter follows: #### image The image. ## GetImageProfile GetImageProfile() gets a profile associated with an image by name. The format of the GetImageProfile method is:
      const StringInfo *GetImageProfile(const Image *image,const char *name)
A description of each parameter follows: #### image The image. #### name The profile name. ## GetNextImageProfile GetNextImageProfile() gets the next profile name for an image. The format of the GetNextImageProfile method is:
      char *GetNextImageProfile(const Image *image)
A description of each parameter follows: #### hash_info The hash info. ## ProfileImage ProfileImage() adds or removes a ICC, IPTC, or generic profile from an image. If the profile is NULL, it is removed from the image otherwise added. Use a name of '*' and a profile of NULL to remove all profiles from the image. The format of the ProfileImage method is:
      MagickBooleanType ProfileImage(Image *image,const char *name,
        const void *datum,const size_t length,const MagickBooleanType clone)
A description of each parameter follows: #### image The image. #### name Name of profile to add or remove: ICC, IPTC, or generic profile. #### datum The profile data. #### length The length of the profile. #### clone should be MagickFalse. ## RemoveImageProfile RemoveImageProfile() removes a profile from the image-map by its name. The format of the RemoveImageProfile method is:
      MagickBooleanTyupe RemoveImageProfile(Image *image,const char *name)
A description of each parameter follows: #### image The image. #### name The profile name. ## ResetImageProfileIterator ResetImageProfileIterator() resets the image profile iterator. Use it in conjunction with GetNextImageProfile() to iterate over all the profiles associated with an image. The format of the ResetImageProfileIterator method is:
      ResetImageProfileIterator(Image *image)
A description of each parameter follows: #### image The image. ## SetImageProfile SetImageProfile() adds a named profile to the image. If a profile with the same name already exists, it is replaced. This method differs from the ProfileImage() method in that it does not apply CMS color profiles. The format of the SetImageProfile method is:
      MagickBooleanType SetImageProfile(Image *image,const char *name,
        const StringInfo *profile)
A description of each parameter follows: #### image The image. #### name The profile name. #### profile A StringInfo structure that contains the named profile. |

Discourse Server • Mailing Lists • Image Gallery • ImageMagick Studio
© 1999-2006 ImageMagick Studio LLC