Image.annotate

Annotates an image with text. Optionally you can include any of the following bits of information about the image by embedding the appropriate special characters:

%c comment. %d directory in which the image resides. %e extension of the image file. %f original filename of the image. %h height of image. %i filename of the image. %k number of unique colors. %l image label. %m image file format. %n number of images in a image sequence. %o output image filename. %p page number of the image. %q image depth (8 or 16). %q image depth (8 or 16). %s image scene number. %t image filename without any extension. %u a unique temporary filename. %w image width. %x x resolution of the image. %y y resolution of the image. *-------------------- Params: text = The text. xOffset = The x coordinate. yOffset = The y coordinate. gravity = Placement gravity. degrees = The angle of the Text.

  1. void annotate(string text, size_t xOffset, size_t yOffset, GravityType gravity = GravityType.NorthWestGravity, double degrees = 0.0)
    class Image
    void
    annotate
    ()
  2. void annotate(string text, Geometry boundingArea = Geometry.init, GravityType gravity = GravityType.NorthWestGravity, double degrees = 0.0)

Meta