>K [ 1 U 4 ImageMagick AnnotateInfo StructureV


0ImageMagick AnnotateInfo Structure

FThe AnnotateInfo structure is used to support annotating an image withtext.
 5- P2M;Q5E"
Methods Using AnnotateInfo

Method

#
Description

GetAnnotateInfo()Allocate new structure with defaults set.
CloneAnnotateInfo()Copy existing structure, allocating new structure.
DestroyAnnotateInfo()Deallocate structure, including any members.
AnnotateImage()Annotate image with text.
G

The public members of AnnotateInfo are shown in the following table.3The structure is initialized to reasonable defaults[
by first initializing the equivalent members of ImageInfo,rand then initializing the structure using GetAnnotateInfo().
 5>  8HF3%P33) 4@;-3K
 AnnotateInfo Structure Members

Member


Type

#
Description

affineAffineInfoCoordinate transformation (rotation, scaling, and translation).
antialiasunsigned intSet to True (non-zero) to obtain anti-aliased text rendering.
boxPixelPacketText solid background color.
decorateDecorationTypeText decoration type.
densitychar *Text rendering density in DPI (effects scaling font according to pointsize).E.g. "72x72"
fillPixelPacketText internal fill (within outline) color.
fontchar *Font to use when rendering text.
geometrychar *Text placement coordinate (e.g. "340x230").
gravityGravityTypeText placement preference (e.g. NorthWestGravity).
pointsizedoubleFont size (also see density).
strokePixelPacketText outline color.
textchar *Text to draw. Optionally the annotation can include the image filename,Qtype, width, height, or scene number by embedding special format characters.





Home Page9Image manipulation software that works like magic.