[
About ImageMagick
Command-line Tools
Processing
Options
Program Interfaces
MagickWand
MagickCore
PerlMagick
Architecture
] [ Install from Source Unix Windows Binary Releases Unix Windows Resources ] [ Download ] [ Links ] [ Sponsors Stock Photography ] |
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: imageThe image. clone_imageThe clone image. 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: imageThe image info. keyThe image key. 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: imageThe image. 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. imageThe image. keyThe attribute key. formatA string describing the format to use to write the remaining arguments. 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: imageThe image. keyThese character strings are the name of an image attribute to return. 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: attributeMethod GetImageClippingPathAttribute returns the clipping path if it exists otherwise NULL. imageThe image. 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: imageThe image. 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_infoThe image info. imageThe image. embed_textThe address of a character string containing the embedded formatting characters. 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: imageThe image. 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: imageThe image. keyThe key. valueThe value. 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: blobThe blob. lengthThe length of the blob. columnsThe image width. rowsThe image height. 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: blobThe blob. lengthThe length of the blob. columnsThe image width. rowsThe image height. |