![]() |
![]() |
![]() |
|
[
About ImageMagick
Command-line Tools
Program Interfaces
] [ Install from Source Binary Releases Resources ] [ Downloads ] [ Links ] [ Sponsors IT and Programming Resources ] |
ClearMagickWand() clears resources associated with the wand. The format of the ClearMagickWand method is: void ClearMagickWand(MagickWand *wand) A description of each parameter follows: wandThe magick wand. CloneMagickWand() makes an exact copy of the specified wand. The format of the CloneMagickWand method is: MagickWand *CloneMagickWand(const MagickWand *wand) A description of each parameter follows: wandThe magick wand. DestroyMagickWand() deallocates memory associated with an MagickWand. The format of the DestroyMagickWand method is: MagickWand *DestroyMagickWand(MagickWand *wand) A description of each parameter follows: wandThe magick wand. IsMagickWand() returns MagickTrue if the wand is verified as a magick wand. The format of the IsMagickWand method is: MagickBooleanType IsMagickWand(const MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickQueryConfigureOption() returns the value associated with the specified configure option. The format of the MagickQueryConfigureOption function is: char *MagickQueryConfigureOption(const char *option) A description of each parameter follows: optionThe option name. MagickQueryConfigureOptions() returns any configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc. The format of the MagickQueryConfigureOptions function is:
char **MagickQueryConfigureOptions(const char *pattern,
unsigned long *number_options)
A description of each parameter follows: patternSpecifies a pointer to a text string containing a pattern. number_optionsReturns the number of configure options in the list. MagickQueryFontMetrics() returns a 7 element array representing the following font metrics:
Element Description
-------------------------------------------------
0 character width
1 character height
2 ascender
3 descender
4 text width
5 text height
6 maximum horizontal advance
The format of the MagickQueryFontMetrics method is:
double *MagickQueryFontMetrics(MagickWand *wand,
const DrawingWand *drawing_wand,const char *text)
A description of each parameter follows: wandThe Magick wand. drawing_wandThe drawing wand. textThe text. MagickQueryMultilineFontMetrics() returns a 7 element array representing the following font metrics:
Element Description
-------------------------------------------------
0 character width
1 character height
2 ascender
3 descender
4 text width
5 text height
6 maximum horizontal advance
This method is like MagickQueryFontMetrics() but it returns the maximum text width and height for multiple lines of text. The format of the MagickQueryFontMetrics method is:
double *MagickQueryMultilineFontMetrics(MagickWand *wand,
const DrawingWand *drawing_wand,const char *text)
A description of each parameter follows: wandThe Magick wand. drawing_wandThe drawing wand. textThe text. MagickQueryFonts() returns any font that match the specified pattern (e.g. "*" for all). The format of the MagickQueryFonts function is: char **MagickQueryFonts(const char *pattern,unsigned long *number_fonts) A description of each parameter follows: patternSpecifies a pointer to a text string containing a pattern. number_fontsReturns the number of fonts in the list. MagickQueryFonts() returns any image formats that match the specified pattern (e.g. "*" for all). The format of the MagickQueryFonts function is:
char **MagickQueryFonts(const char *pattern,
unsigned long *number_formats)
A description of each parameter follows: patternSpecifies a pointer to a text string containing a pattern. number_formatsThis integer returns the number of image formats in the list. MagickRelinquishMemory() relinquishes memory resources returned by such methods as MagickIdentifyImage(), MagickGetException(), etc. The format of the MagickRelinquishMemory method is: void *MagickRelinquishMemory(void *resource) A description of each parameter follows: resourceRelinquish the memory associated with this resource. MagickResetIterator() resets the wand iterator. Use it in conjunction with MagickNextImage() to iterate over all the images in a wand container. The format of the MagickResetIterator method is: void MagickResetIterator(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickSetFirstIterator() sets the wand iterator to the first image. The format of the MagickSetFirstIterator method is: void MagickSetFirstIterator(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickSetLastIterator() sets the wand iterator to the last image. The format of the MagickSetLastIterator method is: void MagickSetLastIterator(MagickWand *wand) A description of each parameter follows: wandThe magick wand. NewMagickWand() returns a wand required for all other methods in the API. The format of the NewMagickWand method is: MagickWand NewMagickWand(void) NewMagickWandWithImage() returns a wand with an image. The format of the NewMagickWandWithImage method is: MagickWand NewMagickWandWithImage(const Image *image) A description of each parameter follows: imageThe image. |