<p>The Blob class supports value assignment while preserving any outstanding earlier versions of the object. Since assignment is via a pointer internally, Blob is efficient enough to be stored directly in an STL container or any other data structure which requires assignment. In particular, by storing a Blob in an <a href="http://www.sgi.com/tech/stl/AssociativeContainer.html">associative container</a> (such as STL's '<a href="http://www.sgi.com/tech/stl/Map.html"><i>map</i></a>') it is possible to create simple indexed in-memory "database" of Blobs.</p>
<p>Magick++ currently uses Blob to contain encoded images (e.g. JPEG) as well as ICC and IPTC profiles. Since Blob is a general-purpose class, it may be used for other purposes as well.</p>
<p style="margin-bottom: 0cm">The methods Blob provides are shown in the following table:</p>
-<br>
-<ul><p align="center" style="margin-bottom: 0cm"><b>Blob Methods</b></p>
+<br />
+<p align="center" style="margin-bottom: 0cm"><b>Blob Methods</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<td>
<td>
<p><font size="2">void* data_, size_t length_, Blob::Allocator allocator_ = Blob::NewAllocator</font></p></td>
<td>
-<p><font size="2">Update object contents, using supplied pointer directly (no copy) Any existing data in the object is deallocated. The user must ensure that the pointer supplied is not deleted or otherwise modified after it has been supplied to this method. The optional allocator_ parameter allows the user to specify if the C (MallocAllocator) or C++ (NewAllocator) memory allocation system was used to allocate the memory. The default is to use the C++ memory allocator.</font></p></td></tr></table></ul>
+<p><font size="2">Update object contents, using supplied pointer directly (no copy) Any existing data in the object is deallocated. The user must ensure that the pointer supplied is not deleted or otherwise modified after it has been supplied to this method. The optional allocator_ parameter allows the user to specify if the C (MallocAllocator) or C++ (NewAllocator) memory allocation system was used to allocate the memory. The default is to use the C++ memory allocator.</font></p></td></tr></table>
</div>
</body>
</html>
cout << endl;
</pre>
<p style="margin-bottom: 0cm">The methods available in the <i>CoderInfo</i> class are shown in the following table:</p>
-<br>
+<br />
<ul><p align="center" style="margin-bottom: 0cm"><b>CoderInfo Methods</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<p align="center" style="margin-bottom: 0cm"><b>Effect Of QuantumDepth Values</b></p>
<center>
<table width="361" border="1" cellpadding="2" cellspacing="3">
-<col width="102">
-<col width="121">
-<col width="111">
+<col width="102" />
+<col width="121" />
+<col width="111" />
<tr>
<td width="102">
<p align="center"><b>QuantumDepth</b></p></td>
<p align="center">unsigned short</p></td>
<td width="111">
<p align="center">64 bits</p></td></tr>
+<tr>
<td width="102">
<p align="center">32</p></td>
<td width="121">
Quantum green_,
Quantum blue_,
Quantum alpha_ );
- Color ( const std::string &svgColor_ );
+ Color ( const std::string &svgColor_ );
Color ( const char * svgColor_ );
Color ( void );
virtual ~Color ( void );
- Color ( const Color & color_ );
+ Color ( const Color & color_ );
// Red color (range 0 to MaxRGB)
void redQuantum ( Quantum red_ );
bool isValid ( void ) const;
// Set color via SVG color specification string
- const Color& operator= ( const std::string &svgColor_ );
- const Color& operator= ( const char * svgColor_ );
+ const Color& operator= ( const std::string & svgColor_ );
+ const Color& operator= ( const char * svgColor_ );
// Assignment operator
- Color& operator= ( const Color& color_ );
+ Color& operator= ( const Color& color_ );
// Return SVG color specification string
/* virtual */ operator std::string() const;
operator PixelPacket() const;
// Construct color via ImageMagick PixelPacket
- Color ( const PixelPacket &color_ );
+ Color ( const PixelPacket &color_ );
// Set color via ImageMagick PixelPacket
- const Color& operator= ( PixelPacket &color_ );
+ const Color& operator= ( PixelPacket &color_ );
};
</div>
<p align="center" style="margin-bottom: 0cm"><b>Color Derived Classes</b></p>
-<ul>
<table width="90%" border="1" cellpadding="2" cellspacing="3">
-<col width="29*">
-<col width="227*">
+<col width="29*" />
+<col width="227*" />
<tr>
<td width="12%">
<p><a href="Color.html#ColorRGB">ColorRGB</a></p></td>
<td width="12%">
<p><a href="Color.html#ColorYUV">ColorYUV</a></p></td>
<td width="88%">
-<p>Representation of a color in the YUV <span lang="en-US">colorspace</span></p></td></tr></table></ul>
+<p>Representation of a color in the YUV <span lang="en-US">colorspace</span></p></td></tr></table>
<h3><a name="ColorRGB"></a>ColorRGB</h3>
<p>Representation of an sRGB color. All color arguments have a valid range of 0.0 - 1.0.</p>
<pre class="code">
public:
ColorRGB ( double red_, double green_, double blue_ );
ColorRGB ( void );
- ColorRGB ( const Color & color_ );
+ ColorRGB ( const Color & color_ );
/* virtual */ ~ColorRGB ( void );
void red ( double red_ );
double blue ( void ) const;
// Assignment operator from base class
- ColorRGB& operator= ( const Color& color_ );
+ ColorRGB& operator= ( const Color& color_ );
};
</pre>
<h3><a name="ColorGray"></a>ColorGray</h3>
public:
ColorGray ( double shade_ );
ColorGray ( void );
- ColorGray ( const Color & color_ );
+ ColorGray ( const Color & color_ );
/* virtual */ ~ColorGray ();
void shade ( double shade_ );
double shade ( void ) const;
// Assignment operator from base class
- ColorGray& operator= ( const Color& color_ );
+ ColorGray& operator= ( const Color& color_ );
};
</pre>
<h3><a name="ColorMono"></a>ColorMono</h3>
public:
ColorMono ( bool mono_ );
ColorMono ( void );
- ColorMono ( const Color & color_ );
+ ColorMono ( const Color & color_ );
/* virtual */ ~ColorMono ();
void mono ( bool mono_ );
bool mono ( void ) const;
// Assignment operator from base class
- ColorMono& operator= ( const Color& color_ );
+ ColorMono& operator= ( const Color& color_ );
};
</pre>
<h3><a name="ColorHSL"></a>ColorHSL</h3>
public:
ColorHSL ( double hue_, double saturation_, double luminosity_ );
ColorHSL ( void );
- ColorHSL ( const Color & color_ );
+ ColorHSL ( const Color & color_ );
/* virtual */ ~ColorHSL ( );
void hue ( double hue_ );
double luminosity ( void ) const;
// Assignment operator from base class
- ColorHSL& operator= ( const Color& color_ );
+ ColorHSL& operator= ( const Color& color_ );
};
</pre>
<h3><a name="ColorYUV"></a>ColorYUV</h3>
public:
ColorYUV ( double y_, double u_, double v_ );
ColorYUV ( void );
- ColorYUV ( const Color & color_ );
+ ColorYUV ( const Color & color_ );
/* virtual */ ~ColorYUV ( void );
void u ( double u_ );
double y ( void ) const;
// Assignment operator from base class
- ColorYUV& operator= ( const Color& color_ );
+ ColorYUV& operator= ( const Color& color_ );
};
</pre>
</div>
<link rel="stylesheet" href="magick.css" type="text/css" />
</head>
<body>
-<p class="image"><img src="Magick++.png" name="Graphic1" align="bottom" width="464" height="134" border="0"></p>
+<p class="image"><img src="Magick++.png" name="Graphic1" align="bottom" width="464" height="134" border="0" /></p>
<div class="doc-section">
<p><a href="../Magick++">Magick++</a> provides a simple C++ API to the ImageMagick image processing library which supports reading and writing a huge number of image formats as well as supporting a broad spectrum of traditional image processing operations. The ImageMagick C API is complex and the data structures are currently not documented. Magick++ provides access to most of the features available from the C API but in a simple object-oriented and well-documented framework.</p>
<p>Magick++ is intended to support commercial-grade application development. In order to avoid possible conflicts with the user's application, all symbols contained in Magick++ (included by the header <tt><font color="#663366"><Magick++.h></font></tt>) are scoped to the <span lang="en-US">namespace</span> <i>Magick</i>. Symbols from the ImageMagick C library are imported under the <i>MagickCore</i> namespace to avoid possible conflicts and ImageMagick macros are only included within the Magick++ implementation so they won't impact the user's application.</p>
<p>The image class uses a number of supportive classes in order to specify arguments. Colors are specified via the <a href="Color.html">Color</a> class. Colors specified in X11-style string form are implicitly converted to the Color class. Geometry arguments (those specifying width, height, and/or x and y offset) are specified via the <a href="Geometry.html">Geometry</a> class. Similar to the Color class, geometries specified as an X11-style string are implicitly converted to the Geometry class. Two dimensional drawable objects are specified via the <a href="Drawable.html">Drawable</a> class. Drawable objects may be provided as a single object or as a list of objects to be rendered using the current image options. Montage options (a montage is a rendered grid of thumbnails in one image) are specified via the <a href="Montage.html">Montage</a> class.</p>
<p>Errors are reported using C++ exceptions derived from the <a href="Exception.html">Exception</a> class, which is itself derived from the standard C++ exception class. Exceptions are reported synchronous with the operation and are caught by the first matching <i>try</i> block as the stack is unraveled. This allows a clean coding style in which multiple related Magick++ commands may be executed with errors handled as a unit rather than line-by-line. Since the Image object provides reference-counted memory management, unreferenced images on the stack are automagically cleaned up, avoiding the potential for memory leaks.</p>
<p style="margin-bottom: 0cm">For ease of access, the documentation for the available user-level classes is available via the following table.</p>
-<br>
-<ul><table border="1" class="docutils">
+<br />
+<table border="1" class="docutils">
<caption><em>Magick++</em> User-Level Classes</caption>
<colgroup>
<col width="18%" />
</tr>
</tbody>
</table>
-</ul>
</div>
</body>
</html>
<p>The following is an example using the Drawable subclasses with a one-by-one approach to draw the following figure:</p>
<p class="image"><font color="#000000"><font color="#000000"><img
src="Drawable_example_1.png" name="Graphic1" align="bottom" border="3"
- height="200" width="300"></font></font>
+ height="200" width="300" /></font></font>
</p>
<div class="viewport">
#include <string>
// Display the result
image.display( );
}
- catch( exception &error_ )
+ catch( exception & error_ )
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
// Display the result
image.display( );
}
- catch( exception &error_ )
+ catch( exception & error_ )
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
<p>The Drawable classes are shown in the following table. Only constructor signatures are documented here. Each Drawable class also provides methods by which each individual parameter may be adjusted.</p>
<p align="center" style="margin-bottom: 0in"><b>Drawable Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="68*">
-<col width="55*">
-<col width="133*">
+<col width="68*"/>
+<col width="55*"/>
+<col width="133*"/>
<tr>
<th width="27%">
<p class="western">Sub-Class</p></th>
<p class="western">Specify font name to use when drawing text.</p></td></tr>
<tr>
<td width="21%">
-<p class="western"><font size="2">const std::string &family_,</font><br>
-<font size="2"><a href="Enumerations.html#StyleType">StyleType</a> style_,</font><br>
-<font size="2">unsigned int weight_,</font><br>
+<p class="western"><font size="2">const std::string &family_,</font><br />
+<font size="2"><a href="Enumerations.html#StyleType">StyleType</a> style_,</font><br />
+<font size="2">unsigned int weight_,</font><br />
<font size="2"><a href="Enumerations.html#StretchType">StretchType</a> stretch_</font></p></td>
<td width="52%">
<p class="western">Specify font family, style, weight (one of the set { 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 } with 400 being the normal size), and stretch to be used to select the font used when drawing text. Wildcard matches may be applied to style via the AnyStyle enumeration, applied to weight if weight is zero, and applied to stretch via the AnyStretch enumeration.</p></td></tr>
<p style="margin-bottom: 0in">The "moveto" commands establish a new current point. The effect is as if the "pen" were lifted and moved to a new location. A path data segment must begin with either one of the "moveto" commands or one of the "arc" commands. Subsequent "moveto" commands (i.e., when the "moveto" is not the first command) represent the start of a new subpath:</p>
<p align="center" style="margin-bottom: 0in"><b>Moveto Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="37*">
-<col width="43*">
-<col width="177*">
+<col width="37*" />
+<col width="43*" />
+<col width="177*" />
<tr>
<th width="14%">
<p class="western">Sub-Class</p></th>
<p style="margin-bottom: 0in">The "closepath" command causes an automatic straight line to be drawn from the current point to the initial point of the current subpath:</p>
<p align="center" style="margin-bottom: 0in"><b>Closepath Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="37*">
-<col width="41*">
-<col width="178*">
+<col width="37*" />
+<col width="41*" />
+<col width="178*" />
<tr>
<th width="14%">
<p class="western">Sub-Class</p></th>
<p style="margin-bottom: 0in">The various "lineto" commands draw straight lines from the current point to a new point:</p>
<p align="center" style="margin-bottom: 0in"><b>Lineto Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="56*">
-<col width="39*">
-<col width="161*">
+<col width="56*" />
+<col width="39*" />
+<col width="161*" />
<tr>
<th width="22%">
<p class="western">Sub-Class</p></th>
<p>These three groups of commands draw curves:</p>
<ul>
<li>
-<p style="margin-bottom: 0in"><a href="Drawable.html#cubic%20Bezier">Cubic Bézier commands.</a> A cubic Bézier segment is defined by a start point, an end point, and two control points.</p></li>
+<p style="margin-bottom: 0in"><a href="Drawable.html#cubic%20Bezier">Cubic Bézier commands.</a> A cubic Bézier segment is defined by a start point, an end point, and two control points.</p></li>
<li>
-<p style="margin-bottom: 0in"><a href="Drawable.html#quadratic%20Bezier">Quadratic Bézier commands.</a> A quadratic Bézier segment is defined by a start point, an end point, and one control point.</p></li>
+<p style="margin-bottom: 0in"><a href="Drawable.html#quadratic%20Bezier">Quadratic Bézier commands.</a> A quadratic Bézier segment is defined by a start point, an end point, and one control point.</p></li>
<li>
<p><a href="Drawable.html#elliptical%20arc">Elliptical arc commands.</a> An elliptical arc segment draws a segment of an ellipse.</p></li></ul>
-<h3><a name="cubic Bezier"></a>The cubic Bézier curve commands</h3>
-<p>The cubic Bézier commands depend on the <i>PathCurvetoArgs</i> argument class, which has the constructor signature</p>
+<h3><a name="cubic Bezier"></a>The cubic Bézier curve commands</h3>
+<p>The cubic Bézier commands depend on the <i>PathCurvetoArgs</i> argument class, which has the constructor signature</p>
<pre class="code">
PathCurvetoArgs( double x1_, double y1_,
double x2_, double y2_,
double x_, double y_ );
</pre>
<p style="margin-bottom: 0in">The commands are as follows:</p>
-<p align="center" style="margin-bottom: 0in"><b>Cubic Bézier Curve Classes</b></p>
+<p align="center" style="margin-bottom: 0in"><b>Cubic Bézier Curve Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="54*">
-<col width="58*">
-<col width="144*">
+<col width="54*" />
+<col width="58*" />
+<col width="144*" />
<tr>
<th width="21%">
<p class="western">Sub-Class</p></th>
<td width="23%">
<p class="western">const Magick::PathCurvetoArgs &args_</p></td>
<td rowspan="4" width="56%">
-<p class="western">Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve. <i>PathCurvetoAbs</i> indicates that absolutecoordinates will follow; <i>PathCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
+<p class="western">Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve. <i>PathCurvetoAbs</i> indicates that absolutecoordinates will follow; <i>PathCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
<tr>
<td width="23%">
<p class="western">const std::list<Magick::PathCurvetoArgs> &args_</p></td></tr>
<td width="23%">
<p class="western">const Magick::Coordinate &coordinates_</p></td>
<td rowspan="4" width="56%">
-<p class="western">Draws a cubic Bézier curve from the current point to (x,y). The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an <i>PathCurvetoAbs</i>, <i>PathCurvetoRel</i>, <i>PathSmoothCurvetoAbs</i> or <i>PathSmoothCurvetoRel</i>, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). <i>PathSmoothCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathSmoothCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
+<p class="western">Draws a cubic Bézier curve from the current point to (x,y). The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an <i>PathCurvetoAbs</i>, <i>PathCurvetoRel</i>, <i>PathSmoothCurvetoAbs</i> or <i>PathSmoothCurvetoRel</i>, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). <i>PathSmoothCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathSmoothCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
<tr>
<td width="23%">
<p class="western">const std::list<Magick::Coordinate> &coordinates_</p></td></tr>
<tr>
<td width="23%">
<p class="western">const std::list<Magick::Coordinate> &coordinates_</p></td></tr></table></ul>
-<h3><a name="quadratic Bezier"></a>The quadratic Bézier curve commands</h3>
-<p>The quadratic Bézier commands depend on the <i>PathQuadraticCurvetoArgs</i> argument class, which has the constructor signature:</p>
+<h3><a name="quadratic Bezier"></a>The quadratic Bézier curve commands</h3>
+<p>The quadratic Bézier commands depend on the <i>PathQuadraticCurvetoArgs</i> argument class, which has the constructor signature:</p>
<pre class="code">
PathQuadraticCurvetoArgs( double x1_, double y1_,
double x_, double y_ );
</pre>
-<p style="margin-bottom: 0in">The quadratic Bézier commands are as follows:</p>
-<p align="center" style="margin-bottom: 0in"><b>Quadratic Bézier Curve Classes</b></p>
+<p style="margin-bottom: 0in">The quadratic Bézier commands are as follows:</p>
+<p align="center" style="margin-bottom: 0in"><b>Quadratic Bézier Curve Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<th>
<td>
<p class="western">const Magick::PathQuadraticCurvetoArgs &args_</p></td>
<td rowspan="4">
-<p class="western">Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point. <i>PathQuadraticCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathQuadraticCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
+<p class="western">Draws a quadratic Bézier curve from the current point to (x,y) using (x1,y1) as the control point. <i>PathQuadraticCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathQuadraticCurvetoRel</i> indicates that relative coordinates will follow. Multiple sets of coordinates may be specified to draw a polybezier. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
<tr>
<td>
<p class="western">const std::list<Magick::PathQuadraticCurvetoArgs> &args_</p></td></tr>
<td>
<p class="western">const Magick::Coordinate &coordinate_</p></td>
<td rowspan="4">
-<p class="western">Draws a quadratic Bézier curve from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous<br>
+<p class="western">Draws a quadratic Bézier curve from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous<br />
command relative to the current point. (If there is no previous command or if the previous command was not a <i>PathQuadraticCurvetoAbs</i>, <i>PathQuadraticCurvetoRel</i>, <i>PathSmoothQuadraticCurvetoAbs</i> or <i>PathSmoothQuadraticCurvetoRel</i>, assume the control point is coincident with the current point.) <i>PathSmoothQuadraticCurvetoAbs</i> indicates that absolute coordinates will follow; <i>PathSmoothQuadraticCurvetoRel</i> indicates that relative coordinates will follow. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p></td></tr>
<tr>
<td>
<p style="margin-bottom: 0in">The elliptical arc commands are as follows:</p>
<p align="center" style="margin-bottom: 0in"><b>Elliptical Arc Curve Classes</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="35*">
-<col width="46*">
-<col width="175*">
+<col width="35*" />
+<col width="46*" />
+<col width="175*" />
<tr>
<th width="14%">
<p class="western">Sub-Class</p></th>
</head>
<body>
<div class="doc-section">
-<H1 ALIGN=CENTER>Enumerations</H1>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><IMG SRC="right_triangle.png" NAME="Graphic1" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">Contents</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<UL>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ChannelType">ChannelType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ClassType">ClassType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ColorspaceType">ColorspaceType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#CompositeOperator">CompositeOperator</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#CompressionType">CompressionType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#DecorationType">DecorationType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#FillRule">FillRule</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#FilterTypes">FilterTypes</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#GravityType">GravityType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ImageType">ImageType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#InterlaceType">InterlaceType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ChannelType">ChannelType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#LineCap">LineCap</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#LineJoin">LineJoin</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#NoiseType">NoiseType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#OrientationType">OrientationType</A></P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#PaintMethod">PaintMethod</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#QuantumTypes">QuantumTypes</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#RenderingIntent">RenderingIntent</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#ResolutionType">ResolutionType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#StorageType">StorageType</A>
- </P>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#StretchType">StretchType</A>
- </P>
- <LI><P><A HREF="Enumerations.html#StyleType">StyleType</A>
- <LI><P STYLE="margin-bottom: 0in"><A HREF="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod</A>
- </P>
- </P>
-</UL>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ChannelType"></A><IMG SRC="right_triangle.png" NAME="Graphic2" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ChannelType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>ChannelType</I> is used as an
-argument when doing color separations. Use <I>ChannelType </I>when
-extracting a layer from an image. <I>MatteChannel</I> is useful for
+<h1 align="center">Enumerations</h1>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><img src="right_triangle.png" name="Graphic1" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">Contents</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<ul>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ChannelType">ChannelType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ClassType">ClassType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#CompositeOperator">CompositeOperator</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#CompressionType">CompressionType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#DecorationType">DecorationType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#FillRule">FillRule</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#FilterTypes">FilterTypes</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#GravityType">GravityType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ImageType">ImageType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ChannelType">ChannelType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#LineCap">LineCap</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#LineJoin">LineJoin</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#NoiseType">NoiseType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#OrientationType">OrientationType</a></p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#PaintMethod">PaintMethod</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#QuantumTypes">QuantumTypes</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#ResolutionType">ResolutionType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#StorageType">StorageType</a>
+ </p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#StretchType">StretchType</a>
+ </p></li>
+ <li><p><a href="Enumerations.html#StyleType">StyleType</a></p></li>
+ <li><p style="margin-bottom: 0in"><a href="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod</a>
+ </p></li>
+</ul>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ChannelType"></a><img src="right_triangle.png" name="Graphic2" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ChannelType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>ChannelType</i> is used as an
+argument when doing color separations. Use <i>ChannelType </i>when
+extracting a layer from an image. <i>MatteChannel</i> is useful for
extracting the opacity values from an image. Note that an image may
be represented in RGB, RGBA, CMYK, or CMYKA, pixel formats and a
channel may only be extracted if it is valid for the current pixel
-format.</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ChannelType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=3 BGCOLOR="#cccccc">
- <COL WIDTH=86*>
- <COL WIDTH=170*>
- <TR>
- <TD WIDTH=34%>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD WIDTH=66%>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>UndefinedChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>RedChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract red channel (RGB images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>CyanChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract cyan channel (CMYK images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>GreenChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract green channel (RGB images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>MagentaChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract magenta channel (CMYK images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>BlueChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract blue channel (RGB images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>YellowChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract yellow channel (CMYK images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>OpacityChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract matte (opacity values) channel (CMYKA images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>BlackChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract black channel (CMYK images only)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=34%>
- <P>MatteChannel</P>
- </TD>
- <TD WIDTH=66%>
- <P>Extract matte (opacity values) channel (RGB images only)</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ClassType"></A><IMG SRC="right_triangle.png" NAME="Graphic3" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ClassType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>ClassType</I> specifies the image
+format.</p>
+<p align="center" style="margin-bottom: 0in"><b>ChannelType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="3" bgcolor="#cccccc">
+ <col width="86*" />
+ <col width="170*" />
+ <tr>
+ <td width="34%">
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td width="66%">
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>UndefinedChannel</p>
+ </td>
+ <td width="66%">
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>RedChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract red channel (RGB images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>CyanChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract cyan channel (CMYK images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>GreenChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract green channel (RGB images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>MagentaChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract magenta channel (CMYK images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>BlueChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract blue channel (RGB images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>YellowChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract yellow channel (CMYK images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>OpacityChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract matte (opacity values) channel (CMYKA images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>BlackChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract black channel (CMYK images only)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="34%">
+ <p>MatteChannel</p>
+ </td>
+ <td width="66%">
+ <p>Extract matte (opacity values) channel (RGB images only)</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ClassType"></a><img src="right_triangle.png" name="Graphic3" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ClassType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>ClassType</i> specifies the image
storage class.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ClassType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedClass</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DirectClass</P>
- </TD>
- <TD>
- <P>Image is composed of pixels which represent literal color
- values.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PseudoClass</P>
- </TD>
- <TD>
- <P>Image is composed of pixels which specify an index in a color
- palette.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ColorspaceType"></A><IMG SRC="right_triangle.png" NAME="Graphic4" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ColorspaceType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P>The ColorspaceType enumeration is used to specify the colorspace
+</p>
+<p align="center" style="margin-bottom: 0in"><b>ClassType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedClass</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DirectClass</p>
+ </td>
+ <td>
+ <p>Image is composed of pixels which represent literal color
+ values.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PseudoClass</p>
+ </td>
+ <td>
+ <p>Image is composed of pixels which specify an index in a color
+ palette.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ColorspaceType"></a><img src="right_triangle.png" name="Graphic4" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ColorspaceType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p>The ColorspaceType enumeration is used to specify the colorspace
that quantization (color reduction and mapping) is done under or to
specify the colorspace when encoding an output image. Colorspaces are
ways of describing colors to fit the requirements of a particular
-application (e.g. Television, offset printing, color monitors).
-Color reduction, by default, takes place in the <I>RGBColorspace</I>.
+application (e.g. Television, offset printing, color monitors). 
+Color reduction, by default, takes place in the <i>RGBColorspace</i>.
Empirical evidence suggests that distances in color spaces such as
-<I>YUVColorspace</I> or <I>YIQColorspace</I> correspond to perceptual
+<i>YUVColorspace</i> or <i>YIQColorspace</i> correspond to perceptual
color differences more closely han do distances in RGB space. These
color spaces may give better results when color reducing an image.
-Refer to <I>quantize</I> for more details.
-</P>
-<P STYLE="margin-bottom: 0in">When encoding an output image, the
-colorspaces <I>RGBColorspace</I>, <I>CMYKColorspace</I>, and
-<I>GRAYColorspace</I> may be specified. The <I>CMYKColorspace</I>
+Refer to <i>quantize</i> for more details.
+</p>
+<p style="margin-bottom: 0in">When encoding an output image, the
+colorspaces <i>RGBColorspace</i>, <i>CMYKColorspace</i>, and
+<i>GRAYColorspace</i> may be specified. The <i>CMYKColorspace</i>
option is only applicable when writing TIFF, JPEG, and Adobe
Photoshop bitmap (PSD) files.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ColorspaceType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedColorspace</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CMYKColorspace</P>
- </TD>
- <TD>
- <P>Cyan-Magenta-Yellow-Black colorspace. CYMK is a subtractive
+</p>
+<p align="center" style="margin-bottom: 0in"><b>colorspacetype</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedColorspace</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CMYKColorspace</p>
+ </td>
+ <td>
+ <p>Cyan-Magenta-Yellow-Black colorspace. CYMK is a subtractive
color system used by printers and photographers for the rendering
- of colors with ink or emulsion, normally on a white surface.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GRAYColorspace</P>
- </TD>
- <TD>
- <P> Grayscale colorspace</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HCLColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LabColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LCHabColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LuvColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>OHTAColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RGBColorspace</P>
- </TD>
- <TD>
- <P>Red-Green-Blue colorspace.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>sRGBColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>scRGBColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TransparentColorspace</P>
- </TD>
- <TD>
- <P>The Transparent color space behaves uniquely in that it
- preserves the matte channel of the image if it exists.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>XYZColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YCbCrColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YCCColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YIQColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YPbPrColorspace</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YUVColorspace</P>
- </TD>
- <TD>
- <P>Y-signal, U-signal, and V-signal colorspace. YUV is most widely
- used to encode color for use in television transmission.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="CompositeOperator"></A><IMG SRC="right_triangle.png" NAME="Graphic5" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">CompositeOperator</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>CompositeOperator</I> is used to
-select the image composition algorithm used to compose a <I>composite
-image</I> with an <I>image</I>. By default, each of the composite
+ of colors with ink or emulsion, normally on a white surface.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GRAYColorspace</p>
+ </td>
+ <td>
+ <p> Grayscale colorspace</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HCLColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LabColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LCHabColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LuvColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>OHTAColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RGBColorspace</p>
+ </td>
+ <td>
+ <p>Red-Green-Blue colorspace.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>sRGBColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>scRGBColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TransparentColorspace</p>
+ </td>
+ <td>
+ <p>The Transparent color space behaves uniquely in that it
+ preserves the matte channel of the image if it exists.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>XYZColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YCbCrColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YCCColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YIQColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YPbPrColorspace</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YUVColorspace</p>
+ </td>
+ <td>
+ <p>Y-signal, U-signal, and V-signal colorspace. YUV is most widely
+ used to encode color for use in television transmission.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="CompositeOperator"></a><img src="right_triangle.png" name="Graphic5" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">CompositeOperator</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>CompositeOperator</i> is used to
+select the image composition algorithm used to compose a <i>composite
+image</i> with an <i>image</i>. By default, each of the composite
image pixels are replaced by the corresponding image tile pixel.
-Specify <I>CompositeOperator</I> to select a different algorithm.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>CompositeOperator</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedCompositeOp</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>OverCompositeOp</P>
- </TD>
- <TD>
- <P>The result is the union of the the two image shapes with the
- <I>composite image</I> obscuring <I>image</I> in the region of
- overlap.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>InCompositeOp</P>
- </TD>
- <TD>
- <P>The result is a simply <I>composite image </I>cut by the shape
- of image. None of the image data of <I>image</I> is included in
- the result.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>OutCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting image is <I>composite image</I> with the shape of
- <I>image</I> cut out.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AtopCompositeOp</P>
- </TD>
- <TD>
- <P>The result is the same shape as image <I>image</I>, with
- <I>composite image</I> obscuring <I>image</I> there the image
- shapes overlap. Note that this differs from <I>OverCompositeOp</I>
- because the portion of <I>composite image</I> outside of <I>image</I>'s
- shape does not appear in the result.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>XorCompositeOp</P>
- </TD>
- <TD>
- <P>The result is the image data from both c<I>omposite image</I>
- and <I>image</I> that is outside the overlap region. The overlap
- region will be blank.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PlusCompositeOp</P>
- </TD>
- <TD>
- <P>The result is just the sum of the image data. Output
+Specify <i>CompositeOperator</i> to select a different algorithm.
+</p>
+<p align="center" style="margin-bottom: 0in"><b>compositeoperator</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedCompositeOp</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>OverCompositeOp</p>
+ </td>
+ <td>
+ <p>The result is the union of the the two image shapes with the
+ <i>composite image</i> obscuring <i>image</i> in the region of
+ overlap.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>InCompositeOp</p>
+ </td>
+ <td>
+ <p>The result is a simply <i>composite image </i>cut by the shape
+ of image. None of the image data of <i>image</i> is included in
+ the result.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>OutCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting image is <i>composite image</i> with the shape of
+ <i>image</i> cut out.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AtopCompositeOp</p>
+ </td>
+ <td>
+ <p>The result is the same shape as image <i>image</i>, with
+ <i>composite image</i> obscuring <i>image</i> there the image
+ shapes overlap. Note that this differs from <i>OverCompositeOp</i>
+ because the portion of <i>composite image</i> outside of <i>image</i>'s
+ shape does not appear in the result.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>XorCompositeOp</p>
+ </td>
+ <td>
+ <p>The result is the image data from both c<i>omposite image</i>
+ and <i>image</i> that is outside the overlap region. The overlap
+ region will be blank.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PlusCompositeOp</p>
+ </td>
+ <td>
+ <p>The result is just the sum of the  image data. Output
values are cropped to 255 (no overflow). This operation is
- independent of the matte channels.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MinusCompositeOp</P>
- </TD>
- <TD>
- <P>The result of <I>composite image </I>- <I>image</I>, with
+ independent of the matte channels.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MinusCompositeOp</p>
+ </td>
+ <td>
+ <p>The result of <i>composite image </i>- <i>image</i>, with
overflow cropped to zero. The matte chanel is ignored (set to 255,
- full coverage).</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AddCompositeOp</P>
- </TD>
- <TD>
- <P>The result of <I>composite image</I> + <I>image</I>, with
- overflow wrapping around (mod 256).</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SubtractCompositeOp</P>
- </TD>
- <TD>
- <P>The result of <I>composite image </I>- <I>image</I>, with
+ full coverage).</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AddCompositeOp</p>
+ </td>
+ <td>
+ <p>The result of <i>composite image</i> + <i>image</i>, with
+ overflow wrapping around (mod 256).</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SubtractCompositeOp</p>
+ </td>
+ <td>
+ <p>The result of <i>composite image </i>- <i>image</i>, with
underflow wrapping around (mod 256). The add and subtract
- operators can be used to perform reverible transformations.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DifferenceCompositeOp</P>
- </TD>
- <TD>
- <P>The result of abs(c<I>omposite image </I>- <I>image</I>). This
- is useful for comparing two very similar images.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MultiplyCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BumpmapCompositeOp</P>
- </TD>
- <TD>
- <P>The result <I>image</I> shaded by <I>composite image.</I></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CopyCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting <I>image</I> is image replaced with c<I>omposite
- image</I>. Here the matte information is ignored.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CopyRedCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting image is the red layer in <I>image</I> replaced
- with the red layer in <I>composite image</I>. The other layers are
- copied untouched.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CopyGreenCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting image is the green layer in <I>image</I> replaced
- with the green layer in <I>composite image</I>. The other layers
- are copied untouched.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CopyBlueCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting image is the blue layer in <I>image</I> replaced
- with the blue layer in <I>composite image</I>. The other layers
- are copied untouched.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CopyOpacityCompositeOp</P>
- </TD>
- <TD>
- <P>The resulting image is the matte layer in <I>image</I> replaced
- with the matte layer in <I>composite image</I>. The other layers
+ operators can be used to perform reverible transformations.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DifferenceCompositeOp</p>
+ </td>
+ <td>
+ <p>The result of abs(c<i>omposite image </i>- <i>image</i>). This
+ is useful for comparing two very similar images.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MultiplyCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BumpmapCompositeOp</p>
+ </td>
+ <td>
+ <p>The result <i>image</i> shaded by <i>composite image.</i></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CopyCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting <i>image</i> is image replaced with c<i>omposite
+ image</i>. Here the matte information is ignored.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CopyRedCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting image is the red layer in <i>image</i> replaced
+ with the red layer in <i>composite image</i>. The other layers are
+ copied untouched.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CopyGreenCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting image is the green layer in <i>image</i> replaced
+ with the green layer in <i>composite image</i>. The other layers
+ are copied untouched.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CopyBlueCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting image is the blue layer in <i>image</i> replaced
+ with the blue layer in <i>composite image</i>. The other layers
+ are copied untouched.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CopyOpacityCompositeOp</p>
+ </td>
+ <td>
+ <p>The resulting image is the matte layer in <i>image</i> replaced
+ with the matte layer in <i>composite image</i>. The other layers
are copied untouched.
- </P>
- <P>The image compositor requires a matte, or alpha channel in the
+ </p>
+ <p>The image compositor requires a matte, or alpha channel in the
image for some operations. This extra channel usually defines a
mask which represents a sort of a cookie-cutter for the image.
This is the case when matte is 255 (full coverage) for pixels
inside the shape, zero outside, and between zero and 255 on the
- boundary. For certain operations, if <I>image</I> does not
+ boundary.  For certain operations, if <i>image</i> does not
have a matte channel, it is initialized with 0 for any pixel
matching in color to pixel location (0,0), otherwise 255 (to work
- properly <I>borderWidth</I> must be 0).</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ClearCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DissolveCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DisplaceCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ModulateCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ThresholdCompositeOp</P>
- </TD>
- <TD>
- <P> </P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="CompressionType"></A><IMG SRC="right_triangle.png" NAME="Graphic6" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">CompressionType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>CompressionType</I> is used to
+ properly <i>borderWidth</i> must be 0).</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ClearCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DissolveCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DisplaceCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ModulateCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ThresholdCompositeOp</p>
+ </td>
+ <td>
+ <p> </p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="CompressionType"></a><img src="right_triangle.png" name="Graphic6" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="helvetica, arial"><font color="#ffffff">compressiontype</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>CompressionType</i> is used to
express the desired compression type when encoding an image. Be aware
that most image types only support a sub-set of the available
compression types. If the compression type specified is incompatable
with the image, ImageMagick selects a compression type compatable
with the image type.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>CompressionType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedCompression</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NoCompression</P>
- </TD>
- <TD>
- <P>No compression</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BZipCompression</P>
- </TD>
- <TD>
- <P>BZip (Burrows-Wheeler block-sorting text compression algorithm
- and Huffman coding) as used by bzip2 utilities</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>FaxCompression</P>
- </TD>
- <TD>
- <P>CCITT Group 3 FAX compression</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>Group4Compression</P>
- </TD>
- <TD>
- <P>CCITT Group 4 FAX compression (used only for TIFF)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>JPEGCompression</P>
- </TD>
- <TD>
- <P>JPEG compression</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LZWCompression</P>
- </TD>
- <TD>
- <P>Lempel-Ziv-Welch (LZW) compression (caution, patented by
- Unisys)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RunlengthEncodedCompression</P>
- </TD>
- <TD>
- <P>Run-Length encoded (RLE) compression</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ZipCompression</P>
- </TD>
- <TD>
- <P>Lempel-Ziv compression (LZ77) as used in PKZIP and GNU gzip.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="DecorationType"></A><IMG SRC="right_triangle.png" NAME="Graphic7" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">DecorationType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>DecorationType </I>enumerations
+</p>
+<p align="center" style="margin-bottom: 0in"><b>compressiontype</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedCompression</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NoCompression</p>
+ </td>
+ <td>
+ <p>No compression</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BZipCompression</p>
+ </td>
+ <td>
+ <p>BZip (Burrows-Wheeler block-sorting text compression algorithm
+ and Huffman coding)  as used by bzip2 utilities</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>FaxCompression</p>
+ </td>
+ <td>
+ <p>CCITT Group 3 FAX compression</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>Group4Compression</p>
+ </td>
+ <td>
+ <p>CCITT Group 4 FAX compression (used only for TIFF)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>JPEGCompression</p>
+ </td>
+ <td>
+ <p>JPEG compression</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LZWCompression</p>
+ </td>
+ <td>
+ <p>Lempel-Ziv-Welch (LZW) compression (caution, patented by
+ Unisys)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RunlengthEncodedCompression</p>
+ </td>
+ <td>
+ <p>Run-Length encoded (RLE) compression</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ZipCompression</p>
+ </td>
+ <td>
+ <p>Lempel-Ziv compression (LZ77) as used in PKZIP and GNU gzip.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="DecorationType"></a><img src="right_triangle.png" name="Graphic7" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">DecorationType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>DecorationType </i>enumerations
are used to specify line decorations of rendered text.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>DecorationType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NoDecoration</P>
- </TD>
- <TD>
- <P>No decoration</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UnderlineDecoration</P>
- </TD>
- <TD>
- <P>Underlined text</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>OverlineDecoration</P>
- </TD>
- <TD>
- <P>Overlined text</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LineThroughDecoration</P>
- </TD>
- <TD>
- <P>Strike-through text</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="EndianType"></A><IMG SRC="right_triangle.png" NAME="Graphic8" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">EndianType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>EndianType </I>enumerations are
+</p>
+<p align="center" style="margin-bottom: 0in"><b>decorationtype</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NoDecoration</p>
+ </td>
+ <td>
+ <p>No decoration</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UnderlineDecoration</p>
+ </td>
+ <td>
+ <p>Underlined text</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>OverlineDecoration</p>
+ </td>
+ <td>
+ <p>Overlined text</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LineThroughDecoration</p>
+ </td>
+ <td>
+ <p>Strike-through text</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="EndianType"></a><img src="right_triangle.png" name="Graphic8" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">EndianType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>EndianType </i>enumerations are
used to specify the endian option for formats which support it (e.g.
TIFF).
-</P>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>EndianType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedEndian</P>
- </TD>
- <TD>
- <P>Not defined (default)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LSBEndian</P>
- </TD>
- <TD>
- <P>Little endian (like Intel X86 and DEC Alpha)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MSBEndian</P>
- </TD>
- <TD>
- <P>Big endian (like Motorola 68K, Mac PowerPC, & SPARC)</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="FillRule"></A><IMG SRC="right_triangle.png" NAME="Graphic9" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT COLOR="#ffffff">FillRule</FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>FillRule</I> specifies the algorithm
+</p>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>EndianType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedEndian</p>
+ </td>
+ <td>
+ <p>Not defined (default)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LSBEndian</p>
+ </td>
+ <td>
+ <p>Little endian (like Intel X86 and DEC Alpha)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MSBEndian</p>
+ </td>
+ <td>
+ <p>Big endian (like Motorola 68K, Mac PowerPC, & SPARC)</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="FillRule"></a><img src="right_triangle.png" name="Graphic9" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font color="#ffffff">FillRule</font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>FillRule</i> specifies the algorithm
which is to be used to determine what parts of the canvas are
-included inside the shape. See the documentation on SVG's <A HREF="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty">fill-rule</A>
+included inside the shape. See the documentation on SVG's <a href="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty">fill-rule</a> 
property for usage details.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>FillRule</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P>UndefinedRule</P>
- </TD>
- <TD>
- <P>Fill rule not specified</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>EvenOddRule</P>
- </TD>
- <TD>
- <P>See SVG fill-rule <I>evenodd</I> rule.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NonZeroRule</P>
- </TD>
- <TD>
- <P>See SVG fill-rule <I>nonzero</I> rule.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="FilterTypes"></A><IMG SRC="right_triangle.png" NAME="Graphic10" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">FilterTypes</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>FilterTypes</I> is used to adjust
+</p>
+<p align="center" style="margin-bottom: 0in"><b>FillRule</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p>UndefinedRule</p>
+ </td>
+ <td>
+ <p>Fill rule not specified</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>EvenOddRule</p>
+ </td>
+ <td>
+ <p>See SVG fill-rule <i>evenodd</i> rule.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NonZeroRule</p>
+ </td>
+ <td>
+ <p>See SVG fill-rule <i>nonzero</i> rule.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="FilterTypes"></a><img src="right_triangle.png" name="Graphic10" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">FilterTypes</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>FilterTypes</i> is used to adjust
the filter algorithm used when resizing images. Different filters
experience varying degrees of success with various images and can
take sipngicantly different amounts of processing time.
-ImageMagick uses the <I>LanczosFilter</I> by default since this
+ImageMagick uses the <i>LanczosFilter</i> by default since this
filter has been shown to provide the best results for most images in
-a reasonable amount of time. Other filter types (e.g. <I>TriangleFilter</I>)
+a reasonable amount of time. Other filter types (e.g. <i>TriangleFilter</i>)
may execute much faster but may show artifacts when the image is
re-sized or around diagonal lines. The only way to be sure is to test
the filter with sample images.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>FilterTypes</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedFilter</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PointFilter</P>
- </TD>
- <TD>
- <P>Point Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BoxFilter</P>
- </TD>
- <TD>
- <P>Box Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TriangleFilter</P>
- </TD>
- <TD>
- <P>Triangle Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HermiteFilter</P>
- </TD>
- <TD>
- <P>Hermite Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HanningFilter</P>
- </TD>
- <TD>
- <P>Hanning Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HammingFilter</P>
- </TD>
- <TD>
- <P>Hamming Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BlackmanFilter</P>
- </TD>
- <TD>
- <P>Blackman Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GaussianFilter</P>
- </TD>
- <TD>
- <P>Gaussian Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>QuadraticFilter</P>
- </TD>
- <TD>
- <P>Quadratic Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CubicFilter</P>
- </TD>
- <TD>
- <P>Cubic Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CatromFilter</P>
- </TD>
- <TD>
- <P>Catrom Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MitchellFilter</P>
- </TD>
- <TD>
- <P>Mitchell Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LanczosFilter</P>
- </TD>
- <TD>
- <P>Lanczos Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BesselFilter</P>
- </TD>
- <TD>
- <P>Bessel Filter</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SincFilter</P>
- </TD>
- <TD>
- <P>Sinc Filter</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="GravityType"></A><IMG SRC="right_triangle.png" NAME="Graphic11" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">GravityType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>GravityType</I> specifies
+</p>
+<p align="center" style="margin-bottom: 0in"><b>FilterTypes</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedFilter</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PointFilter</p>
+ </td>
+ <td>
+ <p>Point Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BoxFilter</p>
+ </td>
+ <td>
+ <p>Box Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TriangleFilter</p>
+ </td>
+ <td>
+ <p>Triangle Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HermiteFilter</p>
+ </td>
+ <td>
+ <p>Hermite Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HanningFilter</p>
+ </td>
+ <td>
+ <p>Hanning Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HammingFilter</p>
+ </td>
+ <td>
+ <p>Hamming Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BlackmanFilter</p>
+ </td>
+ <td>
+ <p>Blackman Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GaussianFilter</p>
+ </td>
+ <td>
+ <p>Gaussian Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>QuadraticFilter</p>
+ </td>
+ <td>
+ <p>Quadratic Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CubicFilter</p>
+ </td>
+ <td>
+ <p>Cubic Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CatromFilter</p>
+ </td>
+ <td>
+ <p>Catrom Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MitchellFilter</p>
+ </td>
+ <td>
+ <p>Mitchell Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LanczosFilter</p>
+ </td>
+ <td>
+ <p>Lanczos Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BesselFilter</p>
+ </td>
+ <td>
+ <p>Bessel Filter</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SincFilter</p>
+ </td>
+ <td>
+ <p>Sinc Filter</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="GravityType"></a><img src="right_triangle.png" name="Graphic11" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">GravityType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>GravityType</i> specifies
positioning of an object (e.g. text, image) within a bounding region
(e.g. an image). Gravity provides a convenient way to locate objects
irrespective of the size of the bounding region, in other words, you
don't need to provide absolute coordinates in order to position an
-object. A common default for gravity is <I>NorthWestGravity</I>.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>GravityType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ForgetGravity</P>
- </TD>
- <TD>
- <P>Don't use gravity.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NorthWestGravity</P>
- </TD>
- <TD>
- <P>Position object at top-left of region.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NorthGravity</P>
- </TD>
- <TD>
- <P>Postiion object at top-center of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NorthEastGravity</P>
- </TD>
- <TD>
- <P>Position object at top-right of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>WestGravity</P>
- </TD>
- <TD>
- <P>Position object at left-center of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CenterGravity</P>
- </TD>
- <TD>
- <P>Position object at center of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>EastGravity</P>
- </TD>
- <TD>
- <P>Position object at right-center of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SouthWestGravity</P>
- </TD>
- <TD>
- <P>Position object at left-bottom of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SouthGravity</P>
- </TD>
- <TD>
- <P>Position object at bottom-center of region</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SouthEastGravity</P>
- </TD>
- <TD>
- <P>Position object at bottom-right of region</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ImageType"></A><IMG SRC="right_triangle.png" NAME="Graphic12" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ImageType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>ImageType</I> indicates the type
+object. A common default for gravity is <i>NorthWestGravity</i>.
+</p>
+<p align="center" style="margin-bottom: 0in"><b>GravityType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ForgetGravity</p>
+ </td>
+ <td>
+ <p>Don't use gravity.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NorthWestGravity</p>
+ </td>
+ <td>
+ <p>Position object at top-left of region.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NorthGravity</p>
+ </td>
+ <td>
+ <p>Postiion object at top-center of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NorthEastGravity</p>
+ </td>
+ <td>
+ <p>Position object at top-right of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>WestGravity</p>
+ </td>
+ <td>
+ <p>Position object at left-center of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CenterGravity</p>
+ </td>
+ <td>
+ <p>Position object at center of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>EastGravity</p>
+ </td>
+ <td>
+ <p>Position object at right-center of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SouthWestGravity</p>
+ </td>
+ <td>
+ <p>Position object at left-bottom of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SouthGravity</p>
+ </td>
+ <td>
+ <p>Position object at bottom-center of region</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SouthEastGravity</p>
+ </td>
+ <td>
+ <p>Position object at bottom-right of region</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ImageType"></a><img src="right_triangle.png" name="Graphic12" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ImageType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>ImageType</i> indicates the type
classification of the image.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ImageType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedType</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BilevelType</P>
- </TD>
- <TD>
- <P>Monochrome image</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GrayscaleType</P>
- </TD>
- <TD>
- <P>Grayscale image</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GrayscaleMatteType</P>
- </TD>
- <TD>
- <P>Grayscale image with opacity</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PaletteType</P>
- </TD>
- <TD>
- <P>Indexed color (palette) image</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PaletteMatteType</P>
- </TD>
- <TD>
- <P>Indexed color (palette) image with opacity</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TrueColorType</P>
- </TD>
- <TD>
- <P>Truecolor image</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TrueColorMatteType</P>
- </TD>
- <TD>
- <P>Truecolor image with opacity</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ColorSeparationType</P>
- </TD>
- <TD>
- <P>Cyan/Yellow/Magenta/Black (CYMK) image</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="InterlaceType"></A><IMG SRC="right_triangle.png" NAME="Graphic13" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">InterlaceType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P><I>InterlaceType</I> specifies the ordering of the red, green, and
+</p>
+<p align="center" style="margin-bottom: 0in"><b>ImageType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedType</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BilevelType</p>
+ </td>
+ <td>
+ <p>Monochrome image</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GrayscaleType</p>
+ </td>
+ <td>
+ <p>Grayscale image</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GrayscaleMatteType</p>
+ </td>
+ <td>
+ <p>Grayscale image with opacity</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PaletteType</p>
+ </td>
+ <td>
+ <p>Indexed color (palette) image</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PaletteMatteType</p>
+ </td>
+ <td>
+ <p>Indexed color (palette) image with opacity</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TrueColorType</p>
+ </td>
+ <td>
+ <p>Truecolor image</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TrueColorMatteType</p>
+ </td>
+ <td>
+ <p>Truecolor image with opacity</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ColorSeparationType</p>
+ </td>
+ <td>
+ <p>Cyan/Yellow/Magenta/Black (CYMK) image</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="InterlaceType"></a><img src="right_triangle.png" name="Graphic13" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">InterlaceType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p><i>InterlaceType</i> specifies the ordering of the red, green, and
blue pixel information in the image. Interlacing is usually used to
make image information available to the user faster by taking
advantage of the space vs time tradeoff. For example, interlacing
allows images on the Web to be recognizable sooner and satellite
images to accumulate/render with image resolution increasing over
time.
-</P>
-<P STYLE="margin-bottom: 0in">Use <I>LineInterlace</I> or
-<I>PlaneInterlace</I> to create an interlaced GIF or progressive JPEG
+</p>
+<p style="margin-bottom: 0in">Use <i>LineInterlace</i> or
+<i>PlaneInterlace</i> to create an interlaced GIF or progressive JPEG
image.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>InterlaceType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedInterlace</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NoInterlace</P>
- </TD>
- <TD>
- <P>Don't interlace image (RGBRGBRGBRGBRGBRGB...)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LineInterlace</P>
- </TD>
- <TD>
- <P>Use scanline interlacing (RRR...GGG...BBB...RRR...GGG...BBB...)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PlaneInterlace</P>
- </TD>
- <TD>
- <P>Use plane interlacing (RRRRRR...GGGGGG...BBBBBB...)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PartitionInterlace</P>
- </TD>
- <TD>
- <P>Similar to plane interlaing except that the different planes
- are saved to individual files (e.g. image.R, image.G, and image.B)</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ChannelType1"></A><IMG SRC="right_triangle.png" NAME="Graphic14" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ChannelType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>ChannelType</I> is used as an
-argument when doing color separations. Use <I>ChannelType</I> when
-extracting a layer from an image. <I>MatteLayer</I> is useful for
+</p>
+<p align="center" style="margin-bottom: 0in"><b>InterlaceType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedInterlace</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NoInterlace</p>
+ </td>
+ <td>
+ <p>Don't interlace image (RGBRGBRGBRGBRGBRGB...)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LineInterlace</p>
+ </td>
+ <td>
+ <p>Use scanline interlacing (RRR...GGG...BBB...RRR...GGG...BBB...)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PlaneInterlace</p>
+ </td>
+ <td>
+ <p>Use plane interlacing (RRRRRR...GGGGGG...BBBBBB...)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PartitionInterlace</p>
+ </td>
+ <td>
+ <p>Similar to plane interlaing except that the different planes
+ are saved to individual files (e.g. image.R, image.G, and image.B)</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ChannelType1"></a><img src="right_triangle.png" name="Graphic14" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ChannelType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>ChannelType</i> is used as an
+argument when doing color separations. Use <i>ChannelType</i> when
+extracting a layer from an image. <i>MatteLayer</i> is useful for
extracting the opacity values from an image.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ChannelType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedLayer</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RedLayer</P>
- </TD>
- <TD>
- <P>Select red layer</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GreenLayer</P>
- </TD>
- <TD>
- <P>Select green layer</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BlueLayer</P>
- </TD>
- <TD>
- <P>Select blue layer</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MatteLayer</P>
- </TD>
- <TD>
- <P>Select matte (opacity values) layer</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="LineCap"></A><IMG SRC="right_triangle.png" NAME="Graphic15" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">LineCap</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>LineCap</I> enumerations specify
+</p>
+<p align="center" style="margin-bottom: 0in"><b>ChannelType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedLayer</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RedLayer</p>
+ </td>
+ <td>
+ <p>Select red layer</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GreenLayer</p>
+ </td>
+ <td>
+ <p>Select green layer</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BlueLayer</p>
+ </td>
+ <td>
+ <p>Select blue layer</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MatteLayer</p>
+ </td>
+ <td>
+ <p>Select matte (opacity values) layer</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="LineCap"></a><img src="right_triangle.png" name="Graphic15" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">LineCap</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>LineCap</i> enumerations specify
shape to be used at the end of open subpaths when they are stroked.
-See SVG's '<A HREF="http://www.w3.org/TR/SVG/painting.html#StrokeLinecapProperty">stroke-linecap'</A>
+See SVG's '<a href="http://www.w3.org/TR/SVG/painting.html#StrokeLinecapProperty">stroke-linecap'</a>
for examples.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>LineCap</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedCap</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ButtCap</P>
- </TD>
- <TD>
- <P>Square ending.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RoundCap</P>
- </TD>
- <TD>
- <P>Rounded ending (half-circle end with radius of 1/2 stroke
- width).</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SquareCap</P>
- </TD>
- <TD>
- <P>Square ending, extended by 1/2 the stroke width at end.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="LineJoin"></A><IMG SRC="right_triangle.png" NAME="Graphic16" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">LineJoin</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>LineJoin</I> enumerations
+</p>
+<p align="center" style="margin-bottom: 0in"><b>LineCap</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedCap</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ButtCap</p>
+ </td>
+ <td>
+ <p>Square ending.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RoundCap</p>
+ </td>
+ <td>
+ <p>Rounded ending (half-circle end with radius of 1/2 stroke
+ width).</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SquareCap</p>
+ </td>
+ <td>
+ <p>Square ending, extended by 1/2 the stroke width at end.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="LineJoin"></a><img src="right_triangle.png" name="Graphic16" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">LineJoin</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>LineJoin</i> enumerations
specify the shape to be used at the corners of paths or basic shapes
-when they are stroked. See SVG's '<A HREF="http://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty">stroke-linejoin'</A>
+when they are stroked. See SVG's '<a href="http://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty">stroke-linejoin'</a>
for examples.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ChannelType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedJoin</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MiterJoin</P>
- </TD>
- <TD>
- <P>Sharp-edged join</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RoundJoin</P>
- </TD>
- <TD>
- <P>Rounded-edged join</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BevelJoin</P>
- </TD>
- <TD>
- <P>Beveled-edged join</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="NoiseType"></A><IMG SRC="right_triangle.png" NAME="Graphic17" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">NoiseType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>NoiseType</I> is used as an argument
+</p>
+<p align="center" style="margin-bottom: 0in"><b>ChannelType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedJoin</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MiterJoin</p>
+ </td>
+ <td>
+ <p>Sharp-edged join</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RoundJoin</p>
+ </td>
+ <td>
+ <p>Rounded-edged join</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BevelJoin</p>
+ </td>
+ <td>
+ <p>Beveled-edged join</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="NoiseType"></a><img src="right_triangle.png" name="Graphic17" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">NoiseType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>NoiseType</i> is used as an argument
to select the type of noise to be added to the image.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>NoiseType</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UniformNoise</P>
- </TD>
- <TD>
- <P>Uniform noise</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GaussianNoise</P>
- </TD>
- <TD>
- <P>Gaussian noise</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MultiplicativeGaussianNoise</P>
- </TD>
- <TD>
- <P>Multiplicative Gaussian noise</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ImpulseNoise</P>
- </TD>
- <TD>
- <P>Impulse noise</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>LaplacianNoise</P>
- </TD>
- <TD>
- <P>Laplacian noise</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PoissonNoise</P>
- </TD>
- <TD>
- <P>Poisson noise</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=0>
- <COL WIDTH=256*>
- <TR>
- <TD WIDTH=100% BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="PaintMethod1"></A><A NAME="OrientationType"></A>
- <IMG SRC="right_triangle.png" NAME="Graphic25" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">OrientationType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P ALIGN=LEFT STYLE="margin-bottom: 0in"><I>OrientationType</I>
+</p>
+<p align="center" style="margin-bottom: 0in"><b>NoiseType</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UniformNoise</p>
+ </td>
+ <td>
+ <p>Uniform noise</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GaussianNoise</p>
+ </td>
+ <td>
+ <p>Gaussian noise</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MultiplicativeGaussianNoise</p>
+ </td>
+ <td>
+ <p>Multiplicative Gaussian noise</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ImpulseNoise</p>
+ </td>
+ <td>
+ <p>Impulse noise</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>LaplacianNoise</p>
+ </td>
+ <td>
+ <p>Laplacian noise</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PoissonNoise</p>
+ </td>
+ <td>
+ <p>Poisson noise</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="0">
+ <col width="256*" />
+ <tr>
+ <td width="100%" bgcolor="#52799e">
+ <p align="left"><a name="PaintMethod1"></a><a name="OrientationType"></a>
+ <img src="right_triangle.png" name="Graphic25" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">OrientationType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p align="left" style="margin-bottom: 0in"><i>OrientationType</i>
specifies the orientation of the image. Useful for when the image is
produced via a different ordinate system, the camera was turned on
-its side, or the page was scanned sideways.</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>OrientationType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=3 BGCOLOR="#cccccc">
- <COL WIDTH=65*>
- <COL WIDTH=75*>
- <COL WIDTH=115*>
- <TR>
- <TD WIDTH=25%>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD WIDTH=29%>
- <P ALIGN=CENTER><B>Scanline Direction</B></P>
- </TD>
- <TD WIDTH=45%>
- <P ALIGN=CENTER><B>Frame Direction</B></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>UndefinedOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Unknown</P>
- </TD>
- <TD WIDTH=45%>
- <P>Unknown</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>TopLeftOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Left to right</P>
- </TD>
- <TD WIDTH=45%>
- <P>Top to bottom</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>TopRightOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Right to left</P>
- </TD>
- <TD WIDTH=45%>
- <P>Top to bottom</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>BottomRightOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Right to left</P>
- </TD>
- <TD WIDTH=45%>
- <P>Bottom to top</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>BottomLeftOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Left to right</P>
- </TD>
- <TD WIDTH=45%>
- <P>Bottom to top</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>LeftTopOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Top to bottom</P>
- </TD>
- <TD WIDTH=45%>
- <P>Left to right</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>RightTopOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Top to bottom</P>
- </TD>
- <TD WIDTH=45%>
- <P>Right to left</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>RightBottomOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Bottom to top</P>
- </TD>
- <TD WIDTH=45%>
- <P>Right to left</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=25%>
- <P>LeftBottomOrientation</P>
- </TD>
- <TD WIDTH=29%>
- <P>Bottom to top</P>
- </TD>
- <TD WIDTH=45%>
- <P>Left to right</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="PaintMethod"></A><IMG SRC="right_triangle.png" NAME="Graphic18" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">PaintMethod</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>PaintMethod</I> specifies how pixel
+its side, or the page was scanned sideways.</p>
+<p align="center" style="margin-bottom: 0in"><b>OrientationType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="3" bgcolor="#cccccc">
+ <col width="65*" />
+ <col width="75*" />
+ <col width="115*" />
+ <tr>
+ <td width="25%">
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td width="29%">
+ <p align="center"><b>Scanline Direction</b></p>
+ </td>
+ <td width="45%">
+ <p align="center"><b>Frame Direction</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>UndefinedOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Unknown</p>
+ </td>
+ <td width="45%">
+ <p>Unknown</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>TopLeftOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Left to right</p>
+ </td>
+ <td width="45%">
+ <p>Top to bottom</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>TopRightOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Right to left</p>
+ </td>
+ <td width="45%">
+ <p>Top to bottom</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>BottomRightOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Right to left</p>
+ </td>
+ <td width="45%">
+ <p>Bottom to top</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>BottomLeftOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Left to right</p>
+ </td>
+ <td width="45%">
+ <p>Bottom to top</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>LeftTopOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Top to bottom</p>
+ </td>
+ <td width="45%">
+ <p>Left to right</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>RightTopOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Top to bottom</p>
+ </td>
+ <td width="45%">
+ <p>Right to left</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>RightBottomOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Bottom to top</p>
+ </td>
+ <td width="45%">
+ <p>Right to left</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="25%">
+ <p>LeftBottomOrientation</p>
+ </td>
+ <td width="29%">
+ <p>Bottom to top</p>
+ </td>
+ <td width="45%">
+ <p>Left to right</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="PaintMethod"></a><img src="right_triangle.png" name="Graphic18" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">PaintMethod</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>PaintMethod</i> specifies how pixel
colors are to be replaced in the image. It is used to select the
pixel-filling algorithm employed.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>PaintMethod</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PointMethod</P>
- </TD>
- <TD>
- <P>Replace pixel color at point.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ReplaceMethod</P>
- </TD>
- <TD>
- <P>Replace color for all image pixels matching color at point.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>FloodfillMethod</P>
- </TD>
- <TD>
- <P>Replace color for pixels surrounding point until encountering
- pixel that fails to match color at point.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>FillToBorderMethod</P>
- </TD>
- <TD>
- <P>Replace color for pixels surrounding point until encountering
- pixels matching border color.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ResetMethod</P>
- </TD>
- <TD>
- <P>Replace colors for <B>all</B> pixels in image with pen color.</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="QuantumTypes"></A><IMG SRC="right_triangle.png" NAME="Graphic19" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">QuantumTypes</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><I>QuantumTypes</I> is used to indicate
+</p>
+<p align="center" style="margin-bottom: 0in"><b>PaintMethod</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PointMethod</p>
+ </td>
+ <td>
+ <p>Replace pixel color at point.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ReplaceMethod</p>
+ </td>
+ <td>
+ <p>Replace color for all image pixels matching color at point.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>FloodfillMethod</p>
+ </td>
+ <td>
+ <p>Replace color for pixels surrounding point until encountering
+ pixel that fails to match color at point.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>FillToBorderMethod</p>
+ </td>
+ <td>
+ <p>Replace color for pixels surrounding point until encountering
+ pixels matching border color.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ResetMethod</p>
+ </td>
+ <td>
+ <p>Replace colors for <b>all</b> pixels in image with pen color.</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="QuantumTypes"></a><img src="right_triangle.png" name="Graphic19" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">QuantumTypes</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><i>QuantumTypes</i> is used to indicate
the source or destination format of entire pixels, or components of
pixels ("Quantums") while they are being read, or written
to, a pixel cache. The validity of these format specifications
depends on whether the Image pixels are in RGB format, RGBA format,
or CMYK format. The pixel Quantum size is determined by the Image
depth (eight or sixteen bits).
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>RGB(A) Image Quantums</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>IndexQuantum</P>
- </TD>
- <TD>
- <P>PseudoColor colormap indices (valid only for image with
- colormap)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RedQuantum</P>
- </TD>
- <TD>
- <P>Red pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GreenQuantum</P>
- </TD>
- <TD>
- <P>Green pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BlueQuantum</P>
- </TD>
- <TD>
- <P>Blue pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AlphaQuantum</P>
- </TD>
- <TD>
- <P>Alpha Quantum</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>CMY(K)(A) Image Quantum</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CyanQuantum</P>
- </TD>
- <TD>
- <P>Cyan pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MagentaQuantum</P>
- </TD>
- <TD>
- <P>Magenta pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>YellowQuantum</P>
- </TD>
- <TD>
- <P>Yellow pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BlackQuantum</P>
- </TD>
- <TD>
- <P>Black pixel Quantum</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AlphaQuantum</P>
- </TD>
- <TD>
- <P>Alpha Quantum</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>Grayscale Image
-Quantums</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GrayQuantum</P>
- </TD>
- <TD>
- <P>Gray pixel</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GrayOpacityQuantum</P>
- </TD>
- <TD>
- <P>Pixel opacity</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AlphaQuantum</P>
- </TD>
- <TD>
- <P>Alpha Quantum</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>Entire Pixels
-(Expressed in Byte Order)</B></P>
-<TABLE COLS=2 WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RGBQuantum</P>
- </TD>
- <TD>
- <P>RGB pixel (24 or 48 bits)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RGBAQuantum</P>
- </TD>
- <TD>
- <P>RGBA pixel (32 or 64 bits)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CMYKQuantum</P>
- </TD>
- <TD>
- <P>CMYK pixel (32 or 64 bits)</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CMYKAQuantum</P>
- </TD>
- <TD>
- <P>CMYKA pixel (40 or 80 bits)</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="RenderingIntent"></A><IMG SRC="right_triangle.png" NAME="Graphic20" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">RenderingIntent</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P>Rendering intent is a concept defined by <A HREF="http://www.color.org/">ICC</A>
+</p>
+<p align="center" style="margin-bottom: 0in"><b>RGB(A) Image Quantums</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>IndexQuantum</p>
+ </td>
+ <td>
+ <p>PseudoColor colormap indices (valid only for image with
+ colormap)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RedQuantum</p>
+ </td>
+ <td>
+ <p>Red pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GreenQuantum</p>
+ </td>
+ <td>
+ <p>Green pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BlueQuantum</p>
+ </td>
+ <td>
+ <p>Blue pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AlphaQuantum</p>
+ </td>
+ <td>
+ <p>Alpha Quantum</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>CMY(K)(A) Image Quantum</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CyanQuantum</p>
+ </td>
+ <td>
+ <p>Cyan pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MagentaQuantum</p>
+ </td>
+ <td>
+ <p>Magenta pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>YellowQuantum</p>
+ </td>
+ <td>
+ <p>Yellow pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BlackQuantum</p>
+ </td>
+ <td>
+ <p>Black pixel Quantum</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AlphaQuantum</p>
+ </td>
+ <td>
+ <p>Alpha Quantum</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Grayscale Image
+Quantums</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GrayQuantum</p>
+ </td>
+ <td>
+ <p>Gray pixel</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GrayOpacityQuantum</p>
+ </td>
+ <td>
+ <p>Pixel opacity</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AlphaQuantum</p>
+ </td>
+ <td>
+ <p>Alpha Quantum</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Entire Pixels
+(Expressed in Byte Order)</b></p>
+<table cols="2" width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RGBQuantum</p>
+ </td>
+ <td>
+ <p>RGB pixel (24 or 48 bits)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RGBAQuantum</p>
+ </td>
+ <td>
+ <p>RGBA pixel (32 or 64 bits)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CMYKQuantum</p>
+ </td>
+ <td>
+ <p>CMYK pixel (32 or 64 bits)</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CMYKAQuantum</p>
+ </td>
+ <td>
+ <p>CMYKA pixel (40 or 80 bits)</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br /> 
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="RenderingIntent"></a><img src="right_triangle.png" name="Graphic20" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">RenderingIntent</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p>Rendering intent is a concept defined by <a href="http://www.color.org/">ICC</a>
Spec ICC.1:1998-09, "File Format for Color Profiles".
-ImageMagick uses <I>RenderingIntent</I> in order to support ICC
+ImageMagick uses <i>RenderingIntent</i> in order to support ICC
Color Profiles.
-</P>
-<P STYLE="margin-bottom: 0in">From the specification: "Rendering
+</p>
+<p style="margin-bottom: 0in">From the specification: "Rendering
intent specifies the style of reproduction to be used during the
evaluation of this profile in a sequence of profiles. It applies
specifically to that profile in the sequence and not to the entire
sequence. Typically, the user or application will set the rendering
intent dynamically at runtime or embedding time."
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>RenderingIntent</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedIntent</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SaturationIntent</P>
- </TD>
- <TD>
- <P>A rendering intent that specifies the saturation of the pixels
+</p>
+<p align="center" style="margin-bottom: 0in"><b>RenderingIntent</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedIntent</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SaturationIntent</p>
+ </td>
+ <td>
+ <p>A rendering intent that specifies the saturation of the pixels
in the image is preserved perhaps at the expense of accuracy in
- hue and lightness.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PerceptualIntent</P>
- </TD>
- <TD>
- <P>A rendering intent that specifies the full gamut of the image
+ hue and lightness.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PerceptualIntent</p>
+ </td>
+ <td>
+ <p>A rendering intent that specifies the full gamut of the image
is compressed or expanded to fill the gamut of the destination
device. Gray balance is preserved but colorimetric accuracy might
- not be preserved.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AbsoluteIntent</P>
- </TD>
- <TD>
- <P>Absolute colorimetric</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RelativeIntent</P>
- </TD>
- <TD>
- <P>Relative colorimetric</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="ResolutionType"></A><IMG SRC="right_triangle.png" NAME="Graphic21" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">ResolutionType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">By default, ImageMagick defines
-resolutions in pixels per inch. <I>ResolutionType</I> provides a
+ not be preserved.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AbsoluteIntent</p>
+ </td>
+ <td>
+ <p>Absolute colorimetric</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RelativeIntent</p>
+ </td>
+ <td>
+ <p>Relative colorimetric</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="ResolutionType"></a><img src="right_triangle.png" name="Graphic21" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ResolutionType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">By default, ImageMagick defines
+resolutions in pixels per inch. <i>ResolutionType</i> provides a
means to adjust this.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>ResolutionType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedResolution</P>
- </TD>
- <TD>
- <P>Unset value.</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PixelsPerInchResolution</P>
- </TD>
- <TD>
- <P>Density specifications are specified in units of pixels per
- inch (english units).</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>PixelsPerCentimeterResolution</P>
- </TD>
- <TD>
- <P>Density specifications are specified in units of pixels per
- centimeter (metric units).</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="StorageType"></A><IMG SRC="right_triangle.png" NAME="Graphic22" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">StorageType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>StorageType</I> enumerations are
+</p>
+<p align="center" style="margin-bottom: 0in"><b>ResolutionType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedResolution</p>
+ </td>
+ <td>
+ <p>Unset value.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PixelsPerInchResolution</p>
+ </td>
+ <td>
+ <p>Density specifications are specified in units of pixels per
+ inch (english units).</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>PixelsPerCentimeterResolution</p>
+ </td>
+ <td>
+ <p>Density specifications are specified in units of pixels per
+ centimeter (metric units).</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="StorageType"></a><img src="right_triangle.png" name="Graphic22" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">StorageType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>StorageType</i> enumerations are
used to specify the storage format of pixels in the source or
destination pixel array.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>StorageType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CharPixel</P>
- </TD>
- <TD>
- <P>Character type</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ShortPixel</P>
- </TD>
- <TD>
- <P>Short type</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>IntegerPixel</P>
- </TD>
- <TD>
- <P>Integer type</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>FloatPixel</P>
- </TD>
- <TD>
- <P>Float type</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DoublePixel</P>
- </TD>
- <TD>
- <P>Double type</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="StretchType"></A><IMG SRC="right_triangle.png" NAME="Graphic23" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">StretchType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>StretchType</I> enumerations are
+</p>
+<p align="center" style="margin-bottom: 0in"><b>StorageType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CharPixel</p>
+ </td>
+ <td>
+ <p>Character type</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ShortPixel</p>
+ </td>
+ <td>
+ <p>Short type</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>IntegerPixel</p>
+ </td>
+ <td>
+ <p>Integer type</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>FloatPixel</p>
+ </td>
+ <td>
+ <p>Float type</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DoublePixel</p>
+ </td>
+ <td>
+ <p>Double type</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="StretchType"></a><img src="right_triangle.png" name="Graphic23" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">StretchType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>StretchType</i> enumerations are
used to specify the relative width of a font to the regular width for
-the font family. If the width is not important, the <I>AnyStretch</I>
+the font family. If the width is not important, the <i>AnyStretch</i>
enumeration may be specified for a wildcard match.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>StretchType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AnyStretch</P>
- </TD>
- <TD>
- <P>Wildcard match for font stretch</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NormalStretch</P>
- </TD>
- <TD>
- <P>Normal width font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UltraCondensedStretch</P>
- </TD>
- <TD>
- <P>Ultra-condensed (narrowest) font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ExtraCondensedStretch</P>
- </TD>
- <TD>
- <P>Extra-condensed font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CondensedStretch</P>
- </TD>
- <TD>
- <P>Condensed font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SemiCondensedStretch</P>
- </TD>
- <TD>
- <P>Semi-Condensed font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>SemiExpandedStretch</P>
- </TD>
- <TD>
- <P>Semi-Expanded font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ExpandedStretch</P>
- </TD>
- <TD>
- <P>Expanded font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ExtraExpandedStretch</P>
- </TD>
- <TD>
- <P>Extra-Expanded font</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UltraExpandedStretch</P>
- </TD>
- <TD>
- <P>Ultra-expanded (widest) font</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="StyleType"></A><IMG SRC="right_triangle.png" NAME="Graphic24" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">StyleType</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>StyleType</I> enumerations are
+</p>
+<p align="center" style="margin-bottom: 0in"><b>StretchType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AnyStretch</p>
+ </td>
+ <td>
+ <p>Wildcard match for font stretch</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NormalStretch</p>
+ </td>
+ <td>
+ <p>Normal width font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UltraCondensedStretch</p>
+ </td>
+ <td>
+ <p>Ultra-condensed (narrowest) font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ExtraCondensedStretch</p>
+ </td>
+ <td>
+ <p>Extra-condensed font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CondensedStretch</p>
+ </td>
+ <td>
+ <p>Condensed font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SemiCondensedStretch</p>
+ </td>
+ <td>
+ <p>Semi-Condensed font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>SemiExpandedStretch</p>
+ </td>
+ <td>
+ <p>Semi-Expanded font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ExpandedStretch</p>
+ </td>
+ <td>
+ <p>Expanded font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ExtraExpandedStretch</p>
+ </td>
+ <td>
+ <p>Extra-Expanded font</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UltraExpandedStretch</p>
+ </td>
+ <td>
+ <p>Ultra-expanded (widest) font</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="StyleType"></a><img src="right_triangle.png" name="Graphic24" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">StyleType</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>StyleType</i> enumerations are
used to specify the style (e.g. Italic) of a font. If the style is
-not important, the <I>AnyStyle</I> enumeration may be specified for a
+not important, the <i>AnyStyle</i> enumeration may be specified for a
wildcard match.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>StyleType</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>AnyStyle</P>
- </TD>
- <TD>
- <P>Wildcard match for font style</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>NormalStyle</P>
- </TD>
- <TD>
- <P>Normal font style</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ItalicStyle</P>
- </TD>
- <TD>
- <P>Italic font style</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>ObliqueStyle</P>
- </TD>
- <TD>
- <P>Oblique font style</P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>
- <TR>
- <TD BGCOLOR="#52799e">
- <P ALIGN=LEFT><A NAME="VirtualPixelMethod"></A><IMG SRC="right_triangle.png" NAME="Graphic8" ALT=">" ALIGN=BOTTOM WIDTH=15 HEIGHT=14 BORDER=0><B><FONT SIZE=4><FONT FACE="Helvetica, Arial"><FONT COLOR="#ffffff">VirtualPixelMethod</FONT></FONT></FONT></B></P>
- </TD>
- </TR>
-</TABLE>
-<P STYLE="margin-bottom: 0in">The <I>VirtualPixelMethod </I>enumerations are
+</p>
+<p align="center" style="margin-bottom: 0in"><b>StyleType</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>AnyStyle</p>
+ </td>
+ <td>
+ <p>Wildcard match for font style</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>NormalStyle</p>
+ </td>
+ <td>
+ <p>Normal font style</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ItalicStyle</p>
+ </td>
+ <td>
+ <p>Italic font style</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>ObliqueStyle</p>
+ </td>
+ <td>
+ <p>Oblique font style</p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in"><br />
+</p>
+<table width="100%" border="0" cellpadding="1" cellspacing="1">
+ <tr>
+ <td bgcolor="#52799e">
+ <p align="left"><a name="VirtualPixelMethod"></a><img src="right_triangle.png" name="Graphic8" alt=">" align="bottom" width="15" height="14" border="0" /><b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">VirtualPixelMethod</font></font></font></b></p>
+ </td>
+ </tr>
+</table>
+<p style="margin-bottom: 0in">The <i>VirtualPixelMethod </i>enumerations are
used to specify the virtual pixel method.
-</P>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>VirtualPixelMethod</B></P>
-<TABLE WIDTH=100% BORDER=1 CELLPADDING=1 CELLSPACING=1 BGCOLOR="#cccccc">
- <TR>
- <TD>
- <P ALIGN=CENTER><B>Enumeration</B></P>
- </TD>
- <TD>
- <P ALIGN=CENTER><B>Description</B></P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>UndefinedVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>Not defined</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BackgroundVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>the area surrounding the image is the background color
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>BlackVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>the area surrounding the image is black</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>CheckerTileVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>alternate squares with image and background color
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>DitherVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>non-random 32x32 dithered pattern
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>EdgeVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>extend the edge pixel toward infinity
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>GrayVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>the area surrounding the image is gray
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HorizontalTileVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>horizontally tile the image, background color above/below</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>HorizontalTileEdgeVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>horizontally tile the image and replicate the side edge pixels</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>MirrorVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>mirror tile the image
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>RandomVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>choose a random pixel from the image
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TileVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>tile the image (default)
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>TransparentVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>the area surrounding the image is transparent blackness
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>VerticalTileVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>vertically tile the image, sides are background color
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>VerticalTileEdgeVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>vertically tile the image and replicate the side edge pixels
-</P>
- </TD>
- </TR>
- <TR>
- <TD>
- <P>WhiteVirtualPixelMethod</P>
- </TD>
- <TD>
- <P>the area surrounding the image is white
-</P>
- </TD>
- </TR>
-</TABLE>
+</p>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>VirtualPixelMethod</b></p>
+<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc">
+ <tr>
+ <td>
+ <p align="center"><b>Enumeration</b></p>
+ </td>
+ <td>
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>UndefinedVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>Not defined</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BackgroundVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>the area surrounding the image is the background color
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>BlackVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>the area surrounding the image is black</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>CheckerTileVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>alternate squares with image and background color
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>DitherVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>non-random 32x32 dithered pattern
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>EdgeVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>extend the edge pixel toward infinity
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>GrayVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>the area surrounding the image is gray
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HorizontalTileVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>horizontally tile the image, background color above/below</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>HorizontalTileEdgeVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>horizontally tile the image and replicate the side edge pixels</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>MirrorVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>mirror tile the image
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>RandomVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>choose a random pixel from the image
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TileVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>tile the image (default)
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>TransparentVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>the area surrounding the image is transparent blackness
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>VerticalTileVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>vertically tile the image, sides are background color
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>VerticalTileEdgeVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>vertically tile the image and replicate the side edge pixels
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>WhiteVirtualPixelMethod</p>
+ </td>
+ <td>
+ <p>the area surrounding the image is white
+</p>
+ </td>
+ </tr>
+</table>
</div>
-</BODY>
-</HTML>
+</body>
+</html>
</head>
<body>
<div class="doc-section">
-<H1 ALIGN=CENTER>Magick::Exception Classes</H1>
-<P><I>Exception</I> represents the base class of objects thrown when
+<h1 align="center">Magick::Exception Classes</h1>
+<p><i>Exception</i> represents the base class of objects thrown when
Magick++reports an error. Magick++ throws C++ exceptions synchronous
with the operation where the error occurred. This allows errors to be
trapped within the enclosing code (perhaps the code to process a
single image) while allowing the code to be written with a simple
-coding style.</P>
-<P>A try/catch block should be placed around any sequence of
+coding style.</p>
+<p>A try/catch block should be placed around any sequence of
operations which can be considered an important body of work. For
example, if your program processes lists of images and some of these
images may be defective, by placing the try/catch block around the
error checking while ensuring that all objects created to deal with
that object are safely destroyed (C++ exceptions unroll the stack
until the enclosing try block, destroying any created objects).
-</P>
-<P>The pseudo code for the main loop of your program may look like:
-</P>
+</p>
+<p>The pseudo code for the main loop of your program may look like:
+</p>
<div class="viewport">
using namespace std;
for infile in list
// Try reading image file
image.read(infile);
}
- catch( Magick::WarningCoder &warning )
+ catch( Magick::WarningCoder &warning )
{
// Process coder warning while loading file (e.g. TIFF warning)
// Maybe the user will be interested in these warnings (or not).
// something important!)
cerr << "Coder Warning: " << warning.what() << endl;
}
- catch( Magick::Warning &warning )
+ catch( Magick::Warning &warning )
{
// Handle any other Magick++ warning.
cerr << "Warning: " << warning.what() << endl;
}
- catch( Magick::ErrorFileOpen &error )
+ catch( Magick::ErrorFileOpen &error )
{
// Process Magick++ file open error
cerr << "Error: " << error.what() << endl;
image.rotate(90);
image.write("outfile");
}
- catch ( MagickExeption & error)
+ catch ( MagickExeption & error)
{
// Handle problem while rotating or writing outfile.
cerr << "Caught Magick++ exception: " << error.what() << endl;
}
}
- catch( std::exception &error )
+ catch( std::exception & error )
{
// Process any other exceptions derived from standard C++ exception
cerr << "Caught C++ STD exception: " << error.what() << endl;
{
// Process *any* exception (last-ditch effort). There is not a lot
// you can do here other to retry the operation that failed, or exit
- // the program.
}
}
</div>
<p>The desired location and number of try/catch blocks in your program
depends how sophisticated its error handling must be. Very simple
-programs may use just one try/catch block.</P>
-<P>The <I>Exception</I> class is derived from the C++ standard
+programs may use just one try/catch block.</p>
+<p>The <i>Exception</i> class is derived from the C++ standard
exception class. This means that it contains a C++ string containing
additional information about the error (e.g to display to the user).
-Obtain access to this string via the what() method. For
+Obtain access to this string via the what() method.  For
example:
-</P>
+</p>
<pre class="code">
-catch( Exception &error_ )
+catch( Exception & error_ )
{
cout << "Caught exception: " << error_.what() << endl;
}
</pre>
-<P>The classes <I>Warning</I> and <I>Error</I> derive from the
-<I>Exception</I> class. Exceptions derived from <I>Warning</I> are
+<p>The classes <i>Warning</i> and <i>Error</i> derive from the
+<i>Exception</i> class. Exceptions derived from <i>Warning</i> are
thrown to represent non-fatal errors which may effect the
completeness or quality of the result (e.g. one image provided as an
-argument to montage is defective). In most cases, a <I>Warning</I>
+argument to montage is defective). In most cases, a <i>Warning</i>
exception may be ignored by catching it immediately, processing it
(e.g. printing a diagnostic) and continuing on. Exceptions derived
-from <I>Error</I> are thrown to represent fatal errors that can not
+from <i>Error</i> are thrown to represent fatal errors that can not
produce a valid result (e.g. attempting to read a file which does not
exist).
-</P>
-<P STYLE="margin-bottom: 0in">The specific derived exception classes
+</p>
+<p style="margin-bottom: 0in">The specific derived exception classes
are shown in the following tables:
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>Warning Sub-Classes</B></P>
-<ul><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=70*>
- <COL WIDTH=186*>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2><B>Warning</B></FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P ALIGN=CENTER><FONT SIZE=2><B>Warning Description</B></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningUndefined</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Unspecified warning type.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningBlob</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium; text-decoration: none"><FONT SIZE=2>NOT
- CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningCache</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium; text-decoration: none"><FONT SIZE=2>NOT
- CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningCoder</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warnings issued by some coders.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningConfigure</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium; text-decoration: none"><FONT SIZE=2>NOT
- CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningCorruptImage</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warning issued when an image is determined to be
- corrupt.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningDelegate</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warnings reported by the delegate (interface to
- external programs) subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningDraw</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warnings reported by the rendering subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningFileOpen</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warning reported when The image file could not be
- opened (permission problem, wrong file type, or does not exist).</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningImage</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningMissingDelegate</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningModule</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningMonitor</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningOption</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warning reported when an option is malformed or
- out of range.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningRegistry</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningResourceLimit</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warning reported when a program resource is
- exhausted (e.g. not enough memory).</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningStream</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningType</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=27%>
- <P ALIGN=CENTER><FONT SIZE=2>WarningXServer</FONT></P>
- </TD>
- <TD WIDTH=73%>
- <P><FONT SIZE=2>Warnings reported by the X11 subsystem.</FONT></P>
- </TD>
- </TR>
-</TABLE></ul>
-<P STYLE="margin-bottom: 0in"><BR>
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><B>Error Sub-Classes</B></P>
-<ul><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=71*>
- <COL WIDTH=185*>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2><B>Error</B></FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P ALIGN=CENTER><FONT SIZE=2><B>Error Description</B></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorUndefined</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Unspecified error type.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorBlob</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported by BLOB I/O subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorCache</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported by the pixel cache subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorCoder</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported by coders (image format support).</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorConfigure</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported while loading configuration files.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorCorruptImage</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported when the image file is corrupt.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorDelegate</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the delegate (interface to
- external programs) subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorDraw</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported while drawing on image.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorFileOpen</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported when the image file can not be
- opened.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorImage</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported while drawing.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorMissingDelegate</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported when an add-on library or program
- is necessary in order to support the requested operation.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorModule</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the module loader subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorMonitor</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P STYLE="font-weight: medium"><FONT SIZE=2>NOT CURRENTLY USED</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorOption</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported when an option is malformed or out
- of range.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorRegistry</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the image/BLOB registry
- subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorResourceLimit</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Error reported when a program resource is
- exhausted (e.g. not enough memory).</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorStream</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the pixel stream subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorType</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the type (font) rendering
- subsystem.</FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=28%>
- <P ALIGN=CENTER><FONT SIZE=2>ErrorXServer</FONT></P>
- </TD>
- <TD WIDTH=72%>
- <P><FONT SIZE=2>Errors reported by the X11 subsystem.</FONT></P>
- </TD>
- </TR>
-</TABLE></ul>
-<P><BR><BR>
-</P>
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Warning Sub-Classes</b></p>
+<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
+ <col width="70*" />
+ <col width="186*" />
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2"><b>Warning</b></font></p>
+ </td>
+ <td width="73%">
+ <p align="center"><font size="2"><b>Warning Description</b></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningUndefined</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Unspecified warning type.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningBlob</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium; text-decoration: none"><font size="2">NOT
+ CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningCache</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium; text-decoration: none"><font size="2">NOT
+ CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningCoder</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warnings issued by some coders.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningConfigure</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium; text-decoration: none"><font size="2">NOT
+ CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningCorruptImage</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warning issued when an image is determined to be
+ corrupt.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningDelegate</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warnings reported by the delegate (interface to
+ external programs) subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningDraw</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warnings reported by the rendering subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningFileOpen</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warning reported when The image file could not be
+ opened (permission problem, wrong file type, or does not exist).</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningImage</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningMissingDelegate</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningModule</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningMonitor</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningOption</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warning reported when an option is malformed or
+ out of range.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningRegistry</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningResourceLimit</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warning reported when a program resource is
+ exhausted (e.g. not enough memory).</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningStream</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningType</font></p>
+ </td>
+ <td width="73%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="27%">
+ <p align="center"><font size="2">WarningXServer</font></p>
+ </td>
+ <td width="73%">
+ <p><font size="2">Warnings reported by the X11 subsystem.</font></p>
+ </td>
+ </tr>
+</table></ul>
+<p style="margin-bottom: 0in"><br />
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Error Sub-Classes</b></p>
+<ul><table width="100%" border="1" cellpadding="2" cellspacing="3">
+ <col width="71*" />
+ <col width="185*" />
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2"><b>Error</b></font></p>
+ </td>
+ <td width="72%">
+ <p align="center"><font size="2"><b>Error Description</b></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorUndefined</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Unspecified error type.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorBlob</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported by BLOB I/O subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorCache</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported by the pixel cache subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorCoder</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported by coders (image format support).</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorConfigure</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported while loading configuration files.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorCorruptImage</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported when the image file is corrupt.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorDelegate</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the delegate (interface to
+ external programs) subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorDraw</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported while drawing on image.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorFileOpen</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported when the image file can not be
+ opened.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorImage</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported while drawing.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorMissingDelegate</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported when an add-on library or program
+ is necessary in order to support the requested operation.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorModule</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the module loader subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorMonitor</font></p>
+ </td>
+ <td width="72%">
+ <p style="font-weight: medium"><font size="2">NOT CURRENTLY USED</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorOption</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported when an option is malformed or out
+ of range.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorRegistry</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the image/BLOB registry
+ subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorResourceLimit</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Error reported when a program resource is
+ exhausted (e.g. not enough memory).</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorStream</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the pixel stream subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorType</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the type (font) rendering
+ subsystem.</font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="28%">
+ <p align="center"><font size="2">ErrorXServer</font></p>
+ </td>
+ <td width="72%">
+ <p><font size="2">Errors reported by the X11 subsystem.</font></p>
+ </td>
+ </tr>
+</table></ul>
+<p><br /><br />
+</p>
</div>
-</BODY>
-</HTML>
+</body>
+</html>
<div class="doc-section">
<h1 align="center">Special Format Characters</h1>
<p style="margin-bottom: 0cm">The Magick::Image methods <a href="Image.html#annotate"><i>annotate</i></a>, <a href="Image.html#draw"><i>draw</i></a>, <a href="Image.html#label"><i>label</i></a>, and the template function <i>montageImages</i> support special format characters contained in the argument text. These format characters work similar to C's <i>printf</i>. Whenever a format character appears in the text, it is replaced with the equivalent attribute text. The available format characters are shown in the following table.</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm"><b>Format Characters</b></p>
<center>
<table width="50%" border="1" cellpadding="2" cellspacing="3">
-<col width="131*">
-<col width="125*">
+<col width="131*" />
+<col width="125*" />
<tr>
<td width="51%">
<p align="center"><b>Format Character</b></p></td>
<p align="center">\r</p></td>
<td width="49%">
<p>carriage return</p></td></tr></table></center>
-</ul>
+</div>
</body>
</html>
</head>
<body>
<div class="doc-section">
-<H1 ALIGN=CENTER>Magick::Geometry</H1>
-<P>Geometry provides a convenient means to specify a geometry
+<h1 align="center">Magick::Geometry</h1>
+<p>Geometry provides a convenient means to specify a geometry
argument. The object may be initialized from a C string or C++ string
containing a geometry specification. It may also be initialized by
more efficient parameterized constructors.
-</P>
-<H3><A NAME="GeometrySpecifications"></A>Geometry
-Specifications</H3>
-<P>Geometry specifications are in the form
+</p>
+<h3><a name="GeometrySpecifications"></a>Geometry
+Specifications</h3>
+<p>Geometry specifications are in the form
<kbd>"<width>x<height>{+-}<xoffset>{+-}<yoffset>"</kbd>
-(where <I>width</I>, <I>height</I>, <I>xoffset</I>, and <I>yoffset</I>
+(where <i>width</i>, <i>height</i>, <i>xoffset</i>, and <i>yoffset</i>
are numbers) for specifying the size and placement location for an
object.
-</P>
-<P STYLE="margin-bottom: 0in">The <I>width</I> and <I>height</I>
+</p>
+<p style="margin-bottom: 0in">The <i>width</i> and <i>height</i>
parts of the geometry specification are measured in pixels. The
-<I>xoffset</I> and <I>yoffset</I> parts are also measured in pixels
+<i>xoffset</i> and <i>yoffset</i> parts are also measured in pixels
and are used to specify the distance of the placement coordinate from
the left and top and edges of the image, respectively. Both types of
offsets are measured from the indicated edge of the object to the
corresponding edge of the image. The X offset may be specified in the
following ways:
-</P>
-<ul> <TABLE WIDTH=90% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=21*>
- <COL WIDTH=235*>
- <TR>
- <TD WIDTH=8%>
- <P>+<I>xoffset</I></P>
- </TD>
- <TD WIDTH=92%>
- <P>The left edge of the object is to be placed <I>xoffset</I>
- pixels in from the <em>left edge </em>of the image.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=8%>
- <P>-<I>xoffset</I></P>
- </TD>
- <TD WIDTH=92%>
- <P>The left edge of the object is to be placed outside the image,
- <I>xoffset</I> pixels out from the <em>left edge </em>of the image.</P>
- </TD>
- </TR>
- </TABLE></ul>
-<P STYLE="margin-bottom: 0in">The Y offset has similar meanings:
-</P>
- <ul><TABLE WIDTH=90% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=27*>
- <COL WIDTH=229*>
- <TR>
- <TD WIDTH=11%>
- <P>+<I>yoffset</I></P>
- </TD>
- <TD WIDTH=89%>
- <P>The top edge of the object is to be <I>yoffset</I> pixels
- <em>below</em> the <em>top edge </em>of the image.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=11%>
- <P>-<I>yoffset</I></P>
- </TD>
- <TD WIDTH=89%>
- <P>The top edge of the object is to be <I>yoffset</I> pixels
- <em>above</em> the <em>top edge</em> of the image.</P>
- </TD>
- </TR>
- </TABLE></ul>
-<P>Offsets must be given as pairs; in other words, in order to
-specify either <I>xoffset</I> or <I>yoffset</I> both must be present.
-</P>
-<H3><A NAME="ExtendedGeometrySpecifications"></A>ImageMagick
-Extensions To Geometry Specifications</H3>
-<P STYLE="margin-bottom: 0in">ImageMagick has added a number of
+</p>
+ <table width="90%" border="1" cellpadding="2" cellspacing="3">
+ <col width="21*" />
+ <col width="235*" />
+ <tr>
+ <td width="8%">
+ <p>+<i>xoffset</i></p>
+ </td>
+ <td width="92%">
+ <p>The left edge of the object is to be placed <i>xoffset</i>
+ pixels in from the <em>left edge </em>of the image.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="8%">
+ <p>-<i>xoffset</i></p>
+ </td>
+ <td width="92%">
+ <p>The left edge of the object is to be placed outside the image,
+ <i>xoffset</i> pixels out from the <em>left edge </em>of the image.</p>
+ </td>
+ </tr>
+ </table>
+<p style="margin-bottom: 0in">The Y offset has similar meanings:
+</p>
+ <table width="90%" border="1" cellpadding="2" cellspacing="3">
+ <col width="27*" />
+ <col width="229*" />
+ <tr>
+ <td width="11%">
+ <p>+<i>yoffset</i></p>
+ </td>
+ <td width="89%">
+ <p>The top edge of the object is to be <i>yoffset</i> pixels
+ <em>below</em> the <em>top edge </em>of the image.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="11%">
+ <p>-<i>yoffset</i></p>
+ </td>
+ <td width="89%">
+ <p>The top edge of the object is to be <i>yoffset</i> pixels
+ <em>above</em> the <em>top edge</em> of the image.</p>
+ </td>
+ </tr>
+ </table>
+<p>Offsets must be given as pairs; in other words, in order to
+specify either <i>xoffset</i> or <i>yoffset</i> both must be present.
+</p>
+<h3><a name="ExtendedGeometrySpecifications"></a>ImageMagick
+Extensions To Geometry Specifications</h3>
+<p style="margin-bottom: 0in">ImageMagick has added a number of
qualifiers to the standard geometry string for use when resizing
images. The form of an extended geometry string is
"<kbd><width>x<height>{+-}<xoffset>{+-}<yoffset>{%}{!}{<}{>}"</kbd>.
Extended geometry strings should <em>only</em> be used <em>when resizing
an image</em>. Using an extended geometry string for other
-applications may cause the API call to fail. </kbd>The available
+applications may cause the API call to fail. The available
qualifiers are shown in the following table:
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><b>ImageMagick Geometry
-Qualifiers</b></P>
- <ul><TABLE WIDTH=90% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=36*>
- <COL WIDTH=220*>
- <TR>
- <TD WIDTH=14%>
- <P ALIGN=CENTER><b>Qualifier</b></P>
- </TD>
- <TD WIDTH=86%>
- <P ALIGN=CENTER><b>Description</b></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=14%>
- <P ALIGN=CENTER><b>%</b></P>
- </TD>
- <TD WIDTH=86%>
- <P>Interpret width and height as a <b>percentage</b> of the
- current size.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=14%>
- <P ALIGN=CENTER><b>!</b></P>
- </TD>
- <TD WIDTH=86%>
- <P>Resize to width and height <b>exactly</b>, loosing original
- aspect ratio.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=14%>
- <P ALIGN=CENTER><b><</b></P>
- </TD>
- <TD WIDTH=86%>
- <P>Resize only if the image is <b>smaller</b> than the geometry
- specification.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=14%>
- <P ALIGN=CENTER><b>></b></P>
- </TD>
- <TD WIDTH=86%>
- <P>Resize only if the image is <b>greater</b> than the geometry
- specification.</P>
- </TD>
- </TR>
- </TABLE></ul>
-<H3><A NAME="PostscriptPageSize"></A>Postscript Page Size Extension
-To Geometry Specifications</H3>
-<P>Any geometry string specification supplied to the Geometry
+</p>
+<p align="center" STYLE="margin-bottom: 0in"><b>ImageMagick Geometry
+Qualifiers</b></p>
+ <table width="90%" border="1" cellpadding="2" cellspacing="3">
+ <col width="36*" />
+ <col width="220*" />
+ <tr>
+ <td width="14%">
+ <p align="center"><b>Qualifier</b></p>
+ </td>
+ <td width="86%">
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="14%">
+ <p align="center"><b>%</b></p>
+ </td>
+ <td width="86%">
+ <p>Interpret width and height as a <b>percentage</b> of the
+ current size.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="14%">
+ <p align="center"><b>!</b></p>
+ </td>
+ <td width="86%">
+ <p>Resize to width and height <b>exactly</b>, loosing original
+ aspect ratio.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="14%">
+ <p align="center"><b><</b></p>
+ </td>
+ <td width="86%">
+ <p>Resize only if the image is <b>smaller</b> than the geometry
+ specification.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="14%">
+ <p align="center"><b>></b></p>
+ </td>
+ <td width="86%">
+ <p>Resize only if the image is <b>greater</b> than the geometry
+ specification.</p>
+ </td>
+ </tr>
+ </table>
+<h3><a name="PostscriptPageSize"></a>Postscript Page Size Extension
+To Geometry Specifications</h3>
+<p>Any geometry string specification supplied to the Geometry
constructor is considered to be a Postscript page size nickname if
the first character is not numeric. The Geometry constructor converts
these page size specifications into the equivalent numeric geometry
starts with a digit, it is not supported as a Postscript page size
nickname. Instead, substitute the geometry specification "<kbd>792x1224>"</kbd>
when 11x17 output is desired.
-</P>
-<P STYLE="margin-bottom: 0in">An example of a Postscript page size
+</p>
+<p style="margin-bottom: 0in">An example of a Postscript page size
specification is <kbd>"letter+43+43>"</kbd>.
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><b>Postscript Page Size
-Nicknames</b></P>
- <ul><TABLE WIDTH=70% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=105*>
- <COL WIDTH=151*>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><b>Postscript Page Size Nickname</b></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><b>Equivalent Extended Geometry Specification</b></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>Ledger</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1224x792></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>Legal</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>612x1008></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>Letter</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>612x792></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>LetterSmall</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>612x792></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>ArchE</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>2592x3456></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>ArchD</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1728x2592></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>ArchC</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1296x1728></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>ArchB</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>864x1296></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>ArchA</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>648x864></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A0</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>2380x3368></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A1</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1684x2380></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A2</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1190x1684></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A3</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>842x1190></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A4</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>595x842></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A4Small</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>595x842></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A5</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>421x595></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A6</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>297x421></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A7</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>210x297></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A8</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>148x210></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A9</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>105x148></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>A10</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>74x105></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B0</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>2836x4008></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B1</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>2004x2836></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B2</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1418x2004></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B3</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1002x1418></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B4</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>709x1002></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>B5</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>501x709></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C0</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>2600x3677></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C1</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1837x2600></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C2</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>1298x1837></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C3</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>918x1298></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C4</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>649x918></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C5</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>459x649></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>C6</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>323x459></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>Flsa</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>612x936></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>Flse</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>612x936></FONT></P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=41%>
- <P ALIGN=CENTER><FONT SIZE=2>HalfLetter</FONT></P>
- </TD>
- <TD WIDTH=59%>
- <P ALIGN=CENTER><FONT SIZE=2>396x612></FONT></P>
- </TD>
- </TR>
- </TABLE></ul>
-<H3 ALIGN=CENTER>Geometry Methods</H3>
-<P STYLE="margin-bottom: 0in">Geometry provides methods to initialize
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Postscript Page Size
+Nicknames</b></p>
+ <table width="70%" border="1" cellpadding="2" cellspacing="3">
+ <col width="105*" />
+ <col width="151*" />
+ <tr>
+ <td width="41%">
+ <p align="center"><b>Postscript Page Size Nickname</b></p>
+ </td>
+ <td width="59%">
+ <p align="center"><b>Equivalent Extended Geometry Specification</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">Ledger</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1224x792></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">Legal</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">612x1008></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">Letter</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">612x792></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">LetterSmall</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">612x792></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">ArchE</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">2592x3456></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">ArchD</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1728x2592></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">ArchC</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1296x1728></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">ArchB</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">864x1296></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">ArchA</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">648x864></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A0</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">2380x3368></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A1</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1684x2380></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A2</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1190x1684></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A3</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">842x1190></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A4</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">595x842></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A4Small</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">595x842></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A5</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">421x595></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A6</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">297x421></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A7</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">210x297></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A8</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">148x210></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A9</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">105x148></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">A10</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">74x105></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B0</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">2836x4008></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B1</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">2004x2836></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B2</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1418x2004></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B3</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1002x1418></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B4</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">709x1002></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">B5</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">501x709></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C0</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">2600x3677></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C1</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1837x2600></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C2</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">1298x1837></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C3</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">918x1298></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C4</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">649x918></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C5</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">459x649></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">C6</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">323x459></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">Flsa</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">612x936></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">Flse</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">612x936></font></p>
+ </td>
+ </tr>
+ <tr>
+ <td width="41%">
+ <p align="center"><font size="2">HalfLetter</font></p>
+ </td>
+ <td width="59%">
+ <p align="center"><font size="2">396x612></font></p>
+ </td>
+ </tr>
+ </table>
+<H3 align="center">Geometry Methods</H3>
+<p style="margin-bottom: 0in">Geometry provides methods to initialize
its value from strings, from a set of parameters, or via attributes.
The methods available for use in Geometry are shown in the following
table:
-</P>
-<P ALIGN=CENTER STYLE="margin-bottom: 0in"><b>Geometry Methods</b></P>
-<ul><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=3>
- <COL WIDTH=25*>
- <COL WIDTH=26*>
- <COL WIDTH=111*>
- <COL WIDTH=94*>
- <TR>
- <TD WIDTH=10%>
- <P ALIGN=CENTER><b>Method</b></P>
- </TD>
- <TD WIDTH=10%>
- <P ALIGN=CENTER><b>Return Type</b></P>
- </TD>
- <TD WIDTH=44%>
- <P ALIGN=CENTER><b>Signature(s)</b></P>
- </TD>
- <TD WIDTH=37%>
- <P ALIGN=CENTER><b>Description</b></P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=3 WIDTH=10%>
- <P>Geometry</P>
- </TD>
- <TD ROWSPAN=3 WIDTH=10% BGCOLOR="#666666">
- <P> </P>
- </TD>
- <TD WIDTH=44%>
- <P>size_t width_, size_t height_, ssize_t xOff_ =
+</p>
+<p align="center" style="margin-bottom: 0in"><b>Geometry Methods</b></p>
+<table width="100%" border="1" cellpadding="2" cellspacing="3">
+ <col width="25*" />
+ <col width="26*" />
+ <col width="111*" />
+ <col width="94*" />
+ <tr>
+ <td width="10%">
+ <p align="center"><b>Method</b></p>
+ </td>
+ <td width="10%">
+ <p align="center"><b>Return Type</b></p>
+ </td>
+ <td width="44%">
+ <p align="center"><b>Signature(s)</b></p>
+ </td>
+ <td width="37%">
+ <p align="center"><b>Description</b></p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="3" width="10%">
+ <p>Geometry</p>
+ </td>
+ <td rowspan="3" width="10%" bgcolor="#666666">
+ <p> </p>
+ </td>
+ <td width="44%">
+ <p>size_t width_, size_t height_, ssize_t xOff_ =
0, ssize_t yOff_ = 0, bool xNegative_ = false, bool
- yNegative_ = false</P>
- </TD>
- <TD WIDTH=37%>
- <P>Construct geometry via explicit parameters.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=44%>
- <P>const string geometry_</P>
- </TD>
- <TD WIDTH=37%>
- <P>Construct geometry from C++ string</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=44%>
- <P>const char * geometry_</P>
- </TD>
- <TD WIDTH=37%>
- <P>Construct geometry from C string</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>width</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>size_t width_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Width</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>size_t</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>height</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>size_t height_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Height</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>size_t</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>xOff</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>ssize_t xOff_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>X offset from origin</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>ssize_t</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>yOff</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>ssize_t yOff_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Y offset from origin</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>size_t</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>xNegative</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool xNegative_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Sign of X offset negative? (X origin at right)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>yNegative</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool yNegative_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Sign of Y offset negative? (Y origin at bottom)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>percent</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool percent_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Width and height are expressed as percentages</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>aspect</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool aspect_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Resize without preserving aspect ratio (!)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>greater</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool greater_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Resize if image is greater than size (>)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>less</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool less_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Resize if image is less than size (<)</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD ROWSPAN=2 WIDTH=10%>
- <P>isValid</P>
- </TD>
- <TD WIDTH=10%>
- <P>void</P>
- </TD>
- <TD WIDTH=44%>
- <P>bool isValid_</P>
- </TD>
- <TD ROWSPAN=2 WIDTH=37%>
- <P>Does object contain a valid geometry? May be set to <I>false</I>
- in order to invalidate an existing geometry object.</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>bool</P>
- </TD>
- <TD WIDTH=44%>
- <P>void</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>operator =</P>
- </TD>
- <TD WIDTH=10%>
- <P>const Geometry&</P>
- </TD>
- <TD WIDTH=44%>
- <P>const string geometry_</P>
- </TD>
- <TD WIDTH=37%>
- <P>Set geometry via C++ string</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>operator =</P>
- </TD>
- <TD WIDTH=10%>
- <P>const Geometry&</P>
- </TD>
- <TD WIDTH=44%>
- <P>const char * geometry_</P>
- </TD>
- <TD WIDTH=37%>
- <P>Set geometry via C string</P>
- </TD>
- </TR>
- <TR>
- <TD WIDTH=10%>
- <P>operator string</P>
- </TD>
- <TD WIDTH=10%>
- <P>string</P>
- </TD>
- <TD WIDTH=44%>
- <P>Geometry&</P>
- </TD>
- <TD WIDTH=37%>
- <P>Obtain C++ string representation of geometry</P>
- </TD>
- </TR>
-</TABLE></ul>
+ yNegative_ = false</p>
+ </td>
+ <td width="37%">
+ <p>Construct geometry via explicit parameters.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="44%">
+ <p>const string geometry_</p>
+ </td>
+ <td width="37%">
+ <p>Construct geometry from C++ string</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="44%">
+ <p>const char * geometry_</p>
+ </td>
+ <td width="37%">
+ <p>Construct geometry from C string</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>width</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>size_t width_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Width</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>size_t</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>height</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>size_t height_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Height</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>size_t</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>xOff</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>ssize_t xOff_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>X offset from origin</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>ssize_t</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>yOff</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>ssize_t yOff_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Y offset from origin</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>size_t</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>xNegative</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool xNegative_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Sign of X offset negative? (X origin at right)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>yNegative</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool yNegative_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Sign of Y offset negative? (Y origin at bottom)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>percent</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool percent_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Width and height are expressed as percentages</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>aspect</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool aspect_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Resize without preserving aspect ratio (!)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>greater</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool greater_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Resize if image is greater than size (>)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>less</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool less_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Resize if image is less than size (<)</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2" width="10%">
+ <p>isValid</p>
+ </td>
+ <td width="10%">
+ <p>void</p>
+ </td>
+ <td width="44%">
+ <p>bool isValid_</p>
+ </td>
+ <td rowspan="2" width="37%">
+ <p>Does object contain a valid geometry? May be set to <i>false</i>
+ in order to invalidate an existing geometry object.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>bool</p>
+ </td>
+ <td width="44%">
+ <p>void</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>operator =</p>
+ </td>
+ <td width="10%">
+ <p>const Geometry&</p>
+ </td>
+ <td width="44%">
+ <p>const string geometry_</p>
+ </td>
+ <td width="37%">
+ <p>Set geometry via C++ string</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>operator =</p>
+ </td>
+ <td width="10%">
+ <p>const Geometry&</p>
+ </td>
+ <td width="44%">
+ <p>const char * geometry_</p>
+ </td>
+ <td width="37%">
+ <p>Set geometry via C string</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="10%">
+ <p>operator string</p>
+ </td>
+ <td width="10%">
+ <p>string</p>
+ </td>
+ <td width="44%">
+ <p>Geometry&</p>
+ </td>
+ <td width="37%">
+ <p>Obtain C++ string representation of geometry</p>
+ </td>
+ </tr>
+</table>
<p>In addition, we support these yet to be documented geometry flags: the fill area flag ('^') and the pixel area count limit flag ('@').</p>
-<P><BR><BR>
-</P>
+<p><br /><br />
+</p>
</div>
-</BODY>
-</HTML>
+</body>
+</html>
& MNG) which are comprized of multiple image frames. Individual
frames of a multi-frame image may be requested by adding array-style
notation to the end of the file name (e.g. "animation.gif[3]" retrieves
-the fourth frame of a GIF animation. Various image manipulation
+the fourth frame of a GIF animation.  Various image manipulation
operations may be applied to the image. Attributes may be set on the
image to influence the operation of the manipulation operations. The <a
href="Pixels.html"> Pixels</a> class provides low-level access to
// Write the image to a file
image.write( "x.gif" );
}
- catch( Exception &error_ )
+ catch( Exception &error_ )
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
Magick++'s efficient reference-counted assignment and copy-constructor
operations which minimize use of memory and eliminate unncessary copy
operations (allowing Image objects to be efficiently assigned, and
-copied into containers). The program accomplishes the
+copied into containers).  The program accomplishes the
following:
<ol>
<li> Read master image.</li>
<li> Write the third image to a file.</li>
</ol>
<pre class="code">
-#include <Magick++.h>
-#include <iostream>
+#include <Magick++.h>
+#include <iostream>
using namespace std;
using namespace Magick;
int main(int argc,char **argv)
a 100 by 100 pixel white image with a red pixel in the center and
writes it to a file: </p>
<pre class="code">
-#include <Magick++.h>
+#include <Magick++.h>
using namespace std;
using namespace Magick;
int main(int argc,char **argv)
image.quantizeColors( 256 );
image.quantize( );
</pre>
-</p>
<p>or, more simply: </p>
<pre class="code">
image.type( GrayscaleType );
a <a href="Image.html#constructor_blob">constructor</a> or <a href="Image.html#read">read()</a>
. Likewise, a Magick++ image may be written to a Blob via <a
href="Image.html#write"> write()</a> .
-<p>An example of using Image to write to a Blob follows: <br>
- </p>
+<p>An example of using Image to write to a Blob follows: <br />
+  </p>
<pre class="code">
-#include <Magick++.h>
+#include <Magick++.h>
using namespace std;
using namespace Magick;
int main(int argc,char **argv)
// Write to BLOB in JPEG format
Blob blob;
image.magick( "JPEG" ) // Set JPEG output format
- image.write( &blob );
+ image.write( &blob );
[ Use BLOB data (in JPEG format) here ]
return 0;
}
</pre>
-<p><br>
+<p><br />
likewise, to read an image from a Blob, you could use one of the
following examples: </p>
<p>[ <font color="#000000">Entry condition for the following examples
Image may be constructed in a number of ways. It may be constructed
from a file, a URL, or an encoded image (e.g. JPEG) contained in an
in-memory <a href="Blob.html"> BLOB</a> . The available Image
-constructors are shown in the following table: <br>
- <br>
-
+constructors are shown in the following table: <br />
+  <br />
+ 
<ul><table bgcolor="#ffffff" border="1" width="100%">
<caption><b>Image Constructors</b></caption> <tbody>
<tr>
may
also be specified. Some image formats require that size be specified.
The default ImageMagick uses for depth depends on the compiled-in
-Quantum size (8 or 16). If ImageMagick's Quantum size does not
+Quantum size (8 or 16).  If ImageMagick's Quantum size does not
match that of the image, the depth may need to be specified.
ImageMagick can usually automagically detect the image's format.
When a format can't be automagically detected, the format (<a
string &magick_</font></td>
</tr>
<tr>
- <td><font size="-1">const size_t width_, </font> <br>
- <font size="-1">const size_t height_,</font> <br>
- <font size="-1">std::string map_,</font> <br>
+ <td><font size="-1">const size_t width_, </font> <br />
+ <font size="-1">const size_t height_,</font> <br />
+ <font size="-1">std::string map_,</font> <br />
<font size="-1">const <a href="Enumerations.html#StorageType">
-StorageType</a> type_,</font> <br>
+StorageType</a> type_,</font> <br />
<font size="-1">const void *pixels_</font></td>
<td><font size="-1">Construct a new Image based on an array of
image pixels. The pixel data must be in scanline order top-to-bottom.
The data can be character, short int, integer, float, or double. Float
and double require the pixels to be normalized [0..1]. The other types
-are [0..MaxRGB]. For example, to create a 640x480 image from
+are [0..MaxRGB].  For example, to create a 640x480 image from
unsigned red-green-blue character data, use</font>
- <p><font size="-1"> Image image( 640, 480, "RGB",
+ <p><font size="-1">   Image image( 640, 480, "RGB",
0, pixels );</font> </p>
- <p><font size="-1">The parameters are as follows:</font> <br>
-
+ <p><font size="-1">The parameters are as follows:</font> <br />
+ 
<table border="0" width="100%">
<tbody>
<tr>
must process a multi-image file (such as an animation), the <a
href="STL.html"> STL interface</a> , which provides a multi-image
abstraction on top of <i>Image</i>, must be used.
-<p>Image manipulation methods are very easy to use. For example: </p>
+<p>Image manipulation methods are very easy to use.  For example: </p>
<pre class="code">
Image image;
image.read("myImage.tiff");
image.write("myImage.tiff");
</pre>
adds gaussian noise to the image file "myImage.tiff".
-<p>The operations supported by Image are shown in the following table: <br>
-
+<p>The operations supported by Image are shown in the following table: <br />
+ 
<ul><table nosave="" border="1">
<caption><b>Image Image Manipulation Methods</b></caption> <tbody>
<tr align="center">
<tr>
<td style="text-align: center;" valign="middle">
<div align="center"><a name="adaptiveThreshold"></a> <font
- size="-1">adaptiveThreshold<br>
+ size="-1">adaptiveThreshold<br />
</font></div>
</td>
<td valign="middle"><font size="-1">size_t width, size_t
-height, size_t offset = 0<br>
+height, size_t offset = 0<br />
</font></td>
<td valign="top"><font size="-1">Apply adaptive thresholding to
the image. Adaptive thresholding is useful if the ideal threshold level
and using the mean as the thresholding value. In order to remove
residual noise from the background, the threshold may be adjusted by
subtracting a constant <i>offset</i> (default zero) from the mean to
-compute the threshold.</font><br>
+compute the threshold.</font><br />
</td>
</tr>
<tr>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="addNoiseChannel"></a>addNoiseChannel<br>
+ name="addNoiseChannel"></a>addNoiseChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
-channel_, const NoiseType noiseType_<br>
+channel_, const NoiseType noiseType_<br />
</small></td>
<td style="vertical-align: middle;"><small>Add noise to an image
channel with the specified noise type.</small><font size="-1"> The <span
style="font-style: italic;">channel_</span> parameter specifies the
-channel to add noise to. The </font><small>noiseType_ parameter
-specifies the type of noise.<br>
+channel to add noise to.  The </font><small>noiseType_ parameter
+specifies the type of noise.<br />
</small></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="affineTransform"></a>affineTransform<br>
+ name="affineTransform"></a>affineTransform<br />
</small></td>
<td style="vertical-align: middle;"><small>const DrawableAffine
-&affine<br>
+&affine<br />
</small></td>
<td style="vertical-align: middle;"><small>Transform image by
-specified affine (or free transform) matrix.<br>
+specified affine (or free transform) matrix.<br />
</small></td>
</tr>
<tr>
<td><font size="-1">const std::string &text_, const <a
href="Geometry.html"> Geometry</a> &boundingArea_, <a
href="Enumerations.html#GravityType">GravityType</a> gravity_, double
-degrees_, </font></td>
+degrees_, </font></td>
<td><font size="-1">Annotate with text using specified text,
bounding area, placement gravity, and rotation. If <i>boundingArea_</i>
is invalid, then bounding area is entire image.</font></td>
<td><font size="-1">Blur image. The <i>radius_ </i>parameter
specifies the radius of the Gaussian, in pixels, not counting the
center
-pixel. The <i>sigma_</i> parameter specifies the standard
+pixel.  The <i>sigma_</i> parameter specifies the standard
deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="blurChannel"></a>blurChannel<br>
+ name="blurChannel"></a>blurChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
-channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br />
</small></td>
<td style="vertical-align: middle;"><font size="-1">Blur an image
channel. The <span style="font-style: italic;">channel_</span>
parameter specifies the channel to blur. The <i>radius_ </i>parameter
specifies the radius of the Gaussian, in pixels, not counting the
center
-pixel. The <i>sigma_</i> parameter specifies the standard
+pixel.  The <i>sigma_</i> parameter specifies the standard
deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&geometry_ = "6x6+0+0"</font></td>
- <td><font size="-1">Border image (add border to image). The
+ <td><font size="-1">Border image (add border to image).  The
color of the border is specified by the <i>borderColor</i> attribute.</font></td>
</tr>
<tr>
<td><font size="-1"><a href="Enumerations.html#ChannelType">ChannelType</a>
layer_</font></td>
<td><font size="-1">Extract channel from image. Use this option
-to extract a particular channel from the image. <i>MatteChannel</i>
- for example, is useful for extracting the opacity values
+to extract a particular channel from  the image.  <i>MatteChannel</i>
+  for  example, is useful for extracting the opacity values
from an image.</font></td>
</tr>
<tr>
= 0.5</font></td>
<td><font size="-1">Charcoal effect image (looks like charcoal
sketch). The <i>radius_</i> parameter specifies the radius of the
-Gaussian, in pixels, not counting the center pixel. The <i>sigma_</i>
+Gaussian, in pixels, not counting the center pixel.  The <i>sigma_</i>
parameter specifies the standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">const std::string &comment_</font></td>
<td><font size="-1">Comment image (add comment string to
-image). By default, each image is commented with its file name.
-Use this method to assign a specific comment to the
-image. Optionally you can include the image filename, type,
-width, height, or other image attributes by embedding <a
+image).  By default, each image is commented with its file name.
+Use  this  method to  assign a specific comment to the
+image.  Optionally you can include the image filename, type,
+width, height, or other  image  attributes by embedding <a
href="FormatCharacters.html">special format characters.</a> </font></td>
</tr>
<tr>
<td style="text-align: center;" valign="middle"><font size="-1"><a
- name="compare"></a> compare<br>
+ name="compare"></a> compare<br />
</font></td>
- <td valign="middle"><font size="-1">const Image &reference_<br>
+ <td valign="middle"><font size="-1">const Image &reference_<br />
</font></td>
<td valign="top"><font size="-1">Compare current image with
another image. Sets <a href="Image.html#meanErrorPerPixel">meanErrorPerPixel</a>
image. False is returned if the images are identical. An ErrorOption
exception is thrown if the reference image columns, rows, colorspace,
or
-matte differ from the current image.</font><br>
+matte differ from the current image.</font><br />
</td>
</tr>
<tr>
compose_ = <i>InCompositeOp</i></font></td>
<td><font size="-1">Compose an image onto the current image at
offset specified by <i>xOffset_</i>, <i>yOffset_ </i>using the
-composition algorithm specified by <i>compose_</i>. </font></td>
+composition algorithm specified by <i>compose_</i>. </font></td>
</tr>
<tr>
<td><font size="-1">const <a href="Image.html">Image</a>
compose_ = <i>InCompositeOp</i></font></td>
<td><font size="-1">Compose an image onto the current image at
offset specified by <i>offset_</i> using the composition algorithm
-specified by <i>compose_</i> . </font></td>
+specified by <i>compose_</i> . </font></td>
</tr>
<tr>
<td><font size="-1">const <a href="Image.html">Image</a>
<td><font size="-1">Compose an image onto the current image with
placement specified by <i>gravity_ </i>using the composition
algorithm
-specified by <i>compose_</i>. </font></td>
+specified by <i>compose_</i>. </font></td>
</tr>
<tr>
<td style="text-align: center;">
<center><a name="convolve"></a> <font size="-1">convolve</font></center>
</td>
<td><font size="-1">size_t order_, const double *kernel_</font></td>
- <td><font size="-1">Convolve image. Applies a user-specfied
+ <td><font size="-1">Convolve image.  Applies a user-specfied
convolution to the image. The <i>order_</i> parameter represents the
number of columns and rows in the filter kernel, and <i>kernel_</i>
is a two-dimensional array of doubles representing the convolution
<center><a name="display"></a> <font size="-1">display</font></center>
</td>
<td><font size="-1">void</font></td>
- <td><font size="-1">Display image on screen.</font> <br>
+ <td><font size="-1">Display image on screen.</font> <br />
<font size="-1"><b><font color="#ff0000">Caution: </font></b> if
an image format is is not compatible with the display visual (e.g.
JPEG on a colormapped display) then the original image will be
<center><a name="distort"></a> <font size="-1">distort</font></center>
</td>
<td><font size="-1">const DistortImageMethod method, const size_t number_arguments, const double *arguments, const bool bestfit = false </font></td>
- <td><font size="-1">Distort image. Applies a user-specfied
+ <td><font size="-1">Distort image.  Applies a user-specfied
distortion to the image.</font></td>
</tr>
<tr>
<center><a name="edge"></a> <font size="-1">edge</font></center>
</td>
<td><font size="-1">size_t radius_ = 0.0</font></td>
- <td><font size="-1">Edge image (hilight edges in image).
+ <td><font size="-1">Edge image (hilight edges in image). 
The radius is the radius of the pixel neighborhood.. Specify a radius
of zero for automatic radius selection.</font></td>
</tr>
= 0.5</font></td>
<td><font size="-1">Emboss image (hilight edges with 3D effect).
The <i> radius_</i> parameter specifies the radius of the Gaussian, in
-pixels, not counting the center pixel. The <i>sigma_</i>
+pixels, not counting the center pixel.  The <i>sigma_</i>
parameter specifies the standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</tr>
<tr>
<td style="text-align: center;" rowspan="4">
- <center><a name="extent"></a> <font size="-1">extent</font></td>
+ <center><a name="extent"></a> <font size="-1">extent</font></center></td>
<td><font size="-1">const <a href="Geometry.html"> Geometry</a> &geometry_</font></td>
<td rowspan="2"><font size="-1">extends the image as defined by the geometry, gravity, and image background color.</font></td>
</tr>
<tr>
<td style="text-align: center;" rowspan="4">
<center><a name="floodFillColor"></a> <font size="-1">floodFill-</font>
- <br>
+ <br />
<font size="-1">Color</font></center>
</td>
<td><font size="-1">ssize_t x_, ssize_t y_, const <a
<tr>
<td style="text-align: center;" rowspan="4">
<center><a name="floodFillTexture"></a> <font size="-1">floodFill-</font>
- <br>
+ <br />
<font size="-1">Texture</font></center>
</td>
- <td><font size="-1">ssize_t x_, ssize_t y_, const
+ <td><font size="-1">ssize_t x_, ssize_t y_,  const
Image &texture_</font></td>
<td rowspan="2"><font size="-1">Flood-fill texture across pixels
that match the color of the target pixel and are neighbors of the
<td style="text-align: center;">
<center><a name="flop"></a> <font size="-1">flop</font></center>
</td>
- <td><font size="-1">void </font></td>
+ <td><font size="-1">void </font></td>
<td><font size="-1">Flop image (reflect each scanline in the
horizontal direction)</font></td>
</tr>
<center><a name="fx"></a> <font size="-1">fx</font></center>
</td>
<td><font size="-1">const std::string expression, const Magick::ChannelType channel</font></td>
- <td><font size="-1">Fx image. Applies a mathematical
+ <td><font size="-1">Fx image.  Applies a mathematical
expression to the image.</font></td>
</tr>
<tr>
<td><font size="-1">const double width_, const double sigma_</font></td>
<td><font size="-1">Gaussian blur image. The number of neighbor
pixels to be included in the convolution mask is specified by
-'width_'. For example, a width of one gives a (standard) 3x3
+'width_'.  For example, a width of one gives a (standard) 3x3
convolution mask. The standard deviation of the gaussian bell curve is
specified by 'sigma_'.</font></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="gaussianBlurChannel"></a>gaussianBlurChannel<br>
+ name="gaussianBlurChannel"></a>gaussianBlurChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
-channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br />
</small></td>
<td style="vertical-align: middle;"><font size="-1">Gaussian blur
an image channel. </font><font size="-1">The <span
style="font-style: italic;">channel_</span> parameter specifies the
channel to blur. </font><font size="-1">The number of neighbor
pixels to be included in the convolution mask is specified by
-'width_'. For example, a width of one gives a (standard) 3x3
+'width_'.  For example, a width of one gives a (standard) 3x3
convolution mask. The standard deviation of the gaussian bell curve is
specified by 'sigma_'.</font></td>
</tr>
<tr>
<td style="text-align: center;" valign="middle"><font size="-1"><a
- name="haldClut"></a> haldClut<br>
+ name="haldClut"></a> haldClut<br />
</font></td>
- <td valign="middle"><font size="-1">const Image &reference_<br>
+ <td valign="middle"><font size="-1">const Image &reference_<br />
</font></td>
- <td valign="top"><font size="-1">apply a Hald color lookup table to the image.</font><br>
+ <td valign="top"><font size="-1">apply a Hald color lookup table to the image.</font><br />
</td>
</tr>
<tr>
</td>
<td><font size="-1">const string &label_</font></td>
<td><font size="-1">Assign a label to an image. Use this option
-to assign a specific label to the image. Optionally
+to  assign  a  specific label to the image. Optionally
you can include the image filename, type, width, height, or scene
-number in the label by embedding <a href="FormatCharacters.html">
+number in the label by embedding  <a href="FormatCharacters.html">
special format characters.</a> If the first character of string is @,
the
image label is read from a file titled by the remaining characters in
-the string. When converting to Postscript, use this option to
+the string. When converting to Postscript, use this  option to
specify a header string to print above the image.</font></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;"><small><a
- name="level"></a>level<br>
+ name="level"></a>level<br />
</small></td>
<td style="vertical-align: top;"><small>const double black_point,
-const double white_point, const double mid_point=1.0<br>
+const double white_point, const double mid_point=1.0<br />
</small></td>
<td style="vertical-align: top;"><small>Level image. Adjust the
levels of the image by scaling the colors falling between specified
white and black points to the full available quantum range. The
parameters provided represent the black, mid (gamma), and white
-points. The black point specifies the darkest color in the image.
+points.  The black point specifies the darkest color in the image.
Colors darker than the black point are set to zero. Mid point (gamma)
specifies a gamma correction to apply to the image. White point
-specifies the lightest color in the image. Colors brighter than
+specifies the lightest color in the image.  Colors brighter than
the white point are set to the maximum quantum value. The black and
white point have the valid range 0 to MaxRGB while mid (gamma) has a
-useful range of 0 to ten.<br>
+useful range of 0 to ten.<br />
</small></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="levelChannel"></a>levelChannel<br>
+ name="levelChannel"></a>levelChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
channel, const double black_point, const double white_point, const
-double mid_point=1.0<br>
+double mid_point=1.0<br />
</small></td>
<td style="vertical-align: middle;"><small>Level image channel.
Adjust the levels of the image channel by scaling the values falling
specifies the lightest color in the image. Colors brighter than the
white point are set to the maximum quantum value. The black and white
point have the valid range 0 to MaxRGB while mid (gamma) has a useful
-range of 0 to ten.<br>
+range of 0 to ten.<br />
</small></td>
</tr>
<tr>
reference image. Set dither_ to <i>true</i> in to apply
Floyd/Steinberg
error diffusion to the image. By default, color reduction chooses an
-optimal set of colors that best represent the original
-image. Alternatively, you can choose a
-particular set of colors from an image file
+optimal  set  of colors that best represent the original
+image. Alternatively, you can  choose  a 
+particular  set  of colors  from  an image file
with this option.</font></td>
</tr>
<tr>
<center><a name="matteFloodfill"></a> <font size="-1">matteFloodfill</font></center>
</td>
<td><font size="-1">const <a href="Color.html">Color</a>
-&target_, const unsigned int opacity_, const ssize_t x_, const
+&target_, const unsigned int  opacity_, const ssize_t x_, const
ssize_t
y_, <a href="Enumerations.html#PaintMethod">PaintMethod</a> method_</font></td>
<td><font size="-1">Floodfill designated area with a replacement
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="motionBlur"></a>motionBlur<br>
+ name="motionBlur"></a>motionBlur<br />
</small></td>
<td style="vertical-align: middle;"><small>const double radius_,
-const double sigma_, const double angle_<br>
+const double sigma_, const double angle_<br />
</small></td>
<td style="vertical-align: middle;"><small>Motion blur image with
specified blur factor. The radius_ parameter specifies the radius of
-the Gaussian, in pixels, not counting the center pixel. The
+the Gaussian, in pixels, not counting the center pixel.  The
sigma_ parameter specifies the standard deviation of the Laplacian, in
pixels. The angle_ parameter specifies the angle the object appears to
-be comming from (zero degrees is from the right).<br>
+be comming from (zero degrees is from the right).<br />
</small></td>
</tr>
<tr>
<center><a name="negate"></a> <font size="-1">negate</font></center>
</td>
<td><font size="-1">bool grayscale_ = false</font></td>
- <td><font size="-1">Negate colors in image. Replace every
+ <td><font size="-1">Negate colors in image.  Replace every
pixel with its complementary color (white becomes black, yellow becomes
-blue, etc.). Set grayscale to only negate grayscale values in
+blue, etc.).  Set grayscale to only negate grayscale values in
image.</font></td>
</tr>
<tr>
image. If the image pixels are opaque then they are set to the
specified
opacity value, otherwise they are blended with the supplied opacity
-value. The value of opacity_ ranges from 0 (completely opaque) to
+value.  The value of opacity_ ranges from 0 (completely opaque) to
<i>MaxRGB</i>
. The defines <i>OpaqueOpacity</i> and <i>TransparentOpacity</i> are
available to specify completely opaque or completely transparent,
<td><font size="-1">const std::string &imageSpec_</font></td>
<td rowspan="2" nosave=""><font size="-1">Ping is similar to read
except only enough of the image is read to determine the image columns,
-rows, and filesize. The <a href="Image.html#columns">columns</a> </font>,
+rows, and filesize.  The <a href="Image.html#columns">columns</a> </font>,
<font size="-1"><a href="Image.html#rows">rows</a> , and <a
href="Image.html#fileSize">fileSize</a>
-attributes are valid after invoking ping. The image data is not
+attributes are valid after invoking ping.  The image data is not
valid after calling ping.</font></td>
</tr>
<tr>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="process"></a>process<br>
+ name="process"></a>process<br />
</small></td>
<td style="vertical-align: middle;"><small>std::string name_,
-const ssize_t argc_, char **argv_<br>
+const ssize_t argc_, char **argv_<br />
</small></td>
<td style="vertical-align: middle;"><small>Execute the named
process module, passing any arguments via an argument vector, with
specifying the number of arguments in the vector, and argv_ passing the
address of an array of null-terminated C strings which constitute the
argument vector. An exception is thrown if the requested process module
-does not exist, fails to load, or fails during execution.</small><br>
+does not exist, fails to load, or fails during execution.</small><br />
</td>
</tr>
<tr>
<center><a name="raise"></a> <font size="-1">raise</font></center>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&geometry_ = "6x6+0+0", bool raisedFlag_ = false</font></td>
+&geometry_ = "6x6+0+0",  bool raisedFlag_ =  false</font></td>
<td><font size="-1">Raise image (lighten or darken the edges of
an image to give a 3-D raised or lowered effect)</font></td>
</tr>
object. Depending on the method arguments, the Blob size, depth, and
format may also be specified. Some image formats require that size be
specified. The default ImageMagick uses for depth depends on its
-Quantum size (8 or 16). If ImageMagick's Quantum size does not
+Quantum size (8 or 16).  If ImageMagick's Quantum size does not
match that of the image, the depth may need to be specified.
ImageMagick can usually automagically detect the image's format.
When
<tr>
<td><font size="-1">const <a href="Blob.html">Blob</a>
&blob_, const <a href="Geometry.html">Geometry</a> &size_,
-size_t depth_, const string &magick_ </font></td>
+size_t depth_, const string &magick_ </font></td>
</tr>
<tr>
<td><font size="-1">const <a href="Blob.html">Blob</a>
The pixel data must be in scanline order top-to-bottom. The data can be
character, short int, integer, float, or double. Float and double
require the pixels to be normalized [0..1]. The other types are
-[0..MaxRGB]. For example, to create a 640x480 image from
+[0..MaxRGB].  For example, to create a 640x480 image from
unsigned red-green-blue character data, use</font>
- <p><font size="-1"> image.read( 640, 480, "RGB", CharPixel,
+ <p><font size="-1">  image.read( 640, 480, "RGB", CharPixel,
pixels );</font> </p>
- <p><font size="-1">The parameters are as follows:</font> <br>
-
+ <p><font size="-1">The parameters are as follows:</font> <br />
+ 
<table border="0" width="100%">
<tbody>
<tr>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="randomThreshold"></a>randomThreshold<br>
+ name="randomThreshold"></a>randomThreshold<br />
</small></td>
<td style="vertical-align: middle;"><small>const Geometry
-&thresholds_<br>
+&thresholds_<br />
</small></td>
<td style="vertical-align: middle;"><small>Random threshold the
image. Changes the value of individual pixels based on the intensity of
-each pixel compared to a random threshold. The result is a
-low-contrast, two color image. The thresholds_ argument is a
-geometry containing LOWxHIGH thresholds. If the string contains
+each pixel compared to a random threshold.  The result is a
+low-contrast, two color image.  The thresholds_ argument is a
+geometry containing LOWxHIGH thresholds.  If the string contains
2x2, 3x3, or 4x4, then an ordered dither of order 2, 3, or 4 will be
performed instead. This is a very fast alternative to 'quantize' based
-dithering.<br>
+dithering.<br />
</small></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="randomThresholdChannel"></a>randomThresholdChannel<br>
+ name="randomThresholdChannel"></a>randomThresholdChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const Geometry
-&thresholds_, const ChannelType channel_<br>
+&thresholds_, const ChannelType channel_<br />
</small></td>
<td style="vertical-align: middle;"><small>Random threshold an
image channel. Similar to <a href="Image.html#randomThreshold">randomThreshold</a>()
-but restricted to the specified channel.<br>
+but restricted to the specified channel.<br />
</small></td>
</tr>
<tr>
<center><a name="sample"></a> <font size="-1">sample</font></center>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&geometry_ </font></td>
+&geometry_ </font></td>
<td><font size="-1">Resize image by using pixel sampling algorithm</font></td>
</tr>
<tr>
<td style="text-align: center;">
<center><a name="segment"></a> <font size="-1">segment</font></center>
</td>
- <td><font size="-1">double clusterThreshold_ = 1.0,</font> <br>
+ <td><font size="-1">double clusterThreshold_ = 1.0,</font> <br />
<font size="-1">double smoothingThreshold_ = 1.5</font></td>
<td><font size="-1">Segment (coalesce similar image components)
by analyzing the histograms of the color components and identifying
units that are homogeneous with the fuzzy c-means technique. Also uses <i>quantizeColorSpace</i>
and <i>verbose</i> image attributes. Specify <i> clusterThreshold_</i>
,
-as the number of pixels each cluster must
+as the number  of  pixels  each cluster  must
exceed
the cluster threshold to be considered valid. <i>SmoothingThreshold_</i>
-eliminates noise in the second derivative of the histogram. As
+eliminates noise in the  second derivative of the histogram. As
the
-value is increased, you can expect a smoother
-second derivative. The default is 1.5.</font></td>
+value is  increased, you can  expect  a  smoother
+second derivative.  The default is 1.5.</font></td>
</tr>
<tr>
<td style="text-align: center;">
<center><a name="shade"></a> <font size="-1">shade</font></center>
</td>
<td><font size="-1">double azimuth_ = 30, double elevation_ = 30,</font>
- <br>
+ <br />
<font size="-1">bool colorShading_ = false</font></td>
<td><font size="-1">Shade image using distant light source.
-Specify <i> azimuth_</i> and <i>elevation_</i> as the
-position of the light source. By default, the shading
+Specify <i> azimuth_</i> and <i>elevation_</i> as the 
+position  of  the light source. By default, the shading
results as a grayscale image.. Set c<i>olorShading_</i> to <i>true</i>
to
shade the red, green, and blue components of the image.</font></td>
</td>
<td><font size="-1">const double radius_ = 1, const double sigma_
= 0.5</font></td>
- <td><font size="-1">Sharpen pixels in image. The <i>radius_</i>
+ <td><font size="-1">Sharpen pixels in image.  The <i>radius_</i>
parameter specifies the radius of the Gaussian, in pixels, not counting
-the center pixel. The <i>sigma_</i> parameter specifies the
+the center pixel.  The <i>sigma_</i> parameter specifies the
standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="sharpenChannel"></a>sharpenChannel<br>
+ name="sharpenChannel"></a>sharpenChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
-channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br />
</small></td>
<td style="vertical-align: middle;"><font size="-1">Sharpen pixel
-quantums in an image channel The <span
+quantums in an image channel  The <span
style="font-style: italic;">channel_</span> parameter specifies the
-channel to sharpen.. The <i>radius_</i>
+channel to sharpen..  The <i>radius_</i>
parameter specifies the radius of the Gaussian, in pixels, not counting
-the center pixel. The <i>sigma_</i> parameter specifies the
+the center pixel.  The <i>sigma_</i> parameter specifies the
standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">double xShearAngle_, double yShearAngle_</font></td>
<td><font size="-1">Shear image (create parallelogram by sliding
-image by X or Y axis). Shearing slides one edge of an image along
-the X or Y axis, creating a
-parallelogram. An X direction shear slides an edge along the X
-axis, while a Y direction shear slides
-an edge along the Y axis. The amount of the shear is controlled
-by a shear angle. For X direction shears, x
+image by X or Y axis).  Shearing slides one edge of an image along
+the X  or  Y axis,  creating  a
+parallelogram.  An X direction shear slides an edge along the X
+axis, while  a  Y  direction shear  slides 
+an edge along the Y axis.  The amount of the shear is controlled
+by a shear angle.  For X direction  shears,  x 
degrees is measured relative to the Y axis, and similarly, for Y
-direction shears y degrees is measured relative to the X
-axis. Empty triangles left over from shearing the image are
-filled with the color defined as <i>borderColor</i>. </font></td>
+direction shears  y  degrees is measured relative to the X
+axis. Empty triangles left over from shearing the  image  are
+filled  with  the  color  defined as <i>borderColor</i>. </font></td>
</tr>
<tr>
<td style="text-align: center;">
<tr>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&imageGeometry_, const <a href="Geometry.html">Geometry</a>
-&cropGeometry_ </font></td>
+&cropGeometry_ </font></td>
</tr>
<tr>
<td style="text-align: center;">
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="unsharpmaskChannel"></a>unsharpmaskChannel<br>
+ name="unsharpmaskChannel"></a>unsharpmaskChannel<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
channel_, const double radius_, const double sigma_, const double
-amount_, const double threshold_<br>
+amount_, const double threshold_<br />
</small></td>
<td style="vertical-align: middle;"><small>Sharpen an image
channel using the unsharp mask algorithm. The <span
</td>
<td><font size="-1">const string &imageSpec_</font></td>
<td><font size="-1">Write image to a file using filename i<i>mageSpec_</i>
-.</font> <br>
+.</font> <br />
<font size="-1"><b><font color="#ff0000">Caution: </font></b> if
an image format is selected which is capable of supporting fewer
colors than the original image or quantization has been requested, the
href="Blob.html"> BLOB</a> stored in <i>blob_</i>. The <i>magick</i>_
parameter specifies the image format to write (defaults to <a
href="Image.html#magick">magick</a> ). The depth_ parameter species the image
-depth (defaults to <a href="Image.html#depth"> depth</a> ).</font> <br>
+depth (defaults to <a href="Image.html#depth"> depth</a> ).</font> <br />
<font size="-1"><b><font color="#ff0000">Caution: </font></b> if
an image format is selected which is capable of supporting fewer
colors than the original image or quantization has been requested, the
format in the order specified by the type_ parameter. For example, we
want to extract scanline 1 of a 640x480 image as character data in
red-green-blue order:</font>
- <p><font size="-1"> image.write(0,0,640,1,"RGB",0,pixels);</font>
+ <p><font size="-1">  image.write(0,0,640,1,"RGB",0,pixels);</font>
</p>
- <p><font size="-1">The parameters are as follows:</font> <br>
-
+ <p><font size="-1">The parameters are as follows:</font> <br />
+ 
<table border="0" width="100%">
<tbody>
<tr>
image.write(filename)
</pre>
The supported image attributes and the method arguments required to
-obtain them are shown in the following table: <br>
-
+obtain them are shown in the following table: <br />
+ 
<ul><table border="1">
<caption>Image Attributes</caption> <tbody>
<tr>
<tr>
<td>
<center><a name="animationDelay"></a> <font size="-1">animation-</font>
- <br>
+ <br />
<font size="-1">Delay</font></center>
</td>
<td><font size="-1">size_t (0 to 65535)</font></td>
<td><font size="-1">Time in 1/100ths of a second (0 to 65535)
which must expire before displaying the next image in an animated
sequence. This option is useful for regulating the animation of a
-sequence of GIF images within Netscape.</font></td>
+sequence  of GIF images within Netscape.</font></td>
</tr>
<tr>
<td>
<center><a name="animationIterations"></a> <font size="-1">animation-</font>
- <br>
+ <br />
<font size="-1">Iterations</font></center>
</td>
<td><font size="-1">size_t</font></td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><a
- name="attribute"></a>attribute<br>
+ name="attribute"></a>attribute<br />
</small></td>
- <td style="vertical-align: middle;"><small>string<br>
+ <td style="vertical-align: middle;"><small>string<br />
</small></td>
<td style="vertical-align: top;" valign="top"><small>const
-std::string name_<br>
+std::string name_<br />
</small></td>
<td style="vertical-align: top;" valign="top"><small>const
std::string name_, const std::string value_</small></td>
image. For example, the image comment is a named image attribute with
the name "comment". EXIF tags are attached to the image as named
attributes. Use the syntax "EXIF:<tag>" to request an EXIF tag
-similar to "EXIF:DateTime".</small><br>
+similar to "EXIF:DateTime".</small><br />
</td>
</tr>
<tr>
<td>
<center><a name="backgroundColor"></a> <font size="-1">background-</font>
- <br>
+ <br />
<font size="-1">Color</font></center>
</td>
<td><font size="-1"><a href="Color.html">Color</a> </font></td>
<tr>
<td>
<center><a name="backgroundTexture"></a> <font size="-1">background-</font>
- <br>
+ <br />
<font size="-1">Texture</font></center>
</td>
<td><font size="-1">string</font></td>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Base image width (before transformations)</font></td>
</tr>
<tr>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Base image filename (before transformations)</font></td>
</tr>
<tr>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Base image height (before transformations)</font></td>
</tr>
<tr>
</td>
<td><font size="-1"><a href="Color.html">Color</a> </font></td>
<td><font size="-1">void</font></td>
- <td><font size="-1"> const <a href="Color.html">Color</a>
+ <td><font size="-1"> const <a href="Color.html">Color</a>
&color_</font></td>
<td><font size="-1">Image border color</font></td>
</tr>
<td><a name="boundingBox"></a> <font size="-1">boundingBox</font></td>
<td><font size="-1">Geometry</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Return smallest bounding box enclosing
non-border pixels. The current fuzz value is used when discriminating
between pixels. This is the crop bounding box used by
<tr>
<td><a name="cacheThreshold"></a> <font size="-1">cacheThreshold</font></td>
<td><font size="-1">size_t</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">const size_t</font></td>
<td><font size="-1">Pixel cache threshold in megabytes. Once this
threshold is exceeded, all subsequent pixels cache operations are
</tr>
<tr>
<td style="vertical-align: middle;" valign="middle"><small><a
- name="channelDepth"></a>channelDepth<br>
+ name="channelDepth"></a>channelDepth<br />
</small></td>
<td style="vertical-align: middle;" valign="middle"><small>size_t
-<br>
+<br />
</small></td>
<td style="vertical-align: middle;" valign="middle"><small>const
-ChannelType channel_<br>
+ChannelType channel_<br />
</small></td>
<td style="vertical-align: middle;"><small>const ChannelType
-channel_, const size_t depth_<br>
+channel_, const size_t depth_<br />
</small></td>
<td style="vertical-align: middle;"><small>Channel modulus depth.
The channel modulus depth represents the minimum number of bits
the current modulus depth is obtained by inspecting the pixels. As a
result, the depth returned may be less than the most recently set
channel depth. Subsequent image processing may result in increasing the
-channel depth.<br>
+channel depth.<br />
</small></td>
</tr>
<tr>
<td>
<center><a name="chromaBluePrimary"></a> <font size="-1">chroma-</font>
- <br>
+ <br />
<font size="-1">BluePrimary</font></center>
</td>
<td><font size="-1">double x & y</font></td>
<tr>
<td>
<center><a name="chromaGreenPrimary"></a> <font size="-1">chroma-</font>
- <br>
+ <br />
<font size="-1">GreenPrimary</font></center>
</td>
<td><font size="-1">double x & y</font></td>
<tr>
<td>
<center><a name="chromaRedPrimary"></a> <font size="-1">chroma-</font>
- <br>
+ <br />
<font size="-1">RedPrimary</font></center>
</td>
<td><font size="-1">double x & y</font></td>
<tr>
<td>
<center><a name="chromaWhitePoint"></a> <font size="-1">chroma-</font>
- <br>
+ <br />
<font size="-1">WhitePoint</font></center>
</td>
<td><font size="-1">double x & y</font></td>
<td><font size="-1"><a href="Enumerations.html#ClassType">ClassType</a>
</font></td>
<td><font size="-1">void</font></td>
- <td><font size="-1"> <a href="Enumerations.html#ClassType">ClassType</a>
+ <td><font size="-1"> <a href="Enumerations.html#ClassType">ClassType</a>
class_</font></td>
- <td><font size="-1">Image storage class. Note that
+ <td><font size="-1">Image storage class.  Note that
conversion from a DirectClass image to a PseudoClass image may result
in a loss of color due to the limited size of the palette (256 or
65535 colors).</font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">double fuzz_</font></td>
<td><font size="-1">Colors within this distance are considered
-equal. A number of algorithms search for a target color. By
+equal. A number of algorithms search for a target  color. By
default the color must be exact. Use this option to match colors that
are close to the target color in RGB space.</font></td>
</tr>
</tr>
<tr>
<td valign="middle">
- <div align="center"><a name="colorMapSize"></a> <font size="-1">colorMapSize<br>
+ <div align="center"><a name="colorMapSize"></a> <font size="-1">colorMapSize<br />
</font></div>
</td>
- <td valign="middle"><font size="-1">size_t<br>
+ <td valign="middle"><font size="-1">size_t<br />
</font></td>
- <td valign="middle"><font size="-1">void<br>
+ <td valign="middle"><font size="-1">void<br />
</font></td>
- <td valign="middle"><font size="-1">size_t entries_<br>
+ <td valign="middle"><font size="-1">size_t entries_<br />
</font></td>
<td valign="middle"><font size="-1">Number of entries in the
colormap. Setting the colormap size may extend or truncate the
and is dependent on the value of QuantumDepth when ImageMagick is
compiled. An exception is thrown if more entries are requested than may
be supported. Care should be taken when truncating the colormap to
-ensure that the image colormap indexes reference valid colormap entries.</font><br>
+ensure that the image colormap indexes reference valid colormap entries.</font><br />
</td>
</tr>
<tr>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Image width</font></td>
</tr>
<tr>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Image comment</font></td>
</tr>
<tr>
<tr>
<td>
<center><a name="compressType"></a> <font size="-1">compress-</font>
- <br>
+ <br />
<font size="-1">Type</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#CompressionType">CompressionType</a>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><small><a
- name="defineValue"></a>defineValue<br>
+ name="defineValue"></a>defineValue<br />
</small></td>
- <td style="vertical-align: middle; text-align: left;"><small>string<br>
+ <td style="vertical-align: middle; text-align: left;"><small>string<br />
</small></td>
<td style="vertical-align: middle;"><small>const std::string
-&magick_, const std::string &key_<br>
+&magick_, const std::string &key_<br />
</small></td>
<td style="vertical-align: middle;"><small>const std::string
-&magick_, const std::string &key_, const std::string
-&value_<br>
+&magick_, const std::string &key_,  const std::string
+&value_<br />
</small></td>
<td style="vertical-align: top;"><small>Set or obtain a
definition string to applied when encoding or decoding the specified
argument, the format-specific key is designated by <span
style="font-style: italic;">key_</span>, and the associated value is
specified by <span style="font-style: italic;">value_</span>. See the
-defineSet() method if the key must be removed entirely.</small><br>
+defineSet() method if the key must be removed entirely.</small><br />
</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><small><a
- name="defineSet"></a>defineSet<br>
+ name="defineSet"></a>defineSet<br />
</small></td>
- <td style="vertical-align: middle; text-align: left;"><small>bool<br>
+ <td style="vertical-align: middle; text-align: left;"><small>bool<br />
</small></td>
<td style="vertical-align: middle;"><small>const std::string
-&magick_, const std::string &key_<br>
+&magick_, const std::string &key_<br />
</small></td>
<td style="vertical-align: middle;"><small>const std::string
-&magick_, const std::string &key_, bool flag_<br>
+&magick_, const std::string &key_, bool flag_<br />
</small></td>
<td style="vertical-align: middle;"><small>Set or obtain a
definition flag to applied when encoding or decoding the specified
style="font-style: italic;">f</span><span style="font-style: italic;">lag_</span>
value 'false' removes any existing matching definition. The method
returns 'true' if a matching key exists, and 'false' if no matching key
-exists.<br>
+exists.<br />
</small></td>
</tr>
<tr>
<td>
<center><a name="density"></a> <font size="-1">density</font></center>
</td>
- <td><font size="-1"><a href="Geometry.html">Geometry</a>
+ <td><font size="-1"><a href="Geometry.html">Geometry</a>  
(default 72x72)</font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
<td>
<center><a name="depth"></a> <font size="-1">depth</font></center>
</td>
- <td><font size="-1"> size_t (8-32)</font></td>
+ <td><font size="-1"> size_t (8-32)</font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">size_t depth_</font></td>
<td><font size="-1">Image depth. Used to specify the bit depth
-when reading or writing raw images or when the output format
+when reading or writing  raw images or when the output format
supports multiple depths. Defaults to the quantum depth that
ImageMagick is compiled with.</font></td>
</tr>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">void</font></td>
- <td><font size="-1"> </font></td>
+ <td><font size="-1"> </font></td>
<td><font size="-1">Tile names from within an image montage</font></td>
</tr>
<tr>
</td>
<td><font size="-1">off_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Number of bytes of the image on disk</font></td>
</tr>
<tr>
<td><font size="-1">void</font></td>
<td><font size="-1">const string &font_</font></td>
<td><font size="-1">Text rendering font. If the font is a fully
-qualified X server font name, the font is obtained from an X
+qualified X server font name, the font is obtained from an X 
server. To use a TrueType font, precede the TrueType filename with an
-@. Otherwise, specify a Postscript font name (e.g.
+@. Otherwise, specify  a  Postscript font name (e.g.
"helvetica").</font></td>
</tr>
<tr>
<td><font size="-1"><a href="TypeMetric.html">TypeMetric</a> </font></td>
<td><font size="-1">const std::string &text_, <a
href="TypeMetric.html"> TypeMetric</a> *metrics</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Update metrics with font type metrics using
specified <i>text</i>, and current <a href="Image.html#font">font</a> and <a
href="Image.html#fontPointsize">fontPointSize</a> settings.</font></td>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Long form image format description.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">double (typical range 0.8 to 2.3)</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Gamma level of the image. The same color
-image displayed on two different workstations may
-look different due to differences in the display monitor.
-Use gamma correction to adjust for this
-color difference.</font></td>
+image displayed on two different  workstations  may 
+look  different due to differences in the display monitor. 
+Use gamma correction  to  adjust  for this 
+color  difference.</font></td>
</tr>
<tr>
<td>
</td>
<td><font size="-1"><a href="Geometry.html">Geometry</a> </font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Preferred size of the image when encoding.</font></td>
</tr>
<tr>
<td>
<center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font>
- <br>
+ <br />
<font size="-1">Method</font></center>
</td>
- <td><font size="-1">size_t</font> <br>
- <font size="-1">{ 0 = Disposal not specified,</font> <br>
- <font size="-1">1 = Do not dispose of graphic,</font> <br>
+ <td><font size="-1">size_t</font> <br />
+ <font size="-1">{ 0 = Disposal not specified,</font> <br />
+ <font size="-1">1 = Do not dispose of graphic,</font> <br />
<font size="-1">3 = Overwrite graphic with background color,</font>
- <br>
+ <br />
<font size="-1">4 = Overwrite graphic with previous graphic. }</font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">size_t disposeMethod_</font></td>
&colorProfile_</font></td>
<td><font size="-1">ICC color profile. Supplied via a <a
href="Blob.html"> Blob</a> since Magick++/ and ImageMagick do not
-currently support formating this data structure directly.
+currently support formating this data structure directly. 
Specifications are available from the <a href="http://www.color.org/">
International Color Consortium</a> for the format of ICC color profiles.</font></td>
</tr>
<tr>
<td>
<center><a name="interlaceType"></a> <font size="-1">interlace-</font>
- <br>
+ <br />
<font size="-1">Type</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
<td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
interlace_</font></td>
<td><font size="-1">The type of interlacing scheme (default <i>NoInterlace</i>
-). This option is used to specify the type of interlacing
-scheme for raw image formats such as RGB or YUV. <i>NoInterlace</i>
-means do not interlace, <i>LineInterlace</i> uses scanline
+). This option is used to specify the type of  interlacing
+scheme  for  raw  image formats such as RGB or YUV. <i>NoInterlace</i>
+means do not  interlace, <i>LineInterlace</i> uses scanline
interlacing, and <i>PlaneInterlace</i> uses plane interlacing. <i>
-PartitionInterlace</i> is like <i>PlaneInterlace</i> except the
-different planes are saved to individual files (e.g.
+PartitionInterlace</i> is like <i>PlaneInterlace</i> except the 
+different planes  are saved  to individual files (e.g. 
image.R, image.G, and image.B). Use <i>LineInterlace</i> or <i>
PlaneInterlace</i> to create an interlaced GIF or progressive JPEG
image.</font></td>
iptcProfile_</font></td>
<td><font size="-1">IPTC profile. Supplied via a <a
href="Blob.html"> Blob</a> since Magick++ and ImageMagick do not
-currently support formating this data structure directly.
+currently  support formating this data structure directly.
Specifications are available from the <a href="http://www.iptc.org/">
International Press Telecommunications Council</a> for IPTC profiles.</font></td>
</tr>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">void</font></td>
- <td><font size="-1"> const string &magick_</font></td>
+ <td><font size="-1"> const string &magick_</font></td>
<td><font size="-1">Get image format (e.g. "GIF")</font></td>
</tr>
<tr>
<td><font size="-1">void</font></td>
<td><font size="-1">bool matteFlag_</font></td>
<td><font size="-1">True if the image has transparency. If set
-True, store matte channel if the image has one otherwise create
+True, store matte channel if  the image has one otherwise create
an opaque one.</font></td>
</tr>
<tr>
<tr>
<td>
<center><a name="meanErrorPerPixel"></a> <font size="-1">meanError-</font>
- <br>
+ <br />
<font size="-1">PerPixel</font></center>
</td>
<td><font size="-1">double</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The mean error per pixel computed when an
image is color reduced. This parameter is only valid if verbose is set
to true and the image has just been quantized.</font></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><font
- size="-1"><a name="modulusDepth"></a>modulusDepth<br>
+ size="-1"><a name="modulusDepth"></a>modulusDepth<br />
</font></td>
<td style="text-align: left; vertical-align: middle;"><small>size_t
-<br>
+<br />
</small></td>
<td style="text-align: left; vertical-align: middle;"><small><font
- size="-1"><small>void<br>
+ size="-1"><small>void<br />
</small></font></small></td>
<td style="text-align: left; vertical-align: middle;"><small>size_t
-depth_<br>
+depth_<br />
</small></td>
<td style="text-align: left; vertical-align: middle;"><small>Image
modulus depth (minimum number of bits required to support
current value, updating the pixels (reducing accuracy) to the new
depth.
The pixel modulus depth can not be increased over the current value
-using this method.<br>
+using this method.<br />
</small></td>
</tr>
<tr>
<tr>
<td>
<center><a name="montageGeometry"></a> <font size="-1">montage-</font>
- <br>
+ <br />
<font size="-1">Geometry</font></center>
</td>
<td><font size="-1"><a href="Geometry.html">Geometry</a> </font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Tile size and offset within an image montage.
Only valid for montage images.</font></td>
</tr>
<tr>
<td>
<center><a name="normalizedMaxError"></a> <font size="-1">normalized-</font>
- <br>
+ <br />
<font size="-1">MaxError</font></center>
</td>
<td><font size="-1">double</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The normalized max error per pixel computed
when an image is color reduced. This parameter is only valid if verbose
is set to true and the image has just been quantized.</font></td>
<tr>
<td>
<center><a name="normalizedMeanError"></a> <font size="-1">normalized-</font>
- <br>
+ <br />
<font size="-1">MeanError</font></center>
</td>
<td><font size="-1">double</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The normalized mean error per pixel computed
when an image is color reduced. This parameter is only valid if verbose
is set to true and the image has just been quantized.</font></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><small><a
- name="orientation"></a>orientation<br>
+ name="orientation"></a>orientation<br />
</small></td>
<td style="vertical-align: middle;"><small><a
href="Enumerations.html#OrientationType">OrientationType</a></small></td>
- <td style="vertical-align: top;"><small>void</small><br>
+ <td style="vertical-align: top;"><small>void</small><br />
</td>
<td style="vertical-align: middle;"><small><a
href="Enumerations.html#OrientationType">OrientationType</a>
orientation_</small></td>
<td style="vertical-align: top;"><small>Image orientation.
- Supported by some file formats such as DPX and TIFF. Useful for
-turning the right way up.<br>
+ Supported by some file formats such as DPX and TIFF. Useful for
+turning the right way up.<br />
</small></td>
</tr>
<tr>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The number of runlength-encoded packets in</font>
- <br>
+ <br />
<font size="-1">the image</font></td>
</tr>
<tr>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The number of bytes in each pixel packet</font></td>
</tr>
<tr>
</tr>
<tr>
<td valign="top">
- <div align="center"><a name="profile"></a> <small>profile</small><br>
+ <div align="center"><a name="profile"></a> <small>profile</small><br />
</div>
</td>
- <td valign="top"><a href="Blob.html"><small> Blob</small><small><br>
+ <td valign="top"><a href="Blob.html"><small> Blob</small><small><br />
</small></a> </td>
- <td valign="top"><small>const std::string name_</small><small><br>
+ <td valign="top"><small>const std::string name_</small><small><br />
</small></td>
<td valign="top"><small>const std::string name_, const Blob
-&colorProfile_</small><small><br>
+&colorProfile_</small><small><br />
</small></td>
<td valign="top"><small>Get/set/remove </small><small> a named
profile</small><small>. Valid names include </small><small>"*",
-"8BIM", "ICM", "IPTC", or a user/format-defined profile name. </small><br>
+"8BIM", "ICM", "IPTC", or a user/format-defined profile name. </small><br />
</td>
</tr>
<tr>
<tr>
<td>
<center><a name="quantizeColors"></a> <font size="-1">quantize-</font>
- <br>
+ <br />
<font size="-1">Colors</font></center>
</td>
<td><font size="-1">size_t</font></td>
<tr>
<td>
<center><a name="quantizeColorSpace"></a> <font size="-1">quantize-</font>
- <br>
+ <br />
<font size="-1">ColorSpace</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a>
<tr>
<td>
<center><a name="quantizeDither"></a> <font size="-1">quantize-</font>
- <br>
+ <br />
<font size="-1">Dither</font></center>
</td>
<td><font size="-1">bool</font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">bool flag_</font></td>
<td><font size="-1">Apply Floyd/Steinberg error diffusion to the
-image. The basic strategy of dithering is to trade
+image. The basic strategy of dithering is to  trade 
intensity
-resolution for spatial resolution by
-averaging the intensities of several
-neighboring pixels. Images which suffer from
-severe contouring when reducing colors can be
+resolution  for  spatial  resolution  by 
+averaging the intensities  of  several 
+neighboring  pixels. Images which  suffer  from 
+severe  contouring  when  reducing colors can be
improved with this option. The quantizeColors or monochrome option must
be set for this option to take effect.</font></td>
</tr>
<tr>
<td>
<center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font>
- <br>
+ <br />
<font size="-1">TreeDepth</font></center>
</td>
- <td><font size="-1">size_t </font></td>
+ <td><font size="-1">size_t </font></td>
<td><font size="-1">void</font></td>
<td><font size="-1">size_t treeDepth_</font></td>
<td><font size="-1">Depth of the quantization color
<tr>
<td>
<center><a name="renderingIntent"></a> <font size="-1">rendering-</font>
- <br>
+ <br />
<font size="-1">Intent</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a>
<tr>
<td>
<center><a name="resolutionUnits"></a> <font size="-1">resolution-</font>
- <br>
+ <br />
<font size="-1">Units</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#ResolutionType">ResolutionType</a>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">The number of pixel rows in the image</font></td>
</tr>
<tr>
</td>
<td><font size="-1">string</font></td>
<td><font size="-1">bool force_ = false</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Image MD5 signature. Set force_ to 'true' to
force re-computation of signature.</font></td>
</tr>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&geometry_</font></td>
<td><font size="-1">Width and height of a raw image (an image
-which does not support width and height information). Size may
+which does not support width and height information).  Size may
also be used to affect the image size read from a multi-resolution
format (e.g. Photo CD, JBIG, or JPEG.</font></td>
</tr>
array of numbers that specify the lengths (in pixels) of alternating
dashes and gaps in user units. If an odd number of values is provided,
then the list of values is repeated to yield an even number of
-values. A typical strokeDashArray_ array might contain the
+values.  A typical strokeDashArray_ array might contain the
members 5 3 2 0, where the zero value indicates the end of the pattern
array.</font></td>
</tr>
</tr>
<tr>
<td valign="middle">
- <div align="center"><a name="textEncoding"></a> <small>textEncoding</small><br>
+ <div align="center"><a name="textEncoding"></a> <small>textEncoding</small><br />
</div>
</td>
- <td valign="middle"><small>string</small><small><br>
+ <td valign="middle"><small>string</small><small><br />
</small></td>
- <td valign="middle"><small>void</small><small><br>
+ <td valign="middle"><small>void</small><small><br />
</small></td>
- <td valign="middle"><small>const std::string &encoding_</small><small><br>
+ <td valign="middle"><small>const std::string &encoding_</small><small><br />
</small></td>
<td valign="top"><small>Specify the code set to use for text
annotations. The only character encoding which may be specified at
href="http://www.unicode.org/"> Unicode </a> </small><small>as a
sequence of bytes. Specify an empty string to use the default ASCII
encoding. Successful text annotation using Unicode may require fonts
-designed to support Unicode.</small><br>
+designed to support Unicode.</small><br />
</td>
</tr>
<tr>
</td>
<td><font size="-1">size_t</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">Number of colors in the image</font></td>
</tr>
<tr>
</td>
<td><font size="-1">double</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">x resolution of the image</font></td>
</tr>
<tr>
</td>
<td><font size="-1">double</font></td>
<td><font size="-1">void</font></td>
- <td bgcolor="#666666"><font size="-1"> </font></td>
+ <td bgcolor="#666666"><font size="-1"> </font></td>
<td><font size="-1">y resolution of the image</font></td>
</tr>
</tbody>
<h3> <a name="Raw Image Pixel Access"></a> Low-Level Image Pixel Access</h3>
</center>
Image pixels (of type <i><a href="PixelPacket.html">PixelPacket</a> </i>)
-may be accessed directly via the <i>Image Pixel Cache</i> . The
+may be accessed directly via the <i>Image Pixel Cache</i> .  The
image pixel cache is a rectangular window into the actual image pixels
(which may be in memory, memory-mapped from a disk file, or entirely on
disk). Two interfaces exist to access the <i>Image Pixel Cache.</i>
should be invoked to reduce the reference count on the underlying image
to one. If this is not done, then it is possible for a previous
generation of the image to be modified due to the use of reference
-counting when copying or constructing an Image.<br>
+counting when copying or constructing an Image.<br />
</p>
<p>Depending on the capabilities of the operating system, and the
relationship of the window to the image, the pixel cache may be a copy
may be accessed, addressed, and updated, as shown in the following
example:
<pre class="code">
-<p><img class="icon" src="Cache.png" name="Graphic1" width="254" border="0"></p>
+<p><img class="icon" src="Cache.png" name="Graphic1" width="254" border="0" /></p>
Image image("cow.png");
// Ensure that there are no other references to this image.
image.modifyImage();
image.write("horse.png");
</pre>
</p>
-<p>The image cache supports the following methods: <br>
-
+<p>The image cache supports the following methods: <br />
+ 
<ul><table border="1" width="100%">
<caption>Image Cache Methods</caption> <tbody>
<tr>
<td><font size="-1">const ssize_t x_, const ssize_t y_, const size_t
columns_, const size_t rows_</font></td>
<td><font size="-1">Transfers pixels from the image to the pixel
-cache as defined by the specified rectangular region. </font><font
+cache as defined by the specified rectangular region. </font><font
size="-1">The returned pointer remains valid until the next getPixel,
getConstPixels, or setPixels call and should never be deallocated by
the
<td><font size="-1">void</font></td>
<td><font size="-1">Returns a pointer to the Image pixel indexes
corresponding to a previous </font><font size="-1">getPixel,
-getConstPixels, or setPixels call. </font><font size="-1">The
+getConstPixels, or setPixels call.  </font><font size="-1">The
returned pointer remains valid until the next getPixel, getConstPixels,
or setPixels call and should never be deallocated by the user.</font><font
size="-1"> Only valid for PseudoClass images or CMYKA images. The
<td><font size="-1">Returns a pointer to the Image pixel indexes
corresponding to the pixel region requested by the last <a
href="Image.html#getConstPixels">getConstPixels</a> , <a href="Image.html#getPixels">getPixels</a>
-, or <a href="Image.html#setPixels">setPixels</a> call. </font><font
+, or <a href="Image.html#setPixels">setPixels</a> call. </font><font
size="-1">The
returned pointer remains valid until the next getPixel, getConstPixels,
or setPixels call and should never be deallocated by the user.</font><font
CMYKA images. The pixel indexes represent an array of type
IndexPacket, with each entry corresponding to a pixel x,y position. For
PseudoClass images, the entry's value is the offset into the colormap
-(see <a href="Image.html#colorMap">colorMap</a> ) for that pixel. For
+(see <a href="Image.html#colorMap">colorMap</a> )  for that pixel. For
CMYKA
images, the indexes are used to contain the alpha channel.</font></td>
</tr>
<td><font size="-1">const ssize_t x_, const ssize_t y_, const size_t
columns_, const size_t rows_</font></td>
<td><font size="-1">Allocates a pixel cache region to store image
-pixels as defined by the region rectangle. This area is
+pixels as defined by the region rectangle.  This area is
subsequently transferred from the pixel cache to the image via
-syncPixels. </font><font size="-1">The returned pointer remains
+syncPixels. </font><font size="-1">The returned pointer remains
valid until the next getPixel, getConstPixels, or setPixels call and
should never be deallocated by the user.</font></td>
</tr>
<center>
<h1>Magick::Image Data Structures</h1></center>
The class Magick::Image is a simple handle which points to a reference-counted image representation. This allows multiple Magick::Image instances to share the same image and attributes. At the point in time that the image data, or image attributes are modified and the current reference count is greater than one, the image data and attributes are copied to create a new image with a reference count of one and the reference count on the old image is decremented. If the reference count on the old image becomes zero, then the associated reference and data are deleted. This strategy represents a simple (but effective) form of garbage collection
-<p><img src="Image.png" height="490" width="910"></p>
-</ul>
+<p><img src="Image.png" height="490" width="910" /></p>
+</div>
</body>
</html>
<li>
<p>Standard Template Library (STL) (e.g. <tt><list></tt>, <tt><vector></tt>)</p></li></ul>
<p style="margin-bottom: 0cm">The author has personally verified that Magick++ compiles and runs using the following compiler/platform combinations:</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm"><b>Tested Configurations</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="3">
<tr>
<td>
<p><font size="2">GCC 2.95.3-5</font></p></td></tr></table>
<p style="margin-bottom: 0cm">Users of Magick++ have reported that the following configurations work with Magick++:</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm"><b>Other Known Working Configurations</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<td>
<p><font size="2">Cristy</font></p></td></tr></table>
<p>Please let me know if you have successfully built and executed Magick++ using a different configuration so that I can add to the table of verified configurations.</p>
-<hr>
+<hr />
<h3 align="center">Unix/Linux</h3>
<h4>Building From Source</h4>
<p>Magick++ is now built using the ImageMagick configure script and Makefiles. Please follow the installation instructions provided by its README.txt file. The following instructions pertain to the Magick++ specific configuration and build options.</p>
<p>To install ImageMagick plus Magick++ under Unix, installation should be similar to</p>
-<p><tt>./configure [ --prefix=/prefix ]</tt><br>
-<tt>make</tt><br>
+<p><tt>./configure [ --prefix=/prefix ]</tt><br />
+<tt>make</tt><br />
<tt>make install</tt></p>
<p>The library is currently named similar to 'libMagick++.a' (and/or libMagick++.so.5.0.39) and is installed under prefix/lib while the headers are installed with Magick++.h being installed in prefix/include and the remaining headers in prefix/include/Magick++.</p>
<p>To influence the options the configure script chooses, you may specify 'make' option variables when running the configure script. For example, the command</p>
<blockquote><tt>./configure CXX=CC CXXFLAGS=-O2 LIBS=-lposix</tt></blockquote>
-<p style="margin-bottom: 0cm"><br>
+<p style="margin-bottom: 0cm"><br />
specifies additional options to the configure script. The following table shows the available options.</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm">Environment Variables That Effect Configure</p>
<table width="100%" border="1" cellpadding="2" cellspacing="3">
-<col width="40*">
-<col width="216*">
+<col width="40*" />
+<col width="216*" />
<tr>
<td width="16%">
<p align="center"><b>Make Option Variable</b></p></td>
<p>Extra libraries (-lsomelib) required to link</p></td></tr></table>
<h4>Installing Linux RPMs</h4>
<p style="margin-bottom: 0cm">Linux RPMs of ImageMagick and Magick++ can be downloaded from <a href="ftp://ftp.imagemagick.org/pub/ImageMagick/linux//">ftp://ftp.imagemagick.org/pub/ImageMagick/linux/</a>.</p>
-<hr>
+<hr />
<h3 align="center">Windows '9X, NT, 2003, 2008, XP, & Windows 7</h3>
<h4>Visual C++</h4>
<p>Windows NT through Windows Vista are supported by the ImageMagick source package for NT available in the 'win2k' subdirectory of the ImageMagick ftp site (and mirrors). The ImageMagick source package for NT provides sources to ImageMagick, Magick++, add-on libraries (e.g. JPEG), and a ready-made Visual C++ 8.0 build environment. Please read the configuration and build instructions in README.txt (under the heading "Windows Win2K/XP VISUAL C++ 8.0 COMPILATION") in order to build Magick++.</p>
<h4>Cygwin & GCC</h4>
<p>It is possible to build both ImageMagick and Magick++ under the Cygwin Unix-emulation environment for Windows NT. Obtain and install Cgywin from <a href="http://www.cygwin.com/">http://www.cygwin.com/</a> . An X11R6 environment for Cygwin is available from <a href="http://www.cygwin.com/xfree/">http://www.cygwin.com/xfree/</a> .To build using Cygwin and GCC, follow the instructions for building under Unix.</p>
-</ul>
+</div>
</body>
</html>
<h1 align="center">Magick::Montage Class</h1>
<p>A montage is a single image which is composed of thumbnail images composed in a uniform grid. The size of the montage image is determined by the size of the individual thumbnails and the number of rows and columns in the grid.</p>
<p>The following illustration shows a montage consisting of three columns and two rows of thumbnails rendered on a gray background:</p>
-<p class="image"><img src="montage-sample-framed.jpg" name="Graphic1" align="bottom" width="378" height="238" border="0"></p>
+<p class="image"><img src="montage-sample-framed.jpg" name="Graphic1" align="bottom" width="378" height="238" border="0" /></p>
<p>Montages may be either "plain" (undecorated thumbnails) or "framed" (decorated thumbnails). In order to more easily understand the options supplied to <a href="STL.html#montageImages"><i>MontageImages()</i></a>, montage options are supplied by two different classes: <a href="Montage.html#Magick::Montage"><i>Magick::Montage</i></a> and <a href="Montage.html#Magick::MontageFramed"><i>Magick::MontageFramed</i></a>.</p>
<h3 align="center"><a name="PlainMontages"></a>Plain Montages</h3>
<p><a name="Magick::Montage"></a><i>Magick::Montage</i> is the base class to provide montage options and provides methods to set all options required to render simple (unframed) montages. See <a href="Montage.html#Magick::MontageFramed"><i>Magick::MontageFramed</i></a>if you would like to create a framed montage.</p>
<p>Unframed thumbnails consist of four components: the thumbnail image, the thumbnail border, an optional thumbnail shadow, and an optional thumbnail label area.</p>
-<p class="image"><img src="thumbnail-anatomy-plain.jpg" name="Graphic2" align="middle" width="309" height="327" border="0"></p>
+<p class="image"><img src="thumbnail-anatomy-plain.jpg" name="Graphic2" align="middle" width="309" height="327" border="0" /></p>
<p style="margin-bottom: 0cm"> </p>
<p align="center" style="margin-bottom: 0cm"><b>Montage Methods</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="2">
<h3 align="center"><a name="FramedMontages"></a>Framed Montages</h3>
<p><a name="Magick::MontageFramed"></a><i>Magick::MontageFramed</i> provides the means to specify montage options when it is desired to have decorative frames around the image thumbnails. <i>MontageFramed</i> inherits from <i>Montage</i> and therefore provides all the methods of <i>Montage</i> as well as those shown in the table "MontageFramed Methods".</p>
<p>Framed thumbnails consist of four components: the thumbnail image, the thumbnail frame, the thumbnail border, an optional thumbnail shadow, and an optional thumbnail label area.</p>
-<p class="image"><img src="thumbnail-anatomy-framed.jpg" name="Graphic3" align="middle" width="350" height="345" border="0"></p>
+<p class="image"><img src="thumbnail-anatomy-framed.jpg" name="Graphic3" align="middle" width="350" height="345" border="0" /></p>
<p style="margin-bottom: 0cm"> </p>
<p align="center" style="margin-bottom: 0cm"><b>MontageFramed Methods</b></p>
<ul><table width="100%" border="1" cellpadding="2" cellspacing="2">
<div class="doc-section">
<h1 align="center">PixelPacket Structure</h1>
<p style="margin-bottom: 0cm">The <i>PixelPacket</i> structure is used to represent pixels in ImageMagick. ImageMagick may be compiled to support 32 or 64 bit pixels. The size of PixelPacket is controlled by the value of the <i>QuantumDepth</i> define. The default is 64 bit pixels, which provide the best accuracy. If memory consumption must be minimized, or processing time must be minimized, then ImageMagick may be compiled with QuantumDepth=8. The following table shows the relationship between <i>QuantumDepth</i>, the type of <i>Quantum</i>, and the overall <i>PixelPacket</i> size.</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm"><b>Effect Of QuantumDepth Values</b></p>
<center>
<table width="336" border="1" cellpadding="2" cellspacing="3" bgcolor="#CCCCCC">
-<col width="101">
-<col width="99">
-<col width="110">
+<col width="101" />
+<col width="99" />
+<col width="110" />
<tr>
<td width="101">
<p align="center"><b>QuantumDepth</b></p></td>
<td width="110">
<p align="center">64 bits</p></td></tr></table></center>
<p style="margin-bottom: 0cm">The members of the <i>PixelPacket</i> structure, and their interpretation, are shown in the following table:</p>
-<br>
+<br />
<p align="center" style="margin-bottom: 0cm"><b>PixelPacket Structure Members</b></p>
<center>
<table width="523" border="1" cellpadding="2" cellspacing="3" bgcolor="#CCCCCC">
-<col width="58">
-<col width="50">
-<col width="102">
-<col width="152">
-<col width="119">
+<col width="58" />
+<col width="50" />
+<col width="102" />
+<col width="152" />
+<col width="119" />
<tr>
<td rowspan="2" width="58">
<p align="center"><b>Member</b></p></td>
<p><font size="2">Opacity</font></p></td>
<td width="119">
<p><font size="2">Ignored</font></p></td></tr></table></center>
-</ul>
+</div>
</body>
</html>
the pixels may be accessed, addressed, and updated, as shown in the
following example, which produces an image similar to the one on the
right (minus lines and text): </p>
-<p class="image"><img class="icon" src="Cache.png" name="Graphic1" align="bottom" width="254" border="0"></p>
+<p class="image"><img class="icon" src="Cache.png" name="Graphic1" align="bottom" width="254" border="0" /></p>
<div class="viewport">
// Create base image
Image image(Geometry(254,218), "white");
<p style="margin-bottom: 0cm;"><i>Pixels</i> supports the following
methods: </p>
<p align="center" style="margin-bottom: 0cm;"><b>Pixel Cache Methods</b></p>
-<ul><table width="100%" border="1" cellpadding="2" cellspacing="2">
+<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
-</table></ul>
-</pre>
+</table>
+</div>
</body>
</html>
int main(int /*argc*/,char **/*argv*/)
{
list<Image> imageList;
- readImages( &imageList, "test_image_anim.gif" );
+ readImages( &imageList, "test_image_anim.gif" );
Image appended;
- appendImages( &appended, imageList.begin(), imageList.end() );
+ appendImages( &appended, imageList.begin(), imageList.end() );
appended.write( "appended_image.miff" );
return 0;
}
</pre>
<p>The available Magick++ specific STL algorithms for operating on
-sequences of image frames are shown in the following table: <br>
-
+sequences of image frames are shown in the following table: <br />
+ 
<ul><table border="1" width="100%">
<caption><b>Magick++ STL Algorithms For Image Sequences</b></caption> <tbody>
<tr>
*coalescedImages_, <a
href="http://www.sgi.com/tech/stl/InputIterator.html"> InputIterator</a>
first_, <a href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>
-last_</font><br>
+last_</font><br />
</td>
<td><font size="-1">Create a coalesced image sequence obtained by
"playing" the image sequence (observing page offsets and disposal
first_, <a href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>
last_</font></td>
<td><font size="-1">Break down an image sequence into constituent
-parts. This is useful for creating GIF or MNG animation sequences.
+parts.  This is useful for creating GIF or MNG animation sequences.
The input sequence is specified by <i>first_</i> and <i>last_</i>, and
the deconstructed images are returned via <i>deconstructedImages_</i>.</font></td>
</tr>
<td><font size="-1">Display a sequence of image frames. Through
use of a pop-up menu, image frames may be selected in succession. This
feature is fully supported under X11 but may have only limited support
-in other environments.</font> <br>
+in other environments.</font> <br />
<font size="-1"><b><font color="#ff0000">Caution: </font></b> if
an image format is is not compatable with the display visual (e.g. JPEG
on a colormapped display) then the original image will be altered. Use a
href="http://www.sgi.com/tech/stl/InputIterator.html"> InputIterator</a>
first_, <a href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>
last_, const <a href="Image.html">Image</a> & mapImage_, bool
-dither_, bool measureError_ = false</font></td>
+dither_,  bool measureError_ = false</font></td>
<td><font size="-1">Replace the colors of a sequence of images
with the closest color from a reference image. Set <i>dither_</i> to <i>true</i>
-to enable dithering. Set <i>measureError_</i> to <i>true</i> in
+to enable dithering.  Set <i>measureError_</i> to <i>true</i> in
order to evaluate quantization error.</font></td>
</tr>
<tr>
first_, <a href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>
last_, size_t frames_</font></td>
<td><font size="-1">Morph a seqence of image frames. This
-algorithm expands the number of image frames (output to the
+algorithm  expands the number of image frames (output to the
container <i>morphedImages_)</i> by adding the number of intervening
frames specified by <i>frames_</i> such that the original frames morph
(blend) into each other when played as an animation.</font></td>
<td><font size="-1">Write images in container to file specified
by string <i>imageSpec_</i>. Set <i>adjoin_ </i>to false to write a
set of image frames via a wildcard <i>imageSpec_ </i>(e.g.
-image%02d.miff).</font> <br>
-The wildcard must be one of <tt>%0Nd, %0No, or %0Nx</tt>. <br>
+image%02d.miff).</font> <br />
+The wildcard must be one of <tt>%0Nd, %0No, or %0Nx</tt>. <br />
<font size="-1"><b><font color="#ff0000">Caution: </font></b> if
an image format is selected which is capable of supporting fewer colors
than the original image or quantization has been requested, the original
<td><font size="-1">Write images in container to in-memory BLOB
specified by <a href="Blob.html">Blob</a> blob_. Set adjoin_ to false to
write a set of image frames via a wildcard imageSpec_ (e.g.
-image%02d.miff).</font> <br>
+image%02d.miff).</font> <br />
<font size="-1"><b><font color="#ff0000">Caution:</font></b> if an
image format is selected which is capable of supporting fewer colors
than the original image or quantization has been requested, the original
</tbody>
</table></ul>
<p>In addition, we support these yet to be documented methods: <code>combineImages()</code>, <code>evaluateImages()</code>, <code>mergeImageLayers()</code>, <code>optimizeImageLayers()</code>, <code>optimizePlusImageLayers()</code>, and <code>separateImages()</code>.</p>
-<br>
- </p>
+<br />
+  </p>
<center>
<h3> Magick++ Unary Function Objects</h3>
</center>
looks like:
<pre class="text"><tt><font color="#000099">void operator()( Image &image_);</font></tt></pre>
with a typical implementation looking similar to:
-<pre class="text"><tt><font color="#000099">void operator()( Image &image_ )</font></tt> <br>
- <tt><font color="#000099"> {</font></tt> <br>
- <tt><font color="#000099"> image_.contrast(
-_sharpen );</font></tt> <br>
- <tt><font color="#000099"> }</font></tt></pre>
+<pre class="text"><tt><font color="#000099">void operator()( Image &image_ )</font></tt> <br />
+ <tt><font color="#000099">  {</font></tt> <br />
+ <tt><font color="#000099">    image_.contrast(
+_sharpen );</font></tt> <br />
+ <tt><font color="#000099">  }</font></tt></pre>
where <i>contrast</i> is an Image method and <i>_sharpen </i>is an
argument stored within the function object by its contructor. Since
constructors may be polymorphic, a given function object may have
by the <a href="Image.html"> Image</a> class and there is a contructor
available compatable with each synonymous method in the Image class. </p>
<p>The unary function objects that Magick++ provides to support
-manipulating images are shown in the following table: <br>
-
+manipulating images are shown in the following table: <br />
+ 
<ul><table border="1">
<caption><b>Magick++ Unary Function Objects For Image Manipulation</b></caption> <tbody>
<tr align="center">
<tr>
<td valign="middle">
<div align="center"><a name="adaptiveThresholdImage"></a> <font
- size="-1">adaptiveThresholdImage</font><br>
+ size="-1">adaptiveThresholdImage</font><br />
</div>
</td>
<td valign="middle"><font size="-1">size_t width, size_t
-height, unsigned offset = 0</font><br>
+height, unsigned offset = 0</font><br />
</td>
<td valign="top"><font size="-1">Apply adaptive thresholding to
the image. Adaptive thresholding is useful if the ideal threshold level
and using the mean as the thresholding value. In order to remove
residual noise from the background, the threshold may be adjusted by
subtracting a constant <i>offset</i> (default zero) from the mean to
-compute the threshold.</font><br>
+compute the threshold.</font><br />
</td>
</tr>
<tr>
</tr>
<tr>
<td style="vertical-align: middle;"><small><a
- name="affineTransformImage"></a>affineTransformImage<br>
+ name="affineTransformImage"></a>affineTransformImage<br />
</small></td>
<td style="vertical-align: middle;"><small>const DrawableAffine
-&affine_<br>
+&affine_<br />
</small></td>
<td style="vertical-align: middle;"><small>Transform image by
-specified affine (or free transform) matrix.<br>
+specified affine (or free transform) matrix.<br />
</small></td>
</tr>
<tr>
<td><font size="-1">const std::string &text_, const <a
href="Geometry.html"> Geometry</a> &boundingArea_, <a
href="Enumerations.html#GravityType">GravityType</a> gravity_, double
-degrees_, </font></td>
+degrees_, </font></td>
<td><font size="-1">Annotate with text using specified text,
bounding area, placement gravity, and rotation. If <i>boundingArea_</i>
is invalid, then bounding area is entire image.</font></td>
= 0.5</font></td>
<td><font size="-1">Blur image. The radius_ parameter specifies
the radius of the Gaussian, in pixels, not counting the center
-pixel. The sigma_ parameter specifies the standard deviation of
+pixel.  The sigma_ parameter specifies the standard deviation of
the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&geometry_ = "6x6+0+0"</font></td>
- <td><font size="-1">Border image (add border to image). The
+ <td><font size="-1">Border image (add border to image).  The
color of the border is specified by the <i>borderColor</i> attribute.</font></td>
</tr>
<tr>
= 0.5</font></td>
<td><font size="-1">Charcoal effect image (looks like charcoal
sketch). The radius_ parameter specifies the radius of the Gaussian, in
-pixels, not counting the center pixel. The sigma_ parameter
+pixels, not counting the center pixel.  The sigma_ parameter
specifies the standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">const std::string &comment_</font></td>
<td><font size="-1">Comment image (add comment string to
-image). By default, each image is commented with its file name.
-Use this method to assign a specific comment to the
-image. Optionally you can include the image filename, type, width,
-height, or other image attributes by embedding <a
+image).  By default, each image is commented with its file name.
+Use  this  method to  assign a specific comment to the
+image.  Optionally you can include the image filename, type, width,
+height, or other  image  attributes by embedding <a
href="FormatCharacters.html">special format characters.</a> </font></td>
</tr>
<tr>
</tr>
<tr>
<td>
- <center><a name="cycleColormapImage"></a> <font size="-1">cycleColormap-</font> <br>
+ <center><a name="cycleColormapImage"></a> <font size="-1">cycleColormap-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1">int amount_</font></td>
<center><a name="edgeImage"></a> <font size="-1">edgeImage</font></center>
</td>
<td><font size="-1">size_t radius_ = 0.0</font></td>
- <td><font size="-1">Edge image (hilight edges in image).
+ <td><font size="-1">Edge image (hilight edges in image). 
The radius is the radius of the pixel neighborhood.. Specify a radius
of zero for automatic radius selection.</font></td>
</tr>
= 0.5</font></td>
<td><font size="-1">Emboss image (hilight edges with 3D effect).
The radius_ parameter specifies the radius of the Gaussian, in pixels,
-not counting the center pixel. The sigma_ parameter specifies the
+not counting the center pixel.  The sigma_ parameter specifies the
standard deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="4">
- <center><a name="floodFillColorImage"></a> <font size="-1">floodFill-</font> <br>
+ <center><a name="floodFillColorImage"></a> <font size="-1">floodFill-</font> <br />
<font size="-1">ColorImage</font></center>
</td>
<td><font size="-1">ssize_t x_, ssize_t y_, const <a
</tr>
<tr>
<td rowspan="4">
- <center><a name="floodFillTextureImage"></a> <font size="-1">floodFill-</font> <br>
+ <center><a name="floodFillTextureImage"></a> <font size="-1">floodFill-</font> <br />
<font size="-1">TextureImage</font></center>
</td>
- <td><font size="-1">ssize_t x_, ssize_t y_, const <a
+ <td><font size="-1">ssize_t x_, ssize_t y_,  const <a
href="Image.html"> Image</a> &texture_</font></td>
<td rowspan="2"><font size="-1">Flood-fill texture across pixels
that match the color of the target pixel and are neighbors of the
<td>
<center><a name="flopImage"></a> <font size="-1">flopImage</font></center>
</td>
- <td><font size="-1">void </font></td>
+ <td><font size="-1">void </font></td>
<td><font size="-1">Flop image (reflect each scanline in the
horizontal direction)</font></td>
</tr>
<td><font size="-1">double width_, double sigma_</font></td>
<td><font size="-1">Gaussian blur image. The number of neighbor
pixels to be included in the convolution mask is specified by
-'width_'. For example, a width of one gives a (standard) 3x3
+'width_'.  For example, a width of one gives a (standard) 3x3
convolution mask. The standard deviation of the gaussian bell curve is
specified by 'sigma_'.</font></td>
</tr>
</td>
<td><font size="-1">const string &label_</font></td>
<td><font size="-1">Assign a label to an image. Use this option
-to assign a specific label to the image. Optionally
+to  assign  a  specific label to the image. Optionally
you can include the image filename, type, width, height, or scene
-number in the label by embedding <a href="FormatCharacters.html">special
+number in the label by embedding  <a href="FormatCharacters.html">special
format characters.</a> If the first character of string is @, the image
label is read from a file titled by the remaining characters in the
-string. When converting to Postscript, use this option to specify
+string. When converting to Postscript, use this  option to specify
a header string to print above the image.</font></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><small><a
- name="levelImage"></a>levelImage<br>
+ name="levelImage"></a>levelImage<br />
</small></td>
<td style="vertical-align: top;"><small>const double black_point,
-const double white_point, const double mid_point=1.0<br>
+const double white_point, const double mid_point=1.0<br />
</small></td>
<td style="vertical-align: top;"><small>Level image. Adjust the
levels of the image by scaling the colors falling between specified
white and black points to the full available quantum range. The
parameters provided represent the black, mid (gamma), and white
-points. The black point specifies the darkest color in the image.
+points.  The black point specifies the darkest color in the image.
Colors darker than the black point are set to zero. Mid point (gamma)
specifies a gamma correction to apply to the image. White point
-specifies the lightest color in the image. Colors brighter than
+specifies the lightest color in the image.  Colors brighter than
the white point are set to the maximum quantum value. The black and
white point have the valid range 0 to QuantumRange while mid (gamma) has a
useful range of 0 to ten.</small></td>
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;"><small><a
- name="levelChannelImage"></a>levelChannelImage<br>
+ name="levelChannelImage"></a>levelChannelImage<br />
</small></td>
<td style="vertical-align: top;"><small>const Magick::ChannelType
channel, const double black_point, const double white_point, const
-double mid_point=1.0<br>
+double mid_point=1.0<br />
</small></td>
<td style="vertical-align: top;"><small>Level image channel.
Adjust the levels of the image channel by scaling the values falling
<td><font size="-1"><a href="Enumerations.html#ChannelType">ChannelType</a>
layer_</font></td>
<td><font size="-1">Extract layer from image. Use this option to
-extract a particular layer from the image. <i>MatteLayer</i>,
-for example, is useful for extracting the opacity values from an
+extract a particular layer from  the image.  <i>MatteLayer</i>, 
+for  example, is useful for extracting the opacity values from an
image.</font></td>
</tr>
<tr>
<td><font size="-1">Remap image colors with closest color from
reference image. Set dither_ to <i>true</i> in to apply Floyd/Steinberg
error diffusion to the image. By default, color reduction chooses an
-optimal set of colors that best represent the original
-image. Alternatively, you can choose a
-particular set of colors from an image file
+optimal  set  of colors that best represent the original
+image. Alternatively, you can  choose  a 
+particular  set  of colors  from  an image file
with this option.</font></td>
</tr>
<tr>
<td>
- <center><a name="matteFloodfillImage"></a> <font size="-1">matteFloodfill-</font> <br>
+ <center><a name="matteFloodfillImage"></a> <font size="-1">matteFloodfill-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1">const <a href="Color.html">Color</a>
<td><font size="-1">double brightness_, double saturation_,
double hue_</font></td>
<td><font size="-1">Modulate percent hue, saturation, and
-brightness of an image. </font><font size="-1">Modulation of
+brightness of an image. </font><font size="-1">Modulation of
saturation and brightness is as a ratio of the current value (1.0 for no
change). Modulation of hue is an absolute rotation of -180 degrees to
+180 degrees from the current position corresponding to an argument
<center><a name="negateImage"></a> <font size="-1">negateImage</font></center>
</td>
<td><font size="-1">bool grayscale_ = false</font></td>
- <td><font size="-1">Negate colors in image. Replace every
+ <td><font size="-1">Negate colors in image.  Replace every
pixel with its complementary color (white becomes black, yellow becomes
-blue, etc.). Set grayscale to only negate grayscale values in
+blue, etc.).  Set grayscale to only negate grayscale values in
image.</font></td>
</tr>
<tr>
<td><font size="-1">Set or attenuate the opacity channel in the
image. If the image pixels are opaque then they are set to the specified
opacity value, otherwise they are blended with the supplied opacity
-value. The value of opacity_ ranges from 0 (completely opaque) to <i>QuantumRange</i>.
+value.  The value of opacity_ ranges from 0 (completely opaque) to <i>QuantumRange</i>.
The defines <i>OpaqueOpacity</i> and <i>TransparentOpacity</i> are
available to specify completely opaque or completely transparent,
respectively.</font></td>
<center><a name="raiseImage"></a> <font size="-1">raiseImage</font></center>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&geometry_ = "6x6+0+0", bool raisedFlag_ = false</font></td>
+&geometry_ = "6x6+0+0",  bool raisedFlag_ =  false</font></td>
<td><font size="-1">Raise image (lighten or darken the edges of
an image to give a 3-D raised or lowered effect)</font></td>
</tr>
<tr>
<td rowspan="2">
- <center><a name="reduceNoiseImage"></a> <font size="-1">reduceNoise-</font> <br>
+ <center><a name="reduceNoiseImage"></a> <font size="-1">reduceNoise-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1">void</font></td>
<center><a name="sampleImage"></a> <font size="-1">sampleImage</font></center>
</td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&geometry_ </font></td>
+&geometry_ </font></td>
<td><font size="-1">Resize image by using pixel sampling algorithm</font></td>
</tr>
<tr>
<td>
<center><a name="segmentImage"></a> <font size="-1">segmentImage</font></center>
</td>
- <td><font size="-1">double clusterThreshold_ = 1.0,</font> <br>
+ <td><font size="-1">double clusterThreshold_ = 1.0,</font> <br />
<font size="-1">double smoothingThreshold_ = 1.5</font></td>
<td><font size="-1">Segment (coalesce similar image components)
by analyzing the histograms of the color components and identifying
units that are homogeneous with the fuzzy c-means technique. Also uses <i>quantizeColorSpace</i>
and <i>verbose</i> image attributes. Specify <i>clusterThreshold_</i> ,
-as the number of pixels each cluster must exceed
+as the number  of  pixels  each cluster  must exceed
the cluster threshold to be considered valid. <i>SmoothingThreshold_</i>
-eliminates noise in the second derivative of the histogram. As the
-value is increased, you can expect a smoother
-second derivative. The default is 1.5.</font></td>
+eliminates noise in the  second derivative of the histogram. As the
+value is  increased, you can  expect  a  smoother
+second derivative.  The default is 1.5.</font></td>
</tr>
<tr>
<td>
<center><a name="shadeImage"></a> <font size="-1">shadeImage</font></center>
</td>
- <td><font size="-1">double azimuth_ = 30, double elevation_ = 30,</font> <br>
+ <td><font size="-1">double azimuth_ = 30, double elevation_ = 30,</font> <br />
<font size="-1">bool colorShading_ = false</font></td>
<td><font size="-1">Shade image using distant light source.
-Specify <i> azimuth_</i> and <i>elevation_</i> as the
-position of the light source. By default, the shading
+Specify <i> azimuth_</i> and <i>elevation_</i> as the 
+position  of  the light source. By default, the shading
results as a grayscale image.. Set c<i>olorShading_</i> to <i>true</i> to
shade the red, green, and blue components of the image.</font></td>
</tr>
= 0.5</font></td>
<td><font size="-1">Sharpen pixels in image. The radius_
parameter specifies the radius of the Gaussian, in pixels, not counting
-the center pixel. The sigma_ parameter specifies the standard
+the center pixel.  The sigma_ parameter specifies the standard
deviation of the Laplacian, in pixels.</font></td>
</tr>
<tr>
</td>
<td><font size="-1">double xShearAngle_, double yShearAngle_</font></td>
<td><font size="-1">Shear image (create parallelogram by sliding
-image by X or Y axis). Shearing slides one edge of an image along
-the X or Y axis, creating a
-parallelogram. An X direction shear slides an edge along the X
-axis, while a Y direction shear slides an
-edge along the Y axis. The amount of the shear is controlled by a
-shear angle. For X direction shears, x degrees
+image by X or Y axis).  Shearing slides one edge of an image along
+the X  or  Y axis,  creating  a
+parallelogram.  An X direction shear slides an edge along the X
+axis, while  a  Y  direction shear  slides  an
+edge along the Y axis.  The amount of the shear is controlled by a
+shear angle.  For X direction  shears,  x  degrees
is measured relative to the Y axis, and similarly, for Y direction
-shears y degrees is measured relative to the X axis. Empty
-triangles left over from shearing the image are filled
-with the color defined as <i>borderColor</i>. </font></td>
+shears  y  degrees is measured relative to the X axis. Empty
+triangles left over from shearing the  image  are filled 
+with  the  color  defined as <i>borderColor</i>. </font></td>
</tr>
<tr>
<td>
<tr>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&imageGeometry_, const <a href="Geometry.html">Geometry</a>
-&cropGeometry_ </font></td>
+&cropGeometry_ </font></td>
</tr>
<tr>
<td>
<p>The following code is an example of how the color 'red' may be set
to transparent in a GIF animation: </p>
<pre class="code">
-list<image> images;
-readImages( &images, "animation.gif" );
+list<image> images;
+readImages( &images, "animation.gif" );
for_each ( images.begin(), images.end(), transparentImage( "red" ) );
writeImages( images.begin(), images.end(), "animation.gif" );
</pre>
-<p>The available function objects for setting image attributes are <br>
-
+<p>The available function objects for setting image attributes are <br />
+ 
<ul><table border="1">
<caption style="font-weight: bold;">Image Attributes</caption> <tbody>
<tr>
</tr>
<tr>
<td>
- <center><a name="animationDelay"></a> <font size="-1">animation-</font> <br>
+ <center><a name="animationDelay"></a> <font size="-1">animation-</font> <br />
<font size="-1">DelayImage</font></center>
</td>
<td><font size="-1">size_t (0 to 65535)</font></td>
<td><font size="-1">Time in 1/100ths of a second (0 to 65535)
which must expire before displaying the next image in an animated
sequence. This option is useful for regulating the animation of a
-sequence of GIF images within Netscape.</font></td>
+sequence  of GIF images within Netscape.</font></td>
</tr>
<tr>
<td>
- <center><a name="animationIterations"></a> <font size="-1">animation-</font> <br>
+ <center><a name="animationIterations"></a> <font size="-1">animation-</font> <br />
<font size="-1">IterationsImage</font></center>
</td>
<td><font size="-1">size_t</font></td>
</tr>
<tr>
<td>
- <center><a name="backgroundColor"></a> <font size="-1">background-</font> <br>
+ <center><a name="backgroundColor"></a> <font size="-1">background-</font> <br />
<font size="-1">ColorImage</font></center>
</td>
<td><font size="-1"><a href="Color.html">Color</a> </font></td>
</tr>
<tr>
<td>
- <center><a name="backgroundTexture"></a> <font size="-1">background-</font> <br>
+ <center><a name="backgroundTexture"></a> <font size="-1">background-</font> <br />
<font size="-1">TextureImage</font></center>
</td>
<td><font size="-1">std::string</font></td>
</tr>
<tr>
<td>
- <center><a name="borderColor"></a> <font size="-1">borderColor-</font> <br>
+ <center><a name="borderColor"></a> <font size="-1">borderColor-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1"><a href="Color.html">Color</a> </font></td>
- <td><font size="-1"> const <a href="Color.html">Color</a>
+ <td><font size="-1"> const <a href="Color.html">Color</a>
&color_</font></td>
<td><font size="-1">Image border color</font></td>
</tr>
</tr>
<tr>
<td>
- <center><a name="chromaBluePrimary"></a> <font size="-1">chroma-</font> <br>
+ <center><a name="chromaBluePrimary"></a> <font size="-1">chroma-</font> <br />
<font size="-1">BluePrimaryImage</font></center>
</td>
<td><font size="-1">double x & y</font></td>
</tr>
<tr>
<td>
- <center><a name="chromaGreenPrimary"></a> <font size="-1">chroma-</font> <br>
+ <center><a name="chromaGreenPrimary"></a> <font size="-1">chroma-</font> <br />
<font size="-1">GreenPrimaryImage</font></center>
</td>
<td><font size="-1">double x & y</font></td>
</tr>
<tr>
<td>
- <center><a name="chromaRedPrimary"></a> <font size="-1">chroma-</font> <br>
+ <center><a name="chromaRedPrimary"></a> <font size="-1">chroma-</font> <br />
<font size="-1">RedPrimaryImage</font></center>
</td>
<td><font size="-1">double x & y</font></td>
</tr>
<tr>
<td>
- <center><a name="chromaWhitePoint"></a> <font size="-1">chroma-</font> <br>
+ <center><a name="chromaWhitePoint"></a> <font size="-1">chroma-</font> <br />
<font size="-1">WhitePointImage</font></center>
</td>
<td><font size="-1">double x & y</font></td>
<td><font size="-1">double</font></td>
<td><font size="-1">double fuzz_</font></td>
<td><font size="-1">Colors within this distance are considered
-equal. A number of algorithms search for a target color. By
+equal. A number of algorithms search for a target  color. By
default the color must be exact. Use this option to match colors that
are close to the target color in RGB space.</font></td>
</tr>
</tr>
<tr>
<td>
- <center><a name="compressType"></a> <font size="-1">compressType-</font> <br>
+ <center><a name="compressType"></a> <font size="-1">compressType-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#CompressionType">CompressionType</a> </font></td>
<td>
<center><a name="density"></a> <font size="-1">densityImage</font></center>
</td>
- <td><font size="-1"><a href="Geometry.html">Geometry</a>
+ <td><font size="-1"><a href="Geometry.html">Geometry</a>  
(default 72x72)</font></td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&density_</font></td>
<td><font size="-1">size_t (8 or 16)</font></td>
<td><font size="-1">size_t depth_</font></td>
<td><font size="-1">Image depth. Used to specify the bit depth
-when reading or writing raw images or thwn the output format
+when reading or writing  raw images or thwn the output format
supports multiple depths. Defaults to the quantum depth that
ImageMagick is compiled with.</font></td>
</tr>
<td><font size="-1">std::string</font></td>
<td><font size="-1">const std::string &font_</font></td>
<td><font size="-1">Text rendering font. If the font is a fully
-qualified X server font name, the font is obtained from an X
+qualified X server font name, the font is obtained from an X 
server. To use a TrueType font, precede the TrueType filename with an @.
-Otherwise, specify a Postscript font name (e.g.
+Otherwise, specify  a  Postscript font name (e.g.
"helvetica").</font></td>
</tr>
<tr>
<td>
- <center><a name="fontPointsize"></a> <font size="-1">fontPointsize-</font> <br>
+ <center><a name="fontPointsize"></a> <font size="-1">fontPointsize-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1">size_t</font></td>
</tr>
<tr>
<td>
- <center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font> <br>
+ <center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font> <br />
<font size="-1">MethodImage</font></center>
</td>
- <td><font size="-1">size_t</font> <br>
- <font size="-1">{ 0 = Disposal not specified,</font> <br>
- <font size="-1">1 = Do not dispose of graphic,</font> <br>
- <font size="-1">3 = Overwrite graphic with background color,</font> <br>
+ <td><font size="-1">size_t</font> <br />
+ <font size="-1">{ 0 = Disposal not specified,</font> <br />
+ <font size="-1">1 = Do not dispose of graphic,</font> <br />
+ <font size="-1">3 = Overwrite graphic with background color,</font> <br />
<font size="-1">4 = Overwrite graphic with previous graphic. }</font></td>
<td><font size="-1">size_t disposeMethod_</font></td>
<td><font size="-1">layer disposal method. This option is used to
</tr>
<tr>
<td>
- <center><a name="interlaceType"></a> <font size="-1">interlace-</font> <br>
+ <center><a name="interlaceType"></a> <font size="-1">interlace-</font> <br />
<font size="-1">TypeImage</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a> </font></td>
<td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
interlace_</font></td>
<td><font size="-1">The type of interlacing scheme (default <i>NoInterlace</i>
-). This option is used to specify the type of interlacing
-scheme for raw image formats such as RGB or YUV. <i>NoInterlace</i>
-means do not interlace, <i>LineInterlace</i> uses scanline
+). This option is used to specify the type of  interlacing
+scheme  for  raw  image formats such as RGB or YUV. <i>NoInterlace</i>
+means do not  interlace, <i>LineInterlace</i> uses scanline
interlacing, and <i>PlaneInterlace</i> uses plane interlacing. <i>
-PartitionInterlace</i> is like <i>PlaneInterlace</i> except the
-different planes are saved to individual files (e.g.
+PartitionInterlace</i> is like <i>PlaneInterlace</i> except the 
+different planes  are saved  to individual files (e.g. 
image.R, image.G, and image.B). Use <i>LineInterlace</i> or <i>PlaneInterlace</i>
to create an interlaced GIF or progressive JPEG image.</font></td>
</tr>
<center><a name="magick"></a> <font size="-1">magickImage</font></center>
</td>
<td><font size="-1">std::string</font></td>
- <td><font size="-1"> const std::string &magick_</font></td>
+ <td><font size="-1"> const std::string &magick_</font></td>
<td><font size="-1">Get image format (e.g. "GIF")</font></td>
</tr>
<tr>
<td><font size="-1">bool</font></td>
<td><font size="-1">bool matteFlag_</font></td>
<td><font size="-1">True if the image has transparency. If set
-True, store matte channel if the image has one otherwise create
+True, store matte channel if  the image has one otherwise create
an opaque one.</font></td>
</tr>
<tr>
</tr>
<tr>
<td>
- <center><a name="monochrome"></a> <font size="-1">monochrome-</font> <br>
+ <center><a name="monochrome"></a> <font size="-1">monochrome-</font> <br />
<font size="-1">Image</font></center>
</td>
<td><font size="-1">bool</font></td>
<td><font size="-1"><a href="Geometry.html#PostscriptPageSize">Geometry</a> </font></td>
<td><font size="-1">const <a
href="Geometry.html#PostscriptPageSize">Geometry</a> &pageSize_</font></td>
- <td><font size="-1">Postscript page size. Use this option
-to specify the dimensions of the Postscript page in dots per inch
+ <td><font size="-1">Postscript page size. Use this  option
+to specify the dimensions  of the Postscript page in dots per inch
or a TEXT page in pixels. This option is typically used in concert with <i>density</i>.</font></td>
</tr>
<tr>
</tr>
<tr>
<td>
- <center><a name="quantizeColors"></a> <font size="-1">quantize-</font> <br>
+ <center><a name="quantizeColors"></a> <font size="-1">quantize-</font> <br />
<font size="-1">ColorsImage</font></center>
</td>
<td><font size="-1">size_t</font></td>
</tr>
<tr>
<td>
- <center><a name="quantizeColorSpace"></a> <font size="-1">quantize-</font> <br>
+ <center><a name="quantizeColorSpace"></a> <font size="-1">quantize-</font> <br />
<font size="-1">ColorSpaceImage</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a> </font></td>
</tr>
<tr>
<td>
- <center><a name="quantizeDither"></a> <font size="-1">quantize-</font> <br>
+ <center><a name="quantizeDither"></a> <font size="-1">quantize-</font> <br />
<font size="-1">DitherImage</font></center>
</td>
<td><font size="-1">bool</font></td>
<td><font size="-1">bool flag_</font></td>
<td><font size="-1">Apply Floyd/Steinberg error diffusion to the
-image. The basic strategy of dithering is to trade intensity
-resolution for spatial resolution by
-averaging the intensities of several
-neighboring pixels. Images which suffer from
-severe contouring when reducing colors can be improved
+image. The basic strategy of dithering is to  trade  intensity
+resolution  for  spatial  resolution  by 
+averaging the intensities  of  several 
+neighboring  pixels. Images which  suffer  from 
+severe  contouring  when  reducing colors can be improved
with this option. The quantizeColors or monochrome option must be set
for this option to take effect.</font></td>
</tr>
<tr>
<td>
- <center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font> <br>
+ <center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font> <br />
<font size="-1">TreeDepthImage</font></center>
</td>
<td><font size="-1">size_t (0 to 8)</font></td>
</tr>
<tr>
<td>
- <center><a name="renderingIntent"></a> <font size="-1">rendering-</font> <br>
+ <center><a name="renderingIntent"></a> <font size="-1">rendering-</font> <br />
<font size="-1">IntentImage</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a> </font></td>
</tr>
<tr>
<td>
- <center><a name="resolutionUnits"></a> <font size="-1">resolution-</font> <br>
+ <center><a name="resolutionUnits"></a> <font size="-1">resolution-</font> <br />
<font size="-1">UnitsImage</font></center>
</td>
<td><font size="-1"><a href="Enumerations.html#ResolutionType">ResolutionType</a> </font></td>
<td><font size="-1">const <a href="Geometry.html">Geometry</a>
&geometry_</font></td>
<td><font size="-1">Width and height of a raw image (an image
-which does not support width and height information). Size may
+which does not support width and height information).  Size may
also be used to affect the image size read from a multi-resolution
format (e.g. Photo CD, JBIG, or JPEG.</font></td>
</tr>
</tr>
</tbody>
</table></ul>
-<br>
- </p>
+<br />
+  </p>
<center>
<h3> Query Image Format Support</h3>
</center>
-<p>Magick++ provides the <a name="coderInfoList"></a> <i>coderInfoList()</i>
+<p>Magick++ provides the <a name="coderInfoList"></a> <i>coderInfoList()</i>
function to support obtaining information about the image formats
supported by ImageMagick. Support for image formats in ImageMagick
is provided by modules known as "coders". A user-provided container is
listed formats will be readable): </p>
<pre class="code">
list<CoderInfo> coderList;
- coderInfoList( &coderList, // Reference to output list
+ coderInfoList( &coderList, // Reference to output list
CoderInfo::TrueMatch, // Match readable formats
CoderInfo::AnyMatch, // Don't care about writable formats
CoderInfo::AnyMatch); // Don't care about multi-frame support
entry ++;
}
</pre>
-<tt><font color="#000066"> }</font></tt> </p>
-<h3 style="text-align: center;">Obtaining A Color Histogram </h3>
+<tt><font color="#000066">   }</font></tt> <!-- p -->
+<h3 style="text-align: center;">Obtaining A Color Histogram  </h3>
<p>Magick++ provides the <a name="colorHistogram"></a><span
style="font-weight: bold;">colorHistogram</span> template function to
retrieve a color histogram from an image. A color histogram provides a
count of how many times each color occurs in the image. The histogram is
written into a user-provided container, which (for example) could be a <span
style="font-style: italic;"><vector></span> or a <span
- style="font-style: italic;"><map></span>. When a
+ style="font-style: italic;"><map></span>.  When a
<map> is used, the <span style="font-style: italic;">Color</span>
is used as the key so that quick lookups of usage counts for colors may
be performed. Writing into a <span style="font-style: italic;"><map></span>
may be slower than writing into a <span style="font-style: italic;"><vector></span>
since the <span style="font-style: italic;"><map></span> sorts the
entries (by color intensity) and checks for uniqueness. Each histogram
-entry is contained in type <span style="font-style: italic;">std::pair<Magick::Color,unsigned
+entry is contained in type <span style="font-style: italic;">std::pair<Magick::Color,unsigned
long></span><span style="font-style: italic;"> </span>with the first
member of the pair being a <span style="font-style: italic;">Color,</span>
and the second member of the pair being an '<span
style="font-style: italic;"><pair></span> "<span
style="font-style: italic;">first</span>" member to access the Color
and the "<span style="font-style: italic;">second</span>" member to
-access the number of times the color occurs in the image.</p>
-<p>The template function declaration is as follows:<br>
+access the number of times the color occurs in the image.</p>
+<p>The template function declaration is as follows:<br />
</p>
<pre class="code">
template <class Container >
</pre>
<p>The following examples illustrate using both a <map> and a
<vector> to retrieve the color histogram, and print out a
-formatted summary.<br>
-<br>
-Using <map>:<br>
- <br>
+formatted summary.<br />
+<br />
+Using <map>:<br />
+    <br />
<pre class="code">
Image image("image.miff");
map<Color,unsigned long> histogram;
- colorHistogram( &histogram, image );
+ colorHistogram( &histogram, image );
std::map<Color,unsigned long>::const_iterator p=histogram.begin();
while (p != histogram.end())
{
p++;
}
</pre>
-<br>
-Using <vector>:<br>
- <br>
+<br />
+Using <vector>:<br />
+    <br />
<pre class="code">
Image image("image.miff");
std::vector<std::pair<Color,unsigned long> > histogram;
- colorHistogram( &histogram, image );
+ colorHistogram( &histogram, image );
std::vector<std::pair<Color,unsigned long> >::const_iterator p=histogram.begin();
while (p != histogram.end())
{
#titlebar-west {
float: left;
}
-*/
+
#www-imagemagick-org {
background: #f5f5f5;