ImageMagick: MagickCore, C API for ImageMagick: Set Text Attributes
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:, set, text, attributes, ImageMagick, PerlMagick, Magick++, Image, Magick

## CloneImageAttributes CloneImageAttributes() clones one or more image attributes. The format of the CloneImageAttributes method is:
      MagickBooleanType CloneImageAttributes(Image *image,
        const Image *clone_image)
A description of each parameter follows: #### image The image. #### clone_image The clone image. ## DeleteImageAttribute DeleteImageAttribute() deletes an attribute from the image. The format of the DeleteImageAttribute method is:
      MagickBooleanType DeleteImageAttribute(Image *image,const char *key)
A description of each parameter follows: #### image The image info. #### key The image key. ## DestroyImageAttributes DestroyImageAttributes() deallocates memory associated with the image attribute list. The format of the DestroyImageAttributes method is:
      DestroyImageAttributes(Image *image)
A description of each parameter follows: #### image The image. ## FormatImageAttribute FormatImageAttribute() permits formatted key/value pairs to be saved as an image attribute. The format of the FormatImageAttribute method is:
      MagickBooleanType FormatImageAttribute(Image *image,const char *key,
        const char *format,...)
A description of each parameter follows. #### image The image. #### key The attribute key. #### format A string describing the format to use to write the remaining arguments. ## GetImageAttribute GetImageAttribute() searches the list of image attributes and returns a pointer to the attribute if it exists otherwise NULL. The format of the GetImageAttribute method is:
      const ImageAttribute *GetImageAttribute(const Image *image,
        const char *key)
A description of each parameter follows: #### image The image. #### key These character strings are the name of an image attribute to return. ## GetImageClippingPathAttribute GetImageClippingPathAttribute() searches the list of image attributes and returns a pointer to a clipping path if it exists otherwise NULL. The format of the GetImageClippingPathAttribute method is:
      const ImageAttribute *GetImageClippingPathAttribute(Image *image)
A description of each parameter follows: #### attribute Method GetImageClippingPathAttribute returns the clipping path if it exists otherwise NULL. #### image The image. ## GetNextImageAttribute GetNextImageAttribute() gets the next image attribute. The format of the GetNextImageAttribute method is:
      const ImageAttribute *GetNextImageAttribute(const Image *image)
A description of each parameter follows: #### image The image. ## InterpretImageAttributes InterpretImageAttributes() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text. The format of the InterpretImageAttributes method is:
      char *InterpretImageAttributes(const ImageInfo *image_info,Image *image,
        const char *embed_text)
A description of each parameter follows: #### image_info The image info. #### image The image. #### embed_text The address of a character string containing the embedded formatting characters. ## ResetImageAttributeIterator ResetImageAttributeIterator() resets the image attributes iterator. Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image. The format of the ResetImageAttributeIterator method is:
      ResetImageAttributeIterator(const ImageInfo *image)
A description of each parameter follows: #### image The image. ## SetImageAttribute SetImageAttribute() searches the list of image attributes and replaces the attribute value. If it is not found in the list, the attribute name and value is added to the list. The format of the SetImageAttribute method is:
       MagickBooleanType SetImageAttribute(Image *image,const char *key,
         const char *value)
A description of each parameter follows: #### image The image. #### key The key. #### value The value. ## TracePSClipPath TracePSClipPath() traces a clip path and returns it as Postscript. The format of the TracePSClipPath method is:
      char *TracePSClipPath(unsigned char *blob,size_t length,
        const unsigned long columns,const unsigned long rows)
A description of each parameter follows: #### blob The blob. #### length The length of the blob. #### columns The image width. #### rows The image height. ## TraceSVGClipPath TraceSVGClipPath() traces a clip path and returns it as SVG. The format of the TraceSVGClipPath method is:
      char *TraceSVGClipPath(unsigned char *blob,size_t length,
        const unsigned long columns,const unsigned long rows)
A description of each parameter follows: #### blob The blob. #### length The length of the blob. #### columns The image width. #### rows The image height. |

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