"Fossies" - the Fresh Open Source Software Archive

Member "MagickStudio-1.9.6/Annotate.html" (14 Feb 2021, 2976 Bytes) of package /linux/www/MagickStudio-1.9.6.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3 <html xmlns="http://www.w3.org/1999/xhtml">
    4 <head>
    5 <meta content="HTML Tidy for Linux/x86 (vers 1st March 2003), see www.w3.org"
    6       name="generator" />
    7 <title>Annotate Image</title>
    8 <link rel="StyleSheet" href="style/magick.css" type="text/css" />
    9 </head>
   10 <body bgcolor="#FFFFFF" text="#000000" link="#0085C0"
   11 vlink="#800080" alink="#0085C0">
   12 <center><img src="images/magick.png" align="bottom" width="114"
   13 height="113" /></center>
   14 <hr />
   15 <p>You can annotate your image with text. Optionally you can
   16 include the image filename, type, width, height, or other image
   17 attribute by embedding special format characters:</p>
   18 <pre>
   19     %b   file size
   20     %d   directory
   21     %e   filename extention
   22     %f   filename
   23     %h   height
   24     %m   magick
   25     %p   page number
   26     %s   scene number
   27     %t   top of filename
   28     %w   width
   29     %x   x resolution
   30     %y   y resolution
   31     \n   newline
   32     \r   carriage return
   33 </pre>
   34 <p>For example,</p>
   35 <pre>
   36   "%m:%f %wx%h"
   37 </pre>
   38 <dl>
   39 <dd>produces an image annotation of <b>MIFF:bird.miff 512x480</b>
   40 for an image titled <b>bird.miff</b> and whose width is 512 and
   41 height is 480.</dd><br /></dl>
   42 <p>To generate a Unicode character (<i>TrueType fonts only</i>),
   43 embed the code as an escaped hex string (e.g.
   44 <tt>\\0x30a3</tt>).</p>
   45 <p>The location is the offset from the upper left hand corner of
   46 the image. The (x,y) offset of the location is conveniently
   47 specified as one value. For example if your text is located 30
   48 pixels along the horizontal and 40 pixels along the vertical,
   49 use:</p>
   50 <pre>
   51     +30+40
   52 </pre>
   53 <p>From this starting point the final text location is determined
   54 from the gravity attribute: NorthWest, North, NorthEast, West,
   55 Center, East, SouthWest, South, and SouthEast. Center, for example,
   56 places text in the center of the image relative to the (x,y)
   57 offset. The text lines are centered in both the vertical and
   58 horizontal directions. The default gravity is NorthWest. Here is
   59 text begins, left to right, at the specified (x,y) offset.</p>
   60 <p>Other attributes you can set are which color the text appears,
   61 the color of the text bounding color, the text font, its size, and
   62 what angle to display the text. The color is specified by its name
   63 (e.g. red, white, blue) or a hex value (e.g. #c0d1bf).
   64 <b>MagickStudio</b> contacts your X server for any fonts it needs.
   65 You may may need to permit the remote server access otherwise
   66 Postscript fonts are used. In most cases, X font rendering is much
   67 faster than with Postscript. The point size gives the height of the
   68 text when rendered with Postscript fonts. Finally, the angle of the
   69 text is specified in degrees, 0 to 360.</p>
   70 <hr />
   71 <p>
   72 <a href="scripts/MagickStudio.cgi/?Action=mogrify&amp;ToolType=Comment&amp;SessionID=null&amp;Path=null"
   73    target="Comment"><img alt="[comment]" src="images/mail.png"
   74    border="0" /></a></p>
   75 </body>
   76 </html>