"Fossies" - the Fresh Open Source Software Archive

Member "MagickStudio-1.9.6/Transform.html" (14 Feb 2021, 4503 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>Image Transforms</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 have your choice of these image enhancements:</p>
   16 <dl>
   17 <dd>
   18 <dl>
   19 <dt><b>affine</b></dt>
   20 <dd>affine transform image. The parameter has this format: 
   21 <pre>
   22     <i>sx, rx, ry, sy, tx, ty</i>
   23 </pre></dd><br />
   24 <dt><b>Crop</b></dt>
   25 <dd>preferred size and location of the cropped image. The parameter
   26 has this format: 
   27 <pre>
   28     <i>&lt;width&gt;x&lt;height&gt;{+-}&lt;x offset&gt;{+-}&lt;y offset&gt;{%}</i>
   29 </pre>
   30 <p>For example, <tt>100x200+20+10</tt>.</p>
   31 <p>To specify a percentage width or height instead, append
   32 <b>%</b>. For example to crop the image by ten percent on all sides
   33 of the image, use <b>10%</b>.</p>
   34 <p>Use cropping to apply image processing options to, or display, a
   35 particular area of an image. Omit the x and y offset to generate
   36 one or more subimages of a uniform size.</p></dd><br />
   37 <dt><b>Chop</b></dt>
   38 <dd>preferred size and location of the chopped image. See
   39 <b>crop</b> for the parameter requirements. Use this transform to
   40 remove a section of the image from it's interior. If you remove
   41 from the exterior of the image, <b>chop</b> behaves like
   42 <b>crop</b>.</dd><br />
   43 <dt><b>Coalesce</b></dt>
   44 <dd>merge a sequence of images. Requires an image sequence.</dd><br />
   45 <dt><b>Deconstruct</b></dt>
   46 <dd>break down an image sequence into constituent parts. Requires
   47 an image sequence.</dd><br />
   48 <dt><b>Deskew</b></dt>
   49 <dd>straighten an image. The parameter is the threshold (e.g. 40%).</dd><br />
   50 <dt><b>Flip</b></dt>
   51 <dd>create a <em>mirror image</em> by reflecting the image
   52 scanlines in the vertical direction.</dd><br />
   53 <dt><b>Flop</b></dt>
   54 <dd>create a <em>mirror image</em> by reflecting the image
   55 scanlines in the horizontal direction.</dd><br />
   56 <dt><b>Layers</b></dt>
   57 <dd>Optimize, merge, or compare image layers.  Requires an image sequence.</dd><br />
   58 <dt><b>Rotate right</b></dt>
   59 <dd>rotate the image right 90 degrees.</dd><br />
   60 <dt><b>Rotate left</b></dt>
   61 <dd>rotate the image right -90 degrees.</dd><br />
   62 <dt><b>Rotate</b></dt>
   63 <dd>apply Paeth image rotation to the image. The parameter has this
   64 format: 
   65 <pre>
   66     <i>degrees{&lt;}{&gt;}</i>
   67 </pre>
   68 <p>Use <tt>&gt;</tt> to rotate the image only if its width exceeds
   69 the height. <tt>&lt;</tt> rotates the image <i>only</i> if its
   70 width is less than the height. For example, if you specify
   71 <tt>-90&gt;</tt> and the image size is 480x640, the image is not
   72 rotated by the specified angle. However, if the image is 640x480,
   73 it is rotated by -90 degrees.</p></dd><br />
   74 <dt><b>Shave</b></dt>
   75 <dd>shave pixels from the image edges. The parameter has this
   76 format: 
   77 <pre>
   78     &lt;width&gt;x&lt;height&gt;
   79 </pre></dd><br />
   80 <dt><b>Shear</b></dt>
   81 <dd>shear the image along the X or Y axis by a positive or negative
   82 shear angle. The parameter has this format: 
   83 <pre>
   84     &lt;x degrees&gt;x&lt;y degrees&gt;
   85 </pre>
   86 <p>Shearing slides one edge of an image along the X or Y axis,
   87 creating a parallelogram. An X direction shear slides an edge along
   88 the X axis, while a Y direction shear slides an edge along the Y
   89 axis. The amount of the shear is controlled by a shear angle. For X
   90 direction shears, <i>x degrees</i> is measured relative to the Y
   91 axis, and similarly, for Y direction shears <i>y degrees</i> is
   92 measured relative to the X axis.</p></dd><br />
   93 <dt><b>Roll</b></dt>
   94 <dd>roll an image vertically or horizontally. The parameter has
   95 this format: 
   96 <pre>
   97     {+-}&lt;x offset&gt;{+-}&lt;y offset&gt;
   98 </pre>
   99 <p>A negative <i>x offset</i> rolls the image left-to-right. A
  100 negative <i>y offset</i> rolls the image top-to-bottom.</p></dd><br />
  101 <dt><b>Trim</b></dt>
  102 <dd>remove edges that are the background color.</dd><br />
  103 <dt><b>Unique Colors</b></dt>
  104 <dd>discard all but one of any pixel color.</dd><br />
  105 </dl></dd><br /></dl>
  106 <hr />
  107 <p>
  108 <a href="scripts/MagickStudio.cgi/?Action=mogrify&amp;ToolType=Comment&amp;SessionID=null&amp;Path=null"
  109    target="Comment"><img alt="[comment]" src="images/mail.png"
  110    border="0" /></a></p>
  111 </body>
  112 </html>