| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<title>Magick++ API: Enumerations</title> |
| 7 |
<link rel="stylesheet" href="magick.css" type="text/css" /> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<div class="doc-section"> |
| 11 |
<h1 style="text-align:center">Enumerations</h1> |
| 12 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 13 |
<tr> |
| 14 |
<td bgcolor="#52799e"> |
| 15 |
<p align="left"><img src="right_triangle.png" name="Graphic1" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 16 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">Contents</font></font></font></b></p> |
| 17 |
</td> |
| 18 |
</tr> |
| 19 |
</table> |
| 20 |
<ul> |
| 21 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ChannelType">ChannelType</a> |
| 22 |
</p></li> |
| 23 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ClassType">ClassType</a> |
| 24 |
</p></li> |
| 25 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a> |
| 26 |
</p></li> |
| 27 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#CompositeOperator">CompositeOperator</a> |
| 28 |
</p></li> |
| 29 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#CompressionType">CompressionType</a> |
| 30 |
</p></li> |
| 31 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#DecorationType">DecorationType</a> |
| 32 |
</p></li> |
| 33 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#FillRule">FillRule</a> |
| 34 |
</p></li> |
| 35 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#FilterTypes">FilterTypes</a> |
| 36 |
</p></li> |
| 37 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#GravityType">GravityType</a> |
| 38 |
</p></li> |
| 39 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ImageType">ImageType</a> |
| 40 |
</p></li> |
| 41 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#InterlaceType">InterlaceType</a> |
| 42 |
</p></li> |
| 43 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ChannelType">ChannelType</a> |
| 44 |
</p></li> |
| 45 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#LineCap">LineCap</a> |
| 46 |
</p></li> |
| 47 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#LineJoin">LineJoin</a> |
| 48 |
</p></li> |
| 49 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#NoiseType">NoiseType</a> |
| 50 |
</p></li> |
| 51 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#OrientationType">OrientationType</a></p></li> |
| 52 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#PaintMethod">PaintMethod</a> |
| 53 |
</p></li> |
| 54 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#QuantumTypes">QuantumTypes</a> |
| 55 |
</p></li> |
| 56 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a> |
| 57 |
</p></li> |
| 58 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#ResolutionType">ResolutionType</a> |
| 59 |
</p></li> |
| 60 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#StorageType">StorageType</a> |
| 61 |
</p></li> |
| 62 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#StretchType">StretchType</a> |
| 63 |
</p></li> |
| 64 |
<li><p><a href="Enumerations.html#StyleType">StyleType</a></p></li> |
| 65 |
<li><p style="margin-bottom: 0in"><a href="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod</a> |
| 66 |
</p></li> |
| 67 |
</ul> |
| 68 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 69 |
<tr> |
| 70 |
<td bgcolor="#52799e"> |
| 71 |
<p align="left"><a name="ChannelType"></a><img src="right_triangle.png" name="Graphic2" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 72 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ChannelType</font></font></font></b></p> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
</table> |
| 76 |
<p style="margin-bottom: 0in"><i>ChannelType</i> is used as an |
| 77 |
argument when doing color separations. Use <i>ChannelType </i>when |
| 78 |
extracting a layer from an image. <i>MatteChannel</i> is useful for |
| 79 |
extracting the opacity values from an image. Note that an image may |
| 80 |
be represented in RGB, RGBA, CMYK, or CMYKA, pixel formats and a |
| 81 |
channel may only be extracted if it is valid for the current pixel |
| 82 |
format.</p> |
| 83 |
<p style="text-align:center;margin-bottom: 0in"><b>ChannelType</b></p> |
| 84 |
<table width="100%" border="1" cellpadding="1" cellspacing="3" bgcolor="#cccccc"> |
| 85 |
<col width="86*" /> |
| 86 |
<col width="170*" /> |
| 87 |
<tr> |
| 88 |
<td width="34%"> |
| 89 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 90 |
</td> |
| 91 |
<td width="66%"> |
| 92 |
<p style="text-align:center"><b>Description</b></p> |
| 93 |
</td> |
| 94 |
</tr> |
| 95 |
<tr> |
| 96 |
<td width="34%"> |
| 97 |
<p>UndefinedChannel</p> |
| 98 |
</td> |
| 99 |
<td width="66%"> |
| 100 |
<p>Unset value.</p> |
| 101 |
</td> |
| 102 |
</tr> |
| 103 |
<tr> |
| 104 |
<td width="34%"> |
| 105 |
<p>RedChannel</p> |
| 106 |
</td> |
| 107 |
<td width="66%"> |
| 108 |
<p>Extract red channel (RGB images only)</p> |
| 109 |
</td> |
| 110 |
</tr> |
| 111 |
<tr> |
| 112 |
<td width="34%"> |
| 113 |
<p>CyanChannel</p> |
| 114 |
</td> |
| 115 |
<td width="66%"> |
| 116 |
<p>Extract cyan channel (CMYK images only)</p> |
| 117 |
</td> |
| 118 |
</tr> |
| 119 |
<tr> |
| 120 |
<td width="34%"> |
| 121 |
<p>GreenChannel</p> |
| 122 |
</td> |
| 123 |
<td width="66%"> |
| 124 |
<p>Extract green channel (RGB images only)</p> |
| 125 |
</td> |
| 126 |
</tr> |
| 127 |
<tr> |
| 128 |
<td width="34%"> |
| 129 |
<p>MagentaChannel</p> |
| 130 |
</td> |
| 131 |
<td width="66%"> |
| 132 |
<p>Extract magenta channel (CMYK images only)</p> |
| 133 |
</td> |
| 134 |
</tr> |
| 135 |
<tr> |
| 136 |
<td width="34%"> |
| 137 |
<p>BlueChannel</p> |
| 138 |
</td> |
| 139 |
<td width="66%"> |
| 140 |
<p>Extract blue channel (RGB images only)</p> |
| 141 |
</td> |
| 142 |
</tr> |
| 143 |
<tr> |
| 144 |
<td width="34%"> |
| 145 |
<p>YellowChannel</p> |
| 146 |
</td> |
| 147 |
<td width="66%"> |
| 148 |
<p>Extract yellow channel (CMYK images only)</p> |
| 149 |
</td> |
| 150 |
</tr> |
| 151 |
<tr> |
| 152 |
<td width="34%"> |
| 153 |
<p>OpacityChannel</p> |
| 154 |
</td> |
| 155 |
<td width="66%"> |
| 156 |
<p>Extract matte (opacity values) channel (CMYKA images only)</p> |
| 157 |
</td> |
| 158 |
</tr> |
| 159 |
<tr> |
| 160 |
<td width="34%"> |
| 161 |
<p>BlackChannel</p> |
| 162 |
</td> |
| 163 |
<td width="66%"> |
| 164 |
<p>Extract black channel (CMYK images only)</p> |
| 165 |
</td> |
| 166 |
</tr> |
| 167 |
<tr> |
| 168 |
<td width="34%"> |
| 169 |
<p>MatteChannel</p> |
| 170 |
</td> |
| 171 |
<td width="66%"> |
| 172 |
<p>Extract matte (opacity values) channel (RGB images only)</p> |
| 173 |
</td> |
| 174 |
</tr> |
| 175 |
</table> |
| 176 |
<p style="margin-bottom: 0in"><br /> |
| 177 |
</p> |
| 178 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 179 |
<tr> |
| 180 |
<td bgcolor="#52799e"> |
| 181 |
<p align="left"> |
| 182 |
<a name="ClassType"></a> |
| 183 |
<img src="right_triangle.png" name="Graphic3" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 184 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ClassType</font></font></font></b></p> |
| 185 |
</td> |
| 186 |
</tr> |
| 187 |
</table> |
| 188 |
<p style="margin-bottom: 0in"><i>ClassType</i> specifies the image |
| 189 |
storage class. |
| 190 |
</p> |
| 191 |
<p style="text-align:center;margin-bottom: 0in"><b>ClassType</b></p> |
| 192 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 193 |
<tr> |
| 194 |
<td> |
| 195 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 196 |
</td> |
| 197 |
<td> |
| 198 |
<p style="text-align:center"><b>Description</b></p> |
| 199 |
</td> |
| 200 |
</tr> |
| 201 |
<tr> |
| 202 |
<td> |
| 203 |
<p>UndefinedClass</p> |
| 204 |
</td> |
| 205 |
<td> |
| 206 |
<p>Unset value.</p> |
| 207 |
</td> |
| 208 |
</tr> |
| 209 |
<tr> |
| 210 |
<td> |
| 211 |
<p>DirectClass</p> |
| 212 |
</td> |
| 213 |
<td> |
| 214 |
<p>Image is composed of pixels which represent literal color |
| 215 |
values.</p> |
| 216 |
</td> |
| 217 |
</tr> |
| 218 |
<tr> |
| 219 |
<td> |
| 220 |
<p>PseudoClass</p> |
| 221 |
</td> |
| 222 |
<td> |
| 223 |
<p>Image is composed of pixels which specify an index in a color |
| 224 |
palette.</p> |
| 225 |
</td> |
| 226 |
</tr> |
| 227 |
</table> |
| 228 |
<p style="margin-bottom: 0in"><br /> |
| 229 |
</p> |
| 230 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 231 |
<tr> |
| 232 |
<td bgcolor="#52799e"> |
| 233 |
<p align="left"><a name="ColorspaceType"></a> |
| 234 |
<img src="right_triangle.png" name="Graphic4" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 235 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">ColorspaceType</font></font></font></b></p> |
| 236 |
</td> |
| 237 |
</tr> |
| 238 |
</table> |
| 239 |
<p>The ColorspaceType enumeration is used to specify the colorspace |
| 240 |
that quantization (color reduction and mapping) is done under or to |
| 241 |
specify the colorspace when encoding an output image. Colorspaces are |
| 242 |
ways of describing colors to fit the requirements of a particular |
| 243 |
application (e.g. Television, offset printing, color monitors). |
| 244 |
Color reduction, by default, takes place in the <i>RGBColorspace</i>. |
| 245 |
Empirical evidence suggests that distances in color spaces such as |
| 246 |
<i>YUVColorspace</i> or <i>YIQColorspace</i> correspond to perceptual |
| 247 |
color differences more closely han do distances in RGB space. These |
| 248 |
color spaces may give better results when color reducing an image. |
| 249 |
Refer to <i>quantize</i> for more details. |
| 250 |
</p> |
| 251 |
<p style="margin-bottom: 0in">When encoding an output image, the |
| 252 |
colorspaces <i>RGBColorspace</i>, <i>CMYKColorspace</i>, and |
| 253 |
<i>GRAYColorspace</i> may be specified. The <i>CMYKColorspace</i> |
| 254 |
option is only applicable when writing TIFF, JPEG, and Adobe |
| 255 |
Photoshop bitmap (PSD) files. |
| 256 |
</p> |
| 257 |
<p style="text-align:center;margin-bottom: 0in"><b>ColorspaceType</b></p> |
| 258 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 259 |
<tr> |
| 260 |
<td> |
| 261 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 262 |
</td> |
| 263 |
<td> |
| 264 |
<p style="text-align:center"><b>Description</b></p> |
| 265 |
</td> |
| 266 |
</tr> |
| 267 |
<tr> |
| 268 |
<td> |
| 269 |
<p>UndefinedColorspace</p> |
| 270 |
</td> |
| 271 |
<td> |
| 272 |
<p>Unset value.</p> |
| 273 |
</td> |
| 274 |
</tr> |
| 275 |
<tr> |
| 276 |
<td> |
| 277 |
<p>CMYKColorspace</p> |
| 278 |
</td> |
| 279 |
<td> |
| 280 |
<p>Cyan-Magenta-Yellow-Black colorspace. CYMK is a subtractive |
| 281 |
color system used by printers and photographers for the rendering |
| 282 |
of colors with ink or emulsion, normally on a white surface.</p> |
| 283 |
</td> |
| 284 |
</tr> |
| 285 |
<tr> |
| 286 |
<td> |
| 287 |
<p>GRAYColorspace</p> |
| 288 |
</td> |
| 289 |
<td> |
| 290 |
<p> Grayscale colorspace</p> |
| 291 |
</td> |
| 292 |
</tr> |
| 293 |
<tr> |
| 294 |
<td> |
| 295 |
<p>HCLColorspace</p> |
| 296 |
</td> |
| 297 |
<td> |
| 298 |
<p> </p> |
| 299 |
</td> |
| 300 |
</tr> |
| 301 |
<tr> |
| 302 |
<td> |
| 303 |
<p>LabColorspace</p> |
| 304 |
</td> |
| 305 |
<td> |
| 306 |
<p> </p> |
| 307 |
</td> |
| 308 |
</tr> |
| 309 |
<tr> |
| 310 |
<td> |
| 311 |
<p>LCHabColorspace</p> |
| 312 |
</td> |
| 313 |
<td> |
| 314 |
<p> </p> |
| 315 |
</td> |
| 316 |
</tr> |
| 317 |
<tr> |
| 318 |
<td> |
| 319 |
<p>LuvColorspace</p> |
| 320 |
</td> |
| 321 |
<td> |
| 322 |
<p> </p> |
| 323 |
</td> |
| 324 |
</tr> |
| 325 |
<tr> |
| 326 |
<td> |
| 327 |
<p>OHTAColorspace</p> |
| 328 |
</td> |
| 329 |
<td> |
| 330 |
<p> </p> |
| 331 |
</td> |
| 332 |
</tr> |
| 333 |
<tr> |
| 334 |
<td> |
| 335 |
<p>RGBColorspace</p> |
| 336 |
</td> |
| 337 |
<td> |
| 338 |
<p>Red-Green-Blue colorspace.</p> |
| 339 |
</td> |
| 340 |
</tr> |
| 341 |
<tr> |
| 342 |
<td> |
| 343 |
<p>sRGBColorspace</p> |
| 344 |
</td> |
| 345 |
<td> |
| 346 |
<p> </p> |
| 347 |
</td> |
| 348 |
</tr> |
| 349 |
<tr> |
| 350 |
<td> |
| 351 |
<p>scRGBColorspace</p> |
| 352 |
</td> |
| 353 |
<td> |
| 354 |
<p> </p> |
| 355 |
</td> |
| 356 |
</tr> |
| 357 |
<tr> |
| 358 |
<td> |
| 359 |
<p>TransparentColorspace</p> |
| 360 |
</td> |
| 361 |
<td> |
| 362 |
<p>The Transparent color space behaves uniquely in that it |
| 363 |
preserves the matte channel of the image if it exists.</p> |
| 364 |
</td> |
| 365 |
</tr> |
| 366 |
<tr> |
| 367 |
<td> |
| 368 |
<p>XYZColorspace</p> |
| 369 |
</td> |
| 370 |
<td> |
| 371 |
<p> </p> |
| 372 |
</td> |
| 373 |
</tr> |
| 374 |
<tr> |
| 375 |
<td> |
| 376 |
<p>YCbCrColorspace</p> |
| 377 |
</td> |
| 378 |
<td> |
| 379 |
<p> </p> |
| 380 |
</td> |
| 381 |
</tr> |
| 382 |
<tr> |
| 383 |
<td> |
| 384 |
<p>YCCColorspace</p> |
| 385 |
</td> |
| 386 |
<td> |
| 387 |
<p> </p> |
| 388 |
</td> |
| 389 |
</tr> |
| 390 |
<tr> |
| 391 |
<td> |
| 392 |
<p>YIQColorspace</p> |
| 393 |
</td> |
| 394 |
<td> |
| 395 |
<p> </p> |
| 396 |
</td> |
| 397 |
</tr> |
| 398 |
<tr> |
| 399 |
<td> |
| 400 |
<p>YPbPrColorspace</p> |
| 401 |
</td> |
| 402 |
<td> |
| 403 |
<p> </p> |
| 404 |
</td> |
| 405 |
</tr> |
| 406 |
<tr> |
| 407 |
<td> |
| 408 |
<p>YUVColorspace</p> |
| 409 |
</td> |
| 410 |
<td> |
| 411 |
<p>Y-signal, U-signal, and V-signal colorspace. YUV is most widely |
| 412 |
used to encode color for use in television transmission.</p> |
| 413 |
</td> |
| 414 |
</tr> |
| 415 |
</table> |
| 416 |
<p style="margin-bottom: 0in"><br /> |
| 417 |
</p> |
| 418 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 419 |
<tr> |
| 420 |
<td bgcolor="#52799e"> |
| 421 |
<p align="left"><a name="CompositeOperator"></a> |
| 422 |
<img src="right_triangle.png" name="Graphic5" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 423 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">CompositeOperator</font></font></font></b></p> |
| 424 |
</td> |
| 425 |
</tr> |
| 426 |
</table> |
| 427 |
<p style="margin-bottom: 0in"><i>CompositeOperator</i> is used to |
| 428 |
select the image composition algorithm used to compose a <i>composite |
| 429 |
image</i> with an <i>image</i>. By default, each of the composite |
| 430 |
image pixels are replaced by the corresponding image tile pixel. |
| 431 |
Specify <i>CompositeOperator</i> to select a different algorithm. |
| 432 |
</p> |
| 433 |
<p style="text-align:center;margin-bottom: 0in"><b>CompositeOperator</b></p> |
| 434 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 435 |
<tr> |
| 436 |
<td> |
| 437 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 438 |
</td> |
| 439 |
<td> |
| 440 |
<p style="text-align:center"><b>Description</b></p> |
| 441 |
</td> |
| 442 |
</tr> |
| 443 |
<tr> |
| 444 |
<td> |
| 445 |
<p>UndefinedCompositeOp</p> |
| 446 |
</td> |
| 447 |
<td> |
| 448 |
<p>Unset value.</p> |
| 449 |
</td> |
| 450 |
</tr> |
| 451 |
<tr> |
| 452 |
<td> |
| 453 |
<p>OverCompositeOp</p> |
| 454 |
</td> |
| 455 |
<td> |
| 456 |
<p>The result is the union of the the two image shapes with the |
| 457 |
<i>composite image</i> obscuring <i>image</i> in the region of |
| 458 |
overlap.</p> |
| 459 |
</td> |
| 460 |
</tr> |
| 461 |
<tr> |
| 462 |
<td> |
| 463 |
<p>InCompositeOp</p> |
| 464 |
</td> |
| 465 |
<td> |
| 466 |
<p>The result is a simply <i>composite image </i>cut by the shape |
| 467 |
of image. None of the image data of <i>image</i> is included in |
| 468 |
the result.</p> |
| 469 |
</td> |
| 470 |
</tr> |
| 471 |
<tr> |
| 472 |
<td> |
| 473 |
<p>OutCompositeOp</p> |
| 474 |
</td> |
| 475 |
<td> |
| 476 |
<p>The resulting image is <i>composite image</i> with the shape of |
| 477 |
<i>image</i> cut out.</p> |
| 478 |
</td> |
| 479 |
</tr> |
| 480 |
<tr> |
| 481 |
<td> |
| 482 |
<p>AtopCompositeOp</p> |
| 483 |
</td> |
| 484 |
<td> |
| 485 |
<p>The result is the same shape as image <i>image</i>, with |
| 486 |
<i>composite image</i> obscuring <i>image</i> there the image |
| 487 |
shapes overlap. Note that this differs from <i>OverCompositeOp</i> |
| 488 |
because the portion of <i>composite image</i> outside of <i>image</i>'s |
| 489 |
shape does not appear in the result.</p> |
| 490 |
</td> |
| 491 |
</tr> |
| 492 |
<tr> |
| 493 |
<td> |
| 494 |
<p>XorCompositeOp</p> |
| 495 |
</td> |
| 496 |
<td> |
| 497 |
<p>The result is the image data from both c<i>omposite image</i> |
| 498 |
and <i>image</i> that is outside the overlap region. The overlap |
| 499 |
region will be blank.</p> |
| 500 |
</td> |
| 501 |
</tr> |
| 502 |
<tr> |
| 503 |
<td> |
| 504 |
<p>PlusCompositeOp</p> |
| 505 |
</td> |
| 506 |
<td> |
| 507 |
<p>The result is just the sum of the image data. Output |
| 508 |
values are cropped to 255 (no overflow). This operation is |
| 509 |
independent of the matte channels.</p> |
| 510 |
</td> |
| 511 |
</tr> |
| 512 |
<tr> |
| 513 |
<td> |
| 514 |
<p>MinusCompositeOp</p> |
| 515 |
</td> |
| 516 |
<td> |
| 517 |
<p>The result of <i>composite image </i>- <i>image</i>, with |
| 518 |
overflow cropped to zero. The matte chanel is ignored (set to 255, |
| 519 |
full coverage).</p> |
| 520 |
</td> |
| 521 |
</tr> |
| 522 |
<tr> |
| 523 |
<td> |
| 524 |
<p>AddCompositeOp</p> |
| 525 |
</td> |
| 526 |
<td> |
| 527 |
<p>The result of <i>composite image</i> + <i>image</i>, with |
| 528 |
overflow wrapping around (mod 256).</p> |
| 529 |
</td> |
| 530 |
</tr> |
| 531 |
<tr> |
| 532 |
<td> |
| 533 |
<p>SubtractCompositeOp</p> |
| 534 |
</td> |
| 535 |
<td> |
| 536 |
<p>The result of <i>composite image </i>- <i>image</i>, with |
| 537 |
underflow wrapping around (mod 256). The add and subtract |
| 538 |
operators can be used to perform reverible transformations.</p> |
| 539 |
</td> |
| 540 |
</tr> |
| 541 |
<tr> |
| 542 |
<td> |
| 543 |
<p>DifferenceCompositeOp</p> |
| 544 |
</td> |
| 545 |
<td> |
| 546 |
<p>The result of abs(c<i>omposite image </i>- <i>image</i>). This |
| 547 |
is useful for comparing two very similar images.</p> |
| 548 |
</td> |
| 549 |
</tr> |
| 550 |
<tr> |
| 551 |
<td> |
| 552 |
<p>MultiplyCompositeOp</p> |
| 553 |
</td> |
| 554 |
<td> |
| 555 |
<p> </p> |
| 556 |
</td> |
| 557 |
</tr> |
| 558 |
<tr> |
| 559 |
<td> |
| 560 |
<p>BumpmapCompositeOp</p> |
| 561 |
</td> |
| 562 |
<td> |
| 563 |
<p>The result <i>image</i> shaded by <i>composite image.</i></p> |
| 564 |
</td> |
| 565 |
</tr> |
| 566 |
<tr> |
| 567 |
<td> |
| 568 |
<p>CopyCompositeOp</p> |
| 569 |
</td> |
| 570 |
<td> |
| 571 |
<p>The resulting <i>image</i> is image replaced with c<i>omposite |
| 572 |
image</i>. Here the matte information is ignored.</p> |
| 573 |
</td> |
| 574 |
</tr> |
| 575 |
<tr> |
| 576 |
<td> |
| 577 |
<p>CopyRedCompositeOp</p> |
| 578 |
</td> |
| 579 |
<td> |
| 580 |
<p>The resulting image is the red layer in <i>image</i> replaced |
| 581 |
with the red layer in <i>composite image</i>. The other layers are |
| 582 |
copied untouched.</p> |
| 583 |
</td> |
| 584 |
</tr> |
| 585 |
<tr> |
| 586 |
<td> |
| 587 |
<p>CopyGreenCompositeOp</p> |
| 588 |
</td> |
| 589 |
<td> |
| 590 |
<p>The resulting image is the green layer in <i>image</i> replaced |
| 591 |
with the green layer in <i>composite image</i>. The other layers |
| 592 |
are copied untouched.</p> |
| 593 |
</td> |
| 594 |
</tr> |
| 595 |
<tr> |
| 596 |
<td> |
| 597 |
<p>CopyBlueCompositeOp</p> |
| 598 |
</td> |
| 599 |
<td> |
| 600 |
<p>The resulting image is the blue layer in <i>image</i> replaced |
| 601 |
with the blue layer in <i>composite image</i>. The other layers |
| 602 |
are copied untouched.</p> |
| 603 |
</td> |
| 604 |
</tr> |
| 605 |
<tr> |
| 606 |
<td> |
| 607 |
<p>CopyOpacityCompositeOp</p> |
| 608 |
</td> |
| 609 |
<td> |
| 610 |
<p>The resulting image is the matte layer in <i>image</i> replaced |
| 611 |
with the matte layer in <i>composite image</i>. The other layers |
| 612 |
are copied untouched. |
| 613 |
</p> |
| 614 |
<p>The image compositor requires a matte, or alpha channel in the |
| 615 |
image for some operations. This extra channel usually defines a |
| 616 |
mask which represents a sort of a cookie-cutter for the image. |
| 617 |
This is the case when matte is 255 (full coverage) for pixels |
| 618 |
inside the shape, zero outside, and between zero and 255 on the |
| 619 |
boundary. For certain operations, if <i>image</i> does not |
| 620 |
have a matte channel, it is initialized with 0 for any pixel |
| 621 |
matching in color to pixel location (0,0), otherwise 255 (to work |
| 622 |
properly <i>borderWidth</i> must be 0).</p> |
| 623 |
</td> |
| 624 |
</tr> |
| 625 |
<tr> |
| 626 |
<td> |
| 627 |
<p>ClearCompositeOp</p> |
| 628 |
</td> |
| 629 |
<td> |
| 630 |
<p> </p> |
| 631 |
</td> |
| 632 |
</tr> |
| 633 |
<tr> |
| 634 |
<td> |
| 635 |
<p>DissolveCompositeOp</p> |
| 636 |
</td> |
| 637 |
<td> |
| 638 |
<p> </p> |
| 639 |
</td> |
| 640 |
</tr> |
| 641 |
<tr> |
| 642 |
<td> |
| 643 |
<p>DisplaceCompositeOp</p> |
| 644 |
</td> |
| 645 |
<td> |
| 646 |
<p> </p> |
| 647 |
</td> |
| 648 |
</tr> |
| 649 |
<tr> |
| 650 |
<td> |
| 651 |
<p>ModulateCompositeOp</p> |
| 652 |
</td> |
| 653 |
<td> |
| 654 |
<p> </p> |
| 655 |
</td> |
| 656 |
</tr> |
| 657 |
<tr> |
| 658 |
<td> |
| 659 |
<p>ThresholdCompositeOp</p> |
| 660 |
</td> |
| 661 |
<td> |
| 662 |
<p> </p> |
| 663 |
</td> |
| 664 |
</tr> |
| 665 |
</table> |
| 666 |
<p style="margin-bottom: 0in"><br /> |
| 667 |
</p> |
| 668 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 669 |
<tr> |
| 670 |
<td bgcolor="#52799e"> |
| 671 |
<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> |
| 672 |
</td> |
| 673 |
</tr> |
| 674 |
</table> |
| 675 |
<p style="margin-bottom: 0in"><i>CompressionType</i> is used to |
| 676 |
express the desired compression type when encoding an image. Be aware |
| 677 |
that most image types only support a sub-set of the available |
| 678 |
compression types. If the compression type specified is incompatable |
| 679 |
with the image, ImageMagick selects a compression type compatable |
| 680 |
with the image type. |
| 681 |
</p> |
| 682 |
<p style="text-align:center;margin-bottom: 0in"><b>CompressionType</b></p> |
| 683 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 684 |
<tr> |
| 685 |
<td> |
| 686 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 687 |
</td> |
| 688 |
<td> |
| 689 |
<p style="text-align:center"><b>Description</b></p> |
| 690 |
</td> |
| 691 |
</tr> |
| 692 |
<tr> |
| 693 |
<td> |
| 694 |
<p>UndefinedCompression</p> |
| 695 |
</td> |
| 696 |
<td> |
| 697 |
<p>Unset value.</p> |
| 698 |
</td> |
| 699 |
</tr> |
| 700 |
<tr> |
| 701 |
<td> |
| 702 |
<p>NoCompression</p> |
| 703 |
</td> |
| 704 |
<td> |
| 705 |
<p>No compression</p> |
| 706 |
</td> |
| 707 |
</tr> |
| 708 |
<tr> |
| 709 |
<td> |
| 710 |
<p>BZipCompression</p> |
| 711 |
</td> |
| 712 |
<td> |
| 713 |
<p>BZip (Burrows-Wheeler block-sorting text compression algorithm |
| 714 |
and Huffman coding) as used by bzip2 utilities</p> |
| 715 |
</td> |
| 716 |
</tr> |
| 717 |
<tr> |
| 718 |
<td> |
| 719 |
<p>FaxCompression</p> |
| 720 |
</td> |
| 721 |
<td> |
| 722 |
<p>CCITT Group 3 FAX compression</p> |
| 723 |
</td> |
| 724 |
</tr> |
| 725 |
<tr> |
| 726 |
<td> |
| 727 |
<p>Group4Compression</p> |
| 728 |
</td> |
| 729 |
<td> |
| 730 |
<p>CCITT Group 4 FAX compression (used only for TIFF)</p> |
| 731 |
</td> |
| 732 |
</tr> |
| 733 |
<tr> |
| 734 |
<td> |
| 735 |
<p>JPEGCompression</p> |
| 736 |
</td> |
| 737 |
<td> |
| 738 |
<p>JPEG compression</p> |
| 739 |
</td> |
| 740 |
</tr> |
| 741 |
<tr> |
| 742 |
<td> |
| 743 |
<p>LZWCompression</p> |
| 744 |
</td> |
| 745 |
<td> |
| 746 |
<p>Lempel-Ziv-Welch (LZW) compression (caution, patented by |
| 747 |
Unisys)</p> |
| 748 |
</td> |
| 749 |
</tr> |
| 750 |
<tr> |
| 751 |
<td> |
| 752 |
<p>RunlengthEncodedCompression</p> |
| 753 |
</td> |
| 754 |
<td> |
| 755 |
<p>Run-Length encoded (RLE) compression</p> |
| 756 |
</td> |
| 757 |
</tr> |
| 758 |
<tr> |
| 759 |
<td> |
| 760 |
<p>ZipCompression</p> |
| 761 |
</td> |
| 762 |
<td> |
| 763 |
<p>Lempel-Ziv compression (LZ77) as used in PKZIP and GNU gzip.</p> |
| 764 |
</td> |
| 765 |
</tr> |
| 766 |
</table> |
| 767 |
<p style="margin-bottom: 0in"><br /> |
| 768 |
</p> |
| 769 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 770 |
<tr> |
| 771 |
<td bgcolor="#52799e"> |
| 772 |
<p align="left"><a name="DecorationType"></a> |
| 773 |
<img src="right_triangle.png" name="Graphic7" alt=">" align="bottom" width="15" height="14" border="0" /> |
| 774 |
<b><font size="4"><font face="Helvetica, Arial"><font color="#ffffff">DecorationType</font></font></font></b></p> |
| 775 |
</td> |
| 776 |
</tr> |
| 777 |
</table> |
| 778 |
<p style="margin-bottom: 0in">The <i>DecorationType </i>enumerations |
| 779 |
are used to specify line decorations of rendered text. |
| 780 |
</p> |
| 781 |
<p style="text-align:center;margin-bottom: 0in"><b>DecorationType</b></p> |
| 782 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 783 |
<tr> |
| 784 |
<td> |
| 785 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 786 |
</td> |
| 787 |
<td> |
| 788 |
<p style="text-align:center"><b>Description</b></p> |
| 789 |
</td> |
| 790 |
</tr> |
| 791 |
<tr> |
| 792 |
<td> |
| 793 |
<p>NoDecoration</p> |
| 794 |
</td> |
| 795 |
<td> |
| 796 |
<p>No decoration</p> |
| 797 |
</td> |
| 798 |
</tr> |
| 799 |
<tr> |
| 800 |
<td> |
| 801 |
<p>UnderlineDecoration</p> |
| 802 |
</td> |
| 803 |
<td> |
| 804 |
<p>Underlined text</p> |
| 805 |
</td> |
| 806 |
</tr> |
| 807 |
<tr> |
| 808 |
<td> |
| 809 |
<p>OverlineDecoration</p> |
| 810 |
</td> |
| 811 |
<td> |
| 812 |
<p>Overlined text</p> |
| 813 |
</td> |
| 814 |
</tr> |
| 815 |
<tr> |
| 816 |
<td> |
| 817 |
<p>LineThroughDecoration</p> |
| 818 |
</td> |
| 819 |
<td> |
| 820 |
<p>Strike-through text</p> |
| 821 |
</td> |
| 822 |
</tr> |
| 823 |
</table> |
| 824 |
<p style="margin-bottom: 0in"><br /> |
| 825 |
</p> |
| 826 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 827 |
<tr> |
| 828 |
<td bgcolor="#52799e"> |
| 829 |
<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> |
| 830 |
</td> |
| 831 |
</tr> |
| 832 |
</table> |
| 833 |
<p style="margin-bottom: 0in">The <i>EndianType </i>enumerations are |
| 834 |
used to specify the endian option for formats which support it (e.g. |
| 835 |
TIFF). |
| 836 |
</p> |
| 837 |
<p style="margin-bottom: 0in"><br /> |
| 838 |
</p> |
| 839 |
<p style="text-align:center;margin-bottom: 0in"><b>EndianType</b></p> |
| 840 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 841 |
<tr> |
| 842 |
<td> |
| 843 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 844 |
</td> |
| 845 |
<td> |
| 846 |
<p style="text-align:center"><b>Description</b></p> |
| 847 |
</td> |
| 848 |
</tr> |
| 849 |
<tr> |
| 850 |
<td> |
| 851 |
<p>UndefinedEndian</p> |
| 852 |
</td> |
| 853 |
<td> |
| 854 |
<p>Not defined (default)</p> |
| 855 |
</td> |
| 856 |
</tr> |
| 857 |
<tr> |
| 858 |
<td> |
| 859 |
<p>LSBEndian</p> |
| 860 |
</td> |
| 861 |
<td> |
| 862 |
<p>Little endian (like Intel X86 and DEC Alpha)</p> |
| 863 |
</td> |
| 864 |
</tr> |
| 865 |
<tr> |
| 866 |
<td> |
| 867 |
<p>MSBEndian</p> |
| 868 |
</td> |
| 869 |
<td> |
| 870 |
<p>Big endian (like Motorola 68K, Mac PowerPC, & SPARC)</p> |
| 871 |
</td> |
| 872 |
</tr> |
| 873 |
</table> |
| 874 |
<p style="margin-bottom: 0in"><br /> |
| 875 |
</p> |
| 876 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 877 |
<tr> |
| 878 |
<td bgcolor="#52799e"> |
| 879 |
<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> |
| 880 |
</td> |
| 881 |
</tr> |
| 882 |
</table> |
| 883 |
<p style="margin-bottom: 0in"><i>FillRule</i> specifies the algorithm |
| 884 |
which is to be used to determine what parts of the canvas are |
| 885 |
included inside the shape. See the documentation on SVG's <a href="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty">fill-rule</a> |
| 886 |
property for usage details. |
| 887 |
</p> |
| 888 |
<p style="text-align:center;margin-bottom: 0in"><b>FillRule</b></p> |
| 889 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 890 |
<tr> |
| 891 |
<td> |
| 892 |
<p>UndefinedRule</p> |
| 893 |
</td> |
| 894 |
<td> |
| 895 |
<p>Fill rule not specified</p> |
| 896 |
</td> |
| 897 |
</tr> |
| 898 |
<tr> |
| 899 |
<td> |
| 900 |
<p>EvenOddRule</p> |
| 901 |
</td> |
| 902 |
<td> |
| 903 |
<p>See SVG fill-rule <i>evenodd</i> rule.</p> |
| 904 |
</td> |
| 905 |
</tr> |
| 906 |
<tr> |
| 907 |
<td> |
| 908 |
<p>NonZeroRule</p> |
| 909 |
</td> |
| 910 |
<td> |
| 911 |
<p>See SVG fill-rule <i>nonzero</i> rule.</p> |
| 912 |
</td> |
| 913 |
</tr> |
| 914 |
</table> |
| 915 |
<p style="margin-bottom: 0in"><br /> |
| 916 |
</p> |
| 917 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 918 |
<tr> |
| 919 |
<td bgcolor="#52799e"> |
| 920 |
<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> |
| 921 |
</td> |
| 922 |
</tr> |
| 923 |
</table> |
| 924 |
<p style="margin-bottom: 0in"><i>FilterTypes</i> is used to adjust |
| 925 |
the filter algorithm used when resizing images. Different filters |
| 926 |
experience varying degrees of success with various images and can |
| 927 |
take sipngicantly different amounts of processing time. |
| 928 |
ImageMagick uses the <i>LanczosFilter</i> by default since this |
| 929 |
filter has been shown to provide the best results for most images in |
| 930 |
a reasonable amount of time. Other filter types (e.g. <i>TriangleFilter</i>) |
| 931 |
may execute much faster but may show artifacts when the image is |
| 932 |
re-sized or around diagonal lines. The only way to be sure is to test |
| 933 |
the filter with sample images. |
| 934 |
</p> |
| 935 |
<p style="text-align:center;margin-bottom: 0in"><b>FilterTypes</b></p> |
| 936 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 937 |
<tr> |
| 938 |
<td> |
| 939 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 940 |
</td> |
| 941 |
<td> |
| 942 |
<p style="text-align:center"><b>Description</b></p> |
| 943 |
</td> |
| 944 |
</tr> |
| 945 |
<tr> |
| 946 |
<td> |
| 947 |
<p>UndefinedFilter</p> |
| 948 |
</td> |
| 949 |
<td> |
| 950 |
<p>Unset value.</p> |
| 951 |
</td> |
| 952 |
</tr> |
| 953 |
<tr> |
| 954 |
<td> |
| 955 |
<p>PointFilter</p> |
| 956 |
</td> |
| 957 |
<td> |
| 958 |
<p>Point Filter</p> |
| 959 |
</td> |
| 960 |
</tr> |
| 961 |
<tr> |
| 962 |
<td> |
| 963 |
<p>BoxFilter</p> |
| 964 |
</td> |
| 965 |
<td> |
| 966 |
<p>Box Filter</p> |
| 967 |
</td> |
| 968 |
</tr> |
| 969 |
<tr> |
| 970 |
<td> |
| 971 |
<p>TriangleFilter</p> |
| 972 |
</td> |
| 973 |
<td> |
| 974 |
<p>Triangle Filter</p> |
| 975 |
</td> |
| 976 |
</tr> |
| 977 |
<tr> |
| 978 |
<td> |
| 979 |
<p>HermiteFilter</p> |
| 980 |
</td> |
| 981 |
<td> |
| 982 |
<p>Hermite Filter</p> |
| 983 |
</td> |
| 984 |
</tr> |
| 985 |
<tr> |
| 986 |
<td> |
| 987 |
<p>HanningFilter</p> |
| 988 |
</td> |
| 989 |
<td> |
| 990 |
<p>Hanning Filter</p> |
| 991 |
</td> |
| 992 |
</tr> |
| 993 |
<tr> |
| 994 |
<td> |
| 995 |
<p>HammingFilter</p> |
| 996 |
</td> |
| 997 |
<td> |
| 998 |
<p>Hamming Filter</p> |
| 999 |
</td> |
| 1000 |
</tr> |
| 1001 |
<tr> |
| 1002 |
<td> |
| 1003 |
<p>BlackmanFilter</p> |
| 1004 |
</td> |
| 1005 |
<td> |
| 1006 |
<p>Blackman Filter</p> |
| 1007 |
</td> |
| 1008 |
</tr> |
| 1009 |
<tr> |
| 1010 |
<td> |
| 1011 |
<p>GaussianFilter</p> |
| 1012 |
</td> |
| 1013 |
<td> |
| 1014 |
<p>Gaussian Filter</p> |
| 1015 |
</td> |
| 1016 |
</tr> |
| 1017 |
<tr> |
| 1018 |
<td> |
| 1019 |
<p>QuadraticFilter</p> |
| 1020 |
</td> |
| 1021 |
<td> |
| 1022 |
<p>Quadratic Filter</p> |
| 1023 |
</td> |
| 1024 |
</tr> |
| 1025 |
<tr> |
| 1026 |
<td> |
| 1027 |
<p>CubicFilter</p> |
| 1028 |
</td> |
| 1029 |
<td> |
| 1030 |
<p>Cubic Filter</p> |
| 1031 |
</td> |
| 1032 |
</tr> |
| 1033 |
<tr> |
| 1034 |
<td> |
| 1035 |
<p>CatromFilter</p> |
| 1036 |
</td> |
| 1037 |
<td> |
| 1038 |
<p>Catrom Filter</p> |
| 1039 |
</td> |
| 1040 |
</tr> |
| 1041 |
<tr> |
| 1042 |
<td> |
| 1043 |
<p>MitchellFilter</p> |
| 1044 |
</td> |
| 1045 |
<td> |
| 1046 |
<p>Mitchell Filter</p> |
| 1047 |
</td> |
| 1048 |
</tr> |
| 1049 |
<tr> |
| 1050 |
<td> |
| 1051 |
<p>LanczosFilter</p> |
| 1052 |
</td> |
| 1053 |
<td> |
| 1054 |
<p>Lanczos Filter</p> |
| 1055 |
</td> |
| 1056 |
</tr> |
| 1057 |
<tr> |
| 1058 |
<td> |
| 1059 |
<p>BesselFilter</p> |
| 1060 |
</td> |
| 1061 |
<td> |
| 1062 |
<p>Bessel Filter</p> |
| 1063 |
</td> |
| 1064 |
</tr> |
| 1065 |
<tr> |
| 1066 |
<td> |
| 1067 |
<p>SincFilter</p> |
| 1068 |
</td> |
| 1069 |
<td> |
| 1070 |
<p>Sinc Filter</p> |
| 1071 |
</td> |
| 1072 |
</tr> |
| 1073 |
</table> |
| 1074 |
<p style="margin-bottom: 0in"><br /> |
| 1075 |
</p> |
| 1076 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1077 |
<tr> |
| 1078 |
<td bgcolor="#52799e"> |
| 1079 |
<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> |
| 1080 |
</td> |
| 1081 |
</tr> |
| 1082 |
</table> |
| 1083 |
<p style="margin-bottom: 0in"><i>GravityType</i> specifies |
| 1084 |
positioning of an object (e.g. text, image) within a bounding region |
| 1085 |
(e.g. an image). Gravity provides a convenient way to locate objects |
| 1086 |
irrespective of the size of the bounding region, in other words, you |
| 1087 |
don't need to provide absolute coordinates in order to position an |
| 1088 |
object. A common default for gravity is <i>NorthWestGravity</i>. |
| 1089 |
</p> |
| 1090 |
<p style="text-align:center;margin-bottom: 0in"><b>GravityType</b></p> |
| 1091 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1092 |
<tr> |
| 1093 |
<td> |
| 1094 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1095 |
</td> |
| 1096 |
<td> |
| 1097 |
<p style="text-align:center"><b>Description</b></p> |
| 1098 |
</td> |
| 1099 |
</tr> |
| 1100 |
<tr> |
| 1101 |
<td> |
| 1102 |
<p>ForgetGravity</p> |
| 1103 |
</td> |
| 1104 |
<td> |
| 1105 |
<p>Don't use gravity.</p> |
| 1106 |
</td> |
| 1107 |
</tr> |
| 1108 |
<tr> |
| 1109 |
<td> |
| 1110 |
<p>NorthWestGravity</p> |
| 1111 |
</td> |
| 1112 |
<td> |
| 1113 |
<p>Position object at top-left of region.</p> |
| 1114 |
</td> |
| 1115 |
</tr> |
| 1116 |
<tr> |
| 1117 |
<td> |
| 1118 |
<p>NorthGravity</p> |
| 1119 |
</td> |
| 1120 |
<td> |
| 1121 |
<p>Postiion object at top-center of region</p> |
| 1122 |
</td> |
| 1123 |
</tr> |
| 1124 |
<tr> |
| 1125 |
<td> |
| 1126 |
<p>NorthEastGravity</p> |
| 1127 |
</td> |
| 1128 |
<td> |
| 1129 |
<p>Position object at top-right of region</p> |
| 1130 |
</td> |
| 1131 |
</tr> |
| 1132 |
<tr> |
| 1133 |
<td> |
| 1134 |
<p>WestGravity</p> |
| 1135 |
</td> |
| 1136 |
<td> |
| 1137 |
<p>Position object at left-center of region</p> |
| 1138 |
</td> |
| 1139 |
</tr> |
| 1140 |
<tr> |
| 1141 |
<td> |
| 1142 |
<p>CenterGravity</p> |
| 1143 |
</td> |
| 1144 |
<td> |
| 1145 |
<p>Position object at center of region</p> |
| 1146 |
</td> |
| 1147 |
</tr> |
| 1148 |
<tr> |
| 1149 |
<td> |
| 1150 |
<p>EastGravity</p> |
| 1151 |
</td> |
| 1152 |
<td> |
| 1153 |
<p>Position object at right-center of region</p> |
| 1154 |
</td> |
| 1155 |
</tr> |
| 1156 |
<tr> |
| 1157 |
<td> |
| 1158 |
<p>SouthWestGravity</p> |
| 1159 |
</td> |
| 1160 |
<td> |
| 1161 |
<p>Position object at left-bottom of region</p> |
| 1162 |
</td> |
| 1163 |
</tr> |
| 1164 |
<tr> |
| 1165 |
<td> |
| 1166 |
<p>SouthGravity</p> |
| 1167 |
</td> |
| 1168 |
<td> |
| 1169 |
<p>Position object at bottom-center of region</p> |
| 1170 |
</td> |
| 1171 |
</tr> |
| 1172 |
<tr> |
| 1173 |
<td> |
| 1174 |
<p>SouthEastGravity</p> |
| 1175 |
</td> |
| 1176 |
<td> |
| 1177 |
<p>Position object at bottom-right of region</p> |
| 1178 |
</td> |
| 1179 |
</tr> |
| 1180 |
</table> |
| 1181 |
<p style="margin-bottom: 0in"><br /> |
| 1182 |
</p> |
| 1183 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1184 |
<tr> |
| 1185 |
<td bgcolor="#52799e"> |
| 1186 |
<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> |
| 1187 |
</td> |
| 1188 |
</tr> |
| 1189 |
</table> |
| 1190 |
<p style="margin-bottom: 0in"><i>ImageType</i> indicates the type |
| 1191 |
classification of the image. |
| 1192 |
</p> |
| 1193 |
<p style="text-align:center;margin-bottom: 0in"><b>ImageType</b></p> |
| 1194 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1195 |
<tr> |
| 1196 |
<td> |
| 1197 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1198 |
</td> |
| 1199 |
<td> |
| 1200 |
<p style="text-align:center"><b>Description</b></p> |
| 1201 |
</td> |
| 1202 |
</tr> |
| 1203 |
<tr> |
| 1204 |
<td> |
| 1205 |
<p>UndefinedType</p> |
| 1206 |
</td> |
| 1207 |
<td> |
| 1208 |
<p>Unset value.</p> |
| 1209 |
</td> |
| 1210 |
</tr> |
| 1211 |
<tr> |
| 1212 |
<td> |
| 1213 |
<p>BilevelType</p> |
| 1214 |
</td> |
| 1215 |
<td> |
| 1216 |
<p>Monochrome image</p> |
| 1217 |
</td> |
| 1218 |
</tr> |
| 1219 |
<tr> |
| 1220 |
<td> |
| 1221 |
<p>GrayscaleType</p> |
| 1222 |
</td> |
| 1223 |
<td> |
| 1224 |
<p>Grayscale image</p> |
| 1225 |
</td> |
| 1226 |
</tr> |
| 1227 |
<tr> |
| 1228 |
<td> |
| 1229 |
<p>GrayscaleMatteType</p> |
| 1230 |
</td> |
| 1231 |
<td> |
| 1232 |
<p>Grayscale image with opacity</p> |
| 1233 |
</td> |
| 1234 |
</tr> |
| 1235 |
<tr> |
| 1236 |
<td> |
| 1237 |
<p>PaletteType</p> |
| 1238 |
</td> |
| 1239 |
<td> |
| 1240 |
<p>Indexed color (palette) image</p> |
| 1241 |
</td> |
| 1242 |
</tr> |
| 1243 |
<tr> |
| 1244 |
<td> |
| 1245 |
<p>PaletteMatteType</p> |
| 1246 |
</td> |
| 1247 |
<td> |
| 1248 |
<p>Indexed color (palette) image with opacity</p> |
| 1249 |
</td> |
| 1250 |
</tr> |
| 1251 |
<tr> |
| 1252 |
<td> |
| 1253 |
<p>TrueColorType</p> |
| 1254 |
</td> |
| 1255 |
<td> |
| 1256 |
<p>Truecolor image</p> |
| 1257 |
</td> |
| 1258 |
</tr> |
| 1259 |
<tr> |
| 1260 |
<td> |
| 1261 |
<p>TrueColorMatteType</p> |
| 1262 |
</td> |
| 1263 |
<td> |
| 1264 |
<p>Truecolor image with opacity</p> |
| 1265 |
</td> |
| 1266 |
</tr> |
| 1267 |
<tr> |
| 1268 |
<td> |
| 1269 |
<p>ColorSeparationType</p> |
| 1270 |
</td> |
| 1271 |
<td> |
| 1272 |
<p>Cyan/Yellow/Magenta/Black (CYMK) image</p> |
| 1273 |
</td> |
| 1274 |
</tr> |
| 1275 |
</table> |
| 1276 |
<p style="margin-bottom: 0in"><br /> |
| 1277 |
</p> |
| 1278 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1279 |
<tr> |
| 1280 |
<td bgcolor="#52799e"> |
| 1281 |
<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> |
| 1282 |
</td> |
| 1283 |
</tr> |
| 1284 |
</table> |
| 1285 |
<p><i>InterlaceType</i> specifies the ordering of the red, green, and |
| 1286 |
blue pixel information in the image. Interlacing is usually used to |
| 1287 |
make image information available to the user faster by taking |
| 1288 |
advantage of the space vs time tradeoff. For example, interlacing |
| 1289 |
allows images on the Web to be recognizable sooner and satellite |
| 1290 |
images to accumulate/render with image resolution increasing over |
| 1291 |
time. |
| 1292 |
</p> |
| 1293 |
<p style="margin-bottom: 0in">Use <i>LineInterlace</i> or |
| 1294 |
<i>PlaneInterlace</i> to create an interlaced GIF or progressive JPEG |
| 1295 |
image. |
| 1296 |
</p> |
| 1297 |
<p style="text-align:center;margin-bottom: 0in"><b>InterlaceType</b></p> |
| 1298 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1299 |
<tr> |
| 1300 |
<td> |
| 1301 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1302 |
</td> |
| 1303 |
<td> |
| 1304 |
<p style="text-align:center"><b>Description</b></p> |
| 1305 |
</td> |
| 1306 |
</tr> |
| 1307 |
<tr> |
| 1308 |
<td> |
| 1309 |
<p>UndefinedInterlace</p> |
| 1310 |
</td> |
| 1311 |
<td> |
| 1312 |
<p>Unset value.</p> |
| 1313 |
</td> |
| 1314 |
</tr> |
| 1315 |
<tr> |
| 1316 |
<td> |
| 1317 |
<p>NoInterlace</p> |
| 1318 |
</td> |
| 1319 |
<td> |
| 1320 |
<p>Don't interlace image (RGBRGBRGBRGBRGBRGB...)</p> |
| 1321 |
</td> |
| 1322 |
</tr> |
| 1323 |
<tr> |
| 1324 |
<td> |
| 1325 |
<p>LineInterlace</p> |
| 1326 |
</td> |
| 1327 |
<td> |
| 1328 |
<p>Use scanline interlacing (RRR...GGG...BBB...RRR...GGG...BBB...)</p> |
| 1329 |
</td> |
| 1330 |
</tr> |
| 1331 |
<tr> |
| 1332 |
<td> |
| 1333 |
<p>PlaneInterlace</p> |
| 1334 |
</td> |
| 1335 |
<td> |
| 1336 |
<p>Use plane interlacing (RRRRRR...GGGGGG...BBBBBB...)</p> |
| 1337 |
</td> |
| 1338 |
</tr> |
| 1339 |
<tr> |
| 1340 |
<td> |
| 1341 |
<p>PartitionInterlace</p> |
| 1342 |
</td> |
| 1343 |
<td> |
| 1344 |
<p>Similar to plane interlaing except that the different planes |
| 1345 |
are saved to individual files (e.g. image.R, image.G, and image.B)</p> |
| 1346 |
</td> |
| 1347 |
</tr> |
| 1348 |
</table> |
| 1349 |
<p style="margin-bottom: 0in"><br /> |
| 1350 |
</p> |
| 1351 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1352 |
<tr> |
| 1353 |
<td bgcolor="#52799e"> |
| 1354 |
<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> |
| 1355 |
</td> |
| 1356 |
</tr> |
| 1357 |
</table> |
| 1358 |
<p style="margin-bottom: 0in"><i>ChannelType</i> is used as an |
| 1359 |
argument when doing color separations. Use <i>ChannelType</i> when |
| 1360 |
extracting a layer from an image. <i>MatteLayer</i> is useful for |
| 1361 |
extracting the opacity values from an image. |
| 1362 |
</p> |
| 1363 |
<p style="text-align:center;margin-bottom: 0in"><b>ChannelType</b></p> |
| 1364 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1365 |
<tr> |
| 1366 |
<td> |
| 1367 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1368 |
</td> |
| 1369 |
<td> |
| 1370 |
<p style="text-align:center"><b>Description</b></p> |
| 1371 |
</td> |
| 1372 |
</tr> |
| 1373 |
<tr> |
| 1374 |
<td> |
| 1375 |
<p>UndefinedLayer</p> |
| 1376 |
</td> |
| 1377 |
<td> |
| 1378 |
<p>Unset value.</p> |
| 1379 |
</td> |
| 1380 |
</tr> |
| 1381 |
<tr> |
| 1382 |
<td> |
| 1383 |
<p>RedLayer</p> |
| 1384 |
</td> |
| 1385 |
<td> |
| 1386 |
<p>Select red layer</p> |
| 1387 |
</td> |
| 1388 |
</tr> |
| 1389 |
<tr> |
| 1390 |
<td> |
| 1391 |
<p>GreenLayer</p> |
| 1392 |
</td> |
| 1393 |
<td> |
| 1394 |
<p>Select green layer</p> |
| 1395 |
</td> |
| 1396 |
</tr> |
| 1397 |
<tr> |
| 1398 |
<td> |
| 1399 |
<p>BlueLayer</p> |
| 1400 |
</td> |
| 1401 |
<td> |
| 1402 |
<p>Select blue layer</p> |
| 1403 |
</td> |
| 1404 |
</tr> |
| 1405 |
<tr> |
| 1406 |
<td> |
| 1407 |
<p>MatteLayer</p> |
| 1408 |
</td> |
| 1409 |
<td> |
| 1410 |
<p>Select matte (opacity values) layer</p> |
| 1411 |
</td> |
| 1412 |
</tr> |
| 1413 |
</table> |
| 1414 |
<p style="margin-bottom: 0in"><br /> |
| 1415 |
</p> |
| 1416 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1417 |
<tr> |
| 1418 |
<td bgcolor="#52799e"> |
| 1419 |
<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> |
| 1420 |
</td> |
| 1421 |
</tr> |
| 1422 |
</table> |
| 1423 |
<p style="margin-bottom: 0in">The <i>LineCap</i> enumerations specify |
| 1424 |
shape to be used at the end of open subpaths when they are stroked. |
| 1425 |
See SVG's '<a href="http://www.w3.org/TR/SVG/painting.html#StrokeLinecapProperty">stroke-linecap'</a> |
| 1426 |
for examples. |
| 1427 |
</p> |
| 1428 |
<p style="text-align:center;margin-bottom: 0in"><b>LineCap</b></p> |
| 1429 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1430 |
<tr> |
| 1431 |
<td> |
| 1432 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1433 |
</td> |
| 1434 |
<td> |
| 1435 |
<p style="text-align:center"><b>Description</b></p> |
| 1436 |
</td> |
| 1437 |
</tr> |
| 1438 |
<tr> |
| 1439 |
<td> |
| 1440 |
<p>UndefinedCap</p> |
| 1441 |
</td> |
| 1442 |
<td> |
| 1443 |
<p>Unset value.</p> |
| 1444 |
</td> |
| 1445 |
</tr> |
| 1446 |
<tr> |
| 1447 |
<td> |
| 1448 |
<p>ButtCap</p> |
| 1449 |
</td> |
| 1450 |
<td> |
| 1451 |
<p>Square ending.</p> |
| 1452 |
</td> |
| 1453 |
</tr> |
| 1454 |
<tr> |
| 1455 |
<td> |
| 1456 |
<p>RoundCap</p> |
| 1457 |
</td> |
| 1458 |
<td> |
| 1459 |
<p>Rounded ending (half-circle end with radius of 1/2 stroke |
| 1460 |
width).</p> |
| 1461 |
</td> |
| 1462 |
</tr> |
| 1463 |
<tr> |
| 1464 |
<td> |
| 1465 |
<p>SquareCap</p> |
| 1466 |
</td> |
| 1467 |
<td> |
| 1468 |
<p>Square ending, extended by 1/2 the stroke width at end.</p> |
| 1469 |
</td> |
| 1470 |
</tr> |
| 1471 |
</table> |
| 1472 |
<p style="margin-bottom: 0in"><br /> |
| 1473 |
</p> |
| 1474 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1475 |
<tr> |
| 1476 |
<td bgcolor="#52799e"> |
| 1477 |
<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> |
| 1478 |
</td> |
| 1479 |
</tr> |
| 1480 |
</table> |
| 1481 |
<p style="margin-bottom: 0in">The <i>LineJoin</i> enumerations |
| 1482 |
specify the shape to be used at the corners of paths or basic shapes |
| 1483 |
when they are stroked. See SVG's '<a href="http://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty">stroke-linejoin'</a> |
| 1484 |
for examples. |
| 1485 |
</p> |
| 1486 |
<p style="text-align:center;margin-bottom: 0in"><b>ChannelType</b></p> |
| 1487 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1488 |
<tr> |
| 1489 |
<td> |
| 1490 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1491 |
</td> |
| 1492 |
<td> |
| 1493 |
<p style="text-align:center"><b>Description</b></p> |
| 1494 |
</td> |
| 1495 |
</tr> |
| 1496 |
<tr> |
| 1497 |
<td> |
| 1498 |
<p>UndefinedJoin</p> |
| 1499 |
</td> |
| 1500 |
<td> |
| 1501 |
<p>Unset value.</p> |
| 1502 |
</td> |
| 1503 |
</tr> |
| 1504 |
<tr> |
| 1505 |
<td> |
| 1506 |
<p>MiterJoin</p> |
| 1507 |
</td> |
| 1508 |
<td> |
| 1509 |
<p>Sharp-edged join</p> |
| 1510 |
</td> |
| 1511 |
</tr> |
| 1512 |
<tr> |
| 1513 |
<td> |
| 1514 |
<p>RoundJoin</p> |
| 1515 |
</td> |
| 1516 |
<td> |
| 1517 |
<p>Rounded-edged join</p> |
| 1518 |
</td> |
| 1519 |
</tr> |
| 1520 |
<tr> |
| 1521 |
<td> |
| 1522 |
<p>BevelJoin</p> |
| 1523 |
</td> |
| 1524 |
<td> |
| 1525 |
<p>Beveled-edged join</p> |
| 1526 |
</td> |
| 1527 |
</tr> |
| 1528 |
</table> |
| 1529 |
<p style="margin-bottom: 0in"><br /> |
| 1530 |
</p> |
| 1531 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1532 |
<tr> |
| 1533 |
<td bgcolor="#52799e"> |
| 1534 |
<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> |
| 1535 |
</td> |
| 1536 |
</tr> |
| 1537 |
</table> |
| 1538 |
<p style="margin-bottom: 0in"><i>NoiseType</i> is used as an argument |
| 1539 |
to select the type of noise to be added to the image. |
| 1540 |
</p> |
| 1541 |
<p style="text-align:center;margin-bottom: 0in"><b>NoiseType</b></p> |
| 1542 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1543 |
<tr> |
| 1544 |
<td> |
| 1545 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1546 |
</td> |
| 1547 |
<td> |
| 1548 |
<p style="text-align:center"><b>Description</b></p> |
| 1549 |
</td> |
| 1550 |
</tr> |
| 1551 |
<tr> |
| 1552 |
<td> |
| 1553 |
<p>UniformNoise</p> |
| 1554 |
</td> |
| 1555 |
<td> |
| 1556 |
<p>Uniform noise</p> |
| 1557 |
</td> |
| 1558 |
</tr> |
| 1559 |
<tr> |
| 1560 |
<td> |
| 1561 |
<p>GaussianNoise</p> |
| 1562 |
</td> |
| 1563 |
<td> |
| 1564 |
<p>Gaussian noise</p> |
| 1565 |
</td> |
| 1566 |
</tr> |
| 1567 |
<tr> |
| 1568 |
<td> |
| 1569 |
<p>MultiplicativeGaussianNoise</p> |
| 1570 |
</td> |
| 1571 |
<td> |
| 1572 |
<p>Multiplicative Gaussian noise</p> |
| 1573 |
</td> |
| 1574 |
</tr> |
| 1575 |
<tr> |
| 1576 |
<td> |
| 1577 |
<p>ImpulseNoise</p> |
| 1578 |
</td> |
| 1579 |
<td> |
| 1580 |
<p>Impulse noise</p> |
| 1581 |
</td> |
| 1582 |
</tr> |
| 1583 |
<tr> |
| 1584 |
<td> |
| 1585 |
<p>LaplacianNoise</p> |
| 1586 |
</td> |
| 1587 |
<td> |
| 1588 |
<p>Laplacian noise</p> |
| 1589 |
</td> |
| 1590 |
</tr> |
| 1591 |
<tr> |
| 1592 |
<td> |
| 1593 |
<p>PoissonNoise</p> |
| 1594 |
</td> |
| 1595 |
<td> |
| 1596 |
<p>Poisson noise</p> |
| 1597 |
</td> |
| 1598 |
</tr> |
| 1599 |
</table> |
| 1600 |
<p style="margin-bottom: 0in"><br /> |
| 1601 |
</p> |
| 1602 |
<table width="100%" border="0" cellpadding="1" cellspacing="0"> |
| 1603 |
<col width="256*" /> |
| 1604 |
<tr> |
| 1605 |
<td width="100%" bgcolor="#52799e"> |
| 1606 |
<p align="left"><a name="PaintMethod1"></a><a name="OrientationType"></a> |
| 1607 |
<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> |
| 1608 |
</td> |
| 1609 |
</tr> |
| 1610 |
</table> |
| 1611 |
<p align="left" style="margin-bottom: 0in"><i>OrientationType</i> |
| 1612 |
specifies the orientation of the image. Useful for when the image is |
| 1613 |
produced via a different ordinate system, the camera was turned on |
| 1614 |
its side, or the page was scanned sideways.</p> |
| 1615 |
<p style="text-align:center;margin-bottom: 0in"><b>OrientationType</b></p> |
| 1616 |
<table width="100%" border="1" cellpadding="1" cellspacing="3" bgcolor="#cccccc"> |
| 1617 |
<col width="65*" /> |
| 1618 |
<col width="75*" /> |
| 1619 |
<col width="115*" /> |
| 1620 |
<tr> |
| 1621 |
<td width="25%"> |
| 1622 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1623 |
</td> |
| 1624 |
<td width="29%"> |
| 1625 |
<p style="text-align:center"><b>Scanline Direction</b></p> |
| 1626 |
</td> |
| 1627 |
<td width="45%"> |
| 1628 |
<p style="text-align:center"><b>Frame Direction</b></p> |
| 1629 |
</td> |
| 1630 |
</tr> |
| 1631 |
<tr> |
| 1632 |
<td width="25%"> |
| 1633 |
<p>UndefinedOrientation</p> |
| 1634 |
</td> |
| 1635 |
<td width="29%"> |
| 1636 |
<p>Unknown</p> |
| 1637 |
</td> |
| 1638 |
<td width="45%"> |
| 1639 |
<p>Unknown</p> |
| 1640 |
</td> |
| 1641 |
</tr> |
| 1642 |
<tr> |
| 1643 |
<td width="25%"> |
| 1644 |
<p>TopLeftOrientation</p> |
| 1645 |
</td> |
| 1646 |
<td width="29%"> |
| 1647 |
<p>Left to right</p> |
| 1648 |
</td> |
| 1649 |
<td width="45%"> |
| 1650 |
<p>Top to bottom</p> |
| 1651 |
</td> |
| 1652 |
</tr> |
| 1653 |
<tr> |
| 1654 |
<td width="25%"> |
| 1655 |
<p>TopRightOrientation</p> |
| 1656 |
</td> |
| 1657 |
<td width="29%"> |
| 1658 |
<p>Right to left</p> |
| 1659 |
</td> |
| 1660 |
<td width="45%"> |
| 1661 |
<p>Top to bottom</p> |
| 1662 |
</td> |
| 1663 |
</tr> |
| 1664 |
<tr> |
| 1665 |
<td width="25%"> |
| 1666 |
<p>BottomRightOrientation</p> |
| 1667 |
</td> |
| 1668 |
<td width="29%"> |
| 1669 |
<p>Right to left</p> |
| 1670 |
</td> |
| 1671 |
<td width="45%"> |
| 1672 |
<p>Bottom to top</p> |
| 1673 |
</td> |
| 1674 |
</tr> |
| 1675 |
<tr> |
| 1676 |
<td width="25%"> |
| 1677 |
<p>BottomLeftOrientation</p> |
| 1678 |
</td> |
| 1679 |
<td width="29%"> |
| 1680 |
<p>Left to right</p> |
| 1681 |
</td> |
| 1682 |
<td width="45%"> |
| 1683 |
<p>Bottom to top</p> |
| 1684 |
</td> |
| 1685 |
</tr> |
| 1686 |
<tr> |
| 1687 |
<td width="25%"> |
| 1688 |
<p>LeftTopOrientation</p> |
| 1689 |
</td> |
| 1690 |
<td width="29%"> |
| 1691 |
<p>Top to bottom</p> |
| 1692 |
</td> |
| 1693 |
<td width="45%"> |
| 1694 |
<p>Left to right</p> |
| 1695 |
</td> |
| 1696 |
</tr> |
| 1697 |
<tr> |
| 1698 |
<td width="25%"> |
| 1699 |
<p>RightTopOrientation</p> |
| 1700 |
</td> |
| 1701 |
<td width="29%"> |
| 1702 |
<p>Top to bottom</p> |
| 1703 |
</td> |
| 1704 |
<td width="45%"> |
| 1705 |
<p>Right to left</p> |
| 1706 |
</td> |
| 1707 |
</tr> |
| 1708 |
<tr> |
| 1709 |
<td width="25%"> |
| 1710 |
<p>RightBottomOrientation</p> |
| 1711 |
</td> |
| 1712 |
<td width="29%"> |
| 1713 |
<p>Bottom to top</p> |
| 1714 |
</td> |
| 1715 |
<td width="45%"> |
| 1716 |
<p>Right to left</p> |
| 1717 |
</td> |
| 1718 |
</tr> |
| 1719 |
<tr> |
| 1720 |
<td width="25%"> |
| 1721 |
<p>LeftBottomOrientation</p> |
| 1722 |
</td> |
| 1723 |
<td width="29%"> |
| 1724 |
<p>Bottom to top</p> |
| 1725 |
</td> |
| 1726 |
<td width="45%"> |
| 1727 |
<p>Left to right</p> |
| 1728 |
</td> |
| 1729 |
</tr> |
| 1730 |
</table> |
| 1731 |
<p style="margin-bottom: 0in"><br /> |
| 1732 |
</p> |
| 1733 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1734 |
<tr> |
| 1735 |
<td bgcolor="#52799e"> |
| 1736 |
<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> |
| 1737 |
</td> |
| 1738 |
</tr> |
| 1739 |
</table> |
| 1740 |
<p style="margin-bottom: 0in"><i>PaintMethod</i> specifies how pixel |
| 1741 |
colors are to be replaced in the image. It is used to select the |
| 1742 |
pixel-filling algorithm employed. |
| 1743 |
</p> |
| 1744 |
<p style="text-align:center;margin-bottom: 0in"><b>PaintMethod</b></p> |
| 1745 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1746 |
<tr> |
| 1747 |
<td> |
| 1748 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1749 |
</td> |
| 1750 |
<td> |
| 1751 |
<p style="text-align:center"><b>Description</b></p> |
| 1752 |
</td> |
| 1753 |
</tr> |
| 1754 |
<tr> |
| 1755 |
<td> |
| 1756 |
<p>PointMethod</p> |
| 1757 |
</td> |
| 1758 |
<td> |
| 1759 |
<p>Replace pixel color at point.</p> |
| 1760 |
</td> |
| 1761 |
</tr> |
| 1762 |
<tr> |
| 1763 |
<td> |
| 1764 |
<p>ReplaceMethod</p> |
| 1765 |
</td> |
| 1766 |
<td> |
| 1767 |
<p>Replace color for all image pixels matching color at point.</p> |
| 1768 |
</td> |
| 1769 |
</tr> |
| 1770 |
<tr> |
| 1771 |
<td> |
| 1772 |
<p>FloodfillMethod</p> |
| 1773 |
</td> |
| 1774 |
<td> |
| 1775 |
<p>Replace color for pixels surrounding point until encountering |
| 1776 |
pixel that fails to match color at point.</p> |
| 1777 |
</td> |
| 1778 |
</tr> |
| 1779 |
<tr> |
| 1780 |
<td> |
| 1781 |
<p>FillToBorderMethod</p> |
| 1782 |
</td> |
| 1783 |
<td> |
| 1784 |
<p>Replace color for pixels surrounding point until encountering |
| 1785 |
pixels matching border color.</p> |
| 1786 |
</td> |
| 1787 |
</tr> |
| 1788 |
<tr> |
| 1789 |
<td> |
| 1790 |
<p>ResetMethod</p> |
| 1791 |
</td> |
| 1792 |
<td> |
| 1793 |
<p>Replace colors for <b>all</b> pixels in image with pen color.</p> |
| 1794 |
</td> |
| 1795 |
</tr> |
| 1796 |
</table> |
| 1797 |
<p style="margin-bottom: 0in"><br /> |
| 1798 |
</p> |
| 1799 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 1800 |
<tr> |
| 1801 |
<td bgcolor="#52799e"> |
| 1802 |
<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> |
| 1803 |
</td> |
| 1804 |
</tr> |
| 1805 |
</table> |
| 1806 |
<p style="margin-bottom: 0in"><i>QuantumTypes</i> is used to indicate |
| 1807 |
the source or destination format of entire pixels, or components of |
| 1808 |
pixels ("Quantums") while they are being read, or written |
| 1809 |
to, a pixel cache. The validity of these format specifications |
| 1810 |
depends on whether the Image pixels are in RGB format, RGBA format, |
| 1811 |
or CMYK format. The pixel Quantum size is determined by the Image |
| 1812 |
depth (eight or sixteen bits). |
| 1813 |
</p> |
| 1814 |
<p style="text-align:center;margin-bottom: 0in"><b>RGB(A) Image Quantums</b></p> |
| 1815 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1816 |
<tr> |
| 1817 |
<td> |
| 1818 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1819 |
</td> |
| 1820 |
<td> |
| 1821 |
<p style="text-align:center"><b>Description</b></p> |
| 1822 |
</td> |
| 1823 |
</tr> |
| 1824 |
<tr> |
| 1825 |
<td> |
| 1826 |
<p>IndexQuantum</p> |
| 1827 |
</td> |
| 1828 |
<td> |
| 1829 |
<p>PseudoColor colormap indices (valid only for image with |
| 1830 |
colormap)</p> |
| 1831 |
</td> |
| 1832 |
</tr> |
| 1833 |
<tr> |
| 1834 |
<td> |
| 1835 |
<p>RedQuantum</p> |
| 1836 |
</td> |
| 1837 |
<td> |
| 1838 |
<p>Red pixel Quantum</p> |
| 1839 |
</td> |
| 1840 |
</tr> |
| 1841 |
<tr> |
| 1842 |
<td> |
| 1843 |
<p>GreenQuantum</p> |
| 1844 |
</td> |
| 1845 |
<td> |
| 1846 |
<p>Green pixel Quantum</p> |
| 1847 |
</td> |
| 1848 |
</tr> |
| 1849 |
<tr> |
| 1850 |
<td> |
| 1851 |
<p>BlueQuantum</p> |
| 1852 |
</td> |
| 1853 |
<td> |
| 1854 |
<p>Blue pixel Quantum</p> |
| 1855 |
</td> |
| 1856 |
</tr> |
| 1857 |
<tr> |
| 1858 |
<td> |
| 1859 |
<p>AlphaQuantum</p> |
| 1860 |
</td> |
| 1861 |
<td> |
| 1862 |
<p>Alpha Quantum</p> |
| 1863 |
</td> |
| 1864 |
</tr> |
| 1865 |
</table> |
| 1866 |
<p style="margin-bottom: 0in"><br /> |
| 1867 |
</p> |
| 1868 |
<p style="text-align:center;margin-bottom: 0in"><b>CMY(K)(A) Image Quantum</b></p> |
| 1869 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1870 |
<tr> |
| 1871 |
<td> |
| 1872 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1873 |
</td> |
| 1874 |
<td> |
| 1875 |
<p style="text-align:center"><b>Description</b></p> |
| 1876 |
</td> |
| 1877 |
</tr> |
| 1878 |
<tr> |
| 1879 |
<td> |
| 1880 |
<p>CyanQuantum</p> |
| 1881 |
</td> |
| 1882 |
<td> |
| 1883 |
<p>Cyan pixel Quantum</p> |
| 1884 |
</td> |
| 1885 |
</tr> |
| 1886 |
<tr> |
| 1887 |
<td> |
| 1888 |
<p>MagentaQuantum</p> |
| 1889 |
</td> |
| 1890 |
<td> |
| 1891 |
<p>Magenta pixel Quantum</p> |
| 1892 |
</td> |
| 1893 |
</tr> |
| 1894 |
<tr> |
| 1895 |
<td> |
| 1896 |
<p>YellowQuantum</p> |
| 1897 |
</td> |
| 1898 |
<td> |
| 1899 |
<p>Yellow pixel Quantum</p> |
| 1900 |
</td> |
| 1901 |
</tr> |
| 1902 |
<tr> |
| 1903 |
<td> |
| 1904 |
<p>BlackQuantum</p> |
| 1905 |
</td> |
| 1906 |
<td> |
| 1907 |
<p>Black pixel Quantum</p> |
| 1908 |
</td> |
| 1909 |
</tr> |
| 1910 |
<tr> |
| 1911 |
<td> |
| 1912 |
<p>AlphaQuantum</p> |
| 1913 |
</td> |
| 1914 |
<td> |
| 1915 |
<p>Alpha Quantum</p> |
| 1916 |
</td> |
| 1917 |
</tr> |
| 1918 |
</table> |
| 1919 |
<p style="margin-bottom: 0in"><br /> |
| 1920 |
</p> |
| 1921 |
<p style="text-align:center;margin-bottom: 0in"><b>Grayscale Image |
| 1922 |
Quantums</b></p> |
| 1923 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1924 |
<tr> |
| 1925 |
<td> |
| 1926 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1927 |
</td> |
| 1928 |
<td> |
| 1929 |
<p style="text-align:center"><b>Description</b></p> |
| 1930 |
</td> |
| 1931 |
</tr> |
| 1932 |
<tr> |
| 1933 |
<td> |
| 1934 |
<p>GrayQuantum</p> |
| 1935 |
</td> |
| 1936 |
<td> |
| 1937 |
<p>Gray pixel</p> |
| 1938 |
</td> |
| 1939 |
</tr> |
| 1940 |
<tr> |
| 1941 |
<td> |
| 1942 |
<p>GrayOpacityQuantum</p> |
| 1943 |
</td> |
| 1944 |
<td> |
| 1945 |
<p>Pixel opacity</p> |
| 1946 |
</td> |
| 1947 |
</tr> |
| 1948 |
<tr> |
| 1949 |
<td> |
| 1950 |
<p>AlphaQuantum</p> |
| 1951 |
</td> |
| 1952 |
<td> |
| 1953 |
<p>Alpha Quantum</p> |
| 1954 |
</td> |
| 1955 |
</tr> |
| 1956 |
</table> |
| 1957 |
<p style="margin-bottom: 0in"><br /> |
| 1958 |
</p> |
| 1959 |
<p style="text-align:center;margin-bottom: 0in"><b>Entire Pixels |
| 1960 |
(Expressed in Byte Order)</b></p> |
| 1961 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 1962 |
<tr> |
| 1963 |
<td> |
| 1964 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 1965 |
</td> |
| 1966 |
<td> |
| 1967 |
<p style="text-align:center"><b>Description</b></p> |
| 1968 |
</td> |
| 1969 |
</tr> |
| 1970 |
<tr> |
| 1971 |
<td> |
| 1972 |
<p>RGBQuantum</p> |
| 1973 |
</td> |
| 1974 |
<td> |
| 1975 |
<p>RGB pixel (24 or 48 bits)</p> |
| 1976 |
</td> |
| 1977 |
</tr> |
| 1978 |
<tr> |
| 1979 |
<td> |
| 1980 |
<p>RGBAQuantum</p> |
| 1981 |
</td> |
| 1982 |
<td> |
| 1983 |
<p>RGBA pixel (32 or 64 bits)</p> |
| 1984 |
</td> |
| 1985 |
</tr> |
| 1986 |
<tr> |
| 1987 |
<td> |
| 1988 |
<p>CMYKQuantum</p> |
| 1989 |
</td> |
| 1990 |
<td> |
| 1991 |
<p>CMYK pixel (32 or 64 bits)</p> |
| 1992 |
</td> |
| 1993 |
</tr> |
| 1994 |
<tr> |
| 1995 |
<td> |
| 1996 |
<p>CMYKAQuantum</p> |
| 1997 |
</td> |
| 1998 |
<td> |
| 1999 |
<p>CMYKA pixel (40 or 80 bits)</p> |
| 2000 |
</td> |
| 2001 |
</tr> |
| 2002 |
</table> |
| 2003 |
<p style="margin-bottom: 0in"><br /> |
| 2004 |
</p> |
| 2005 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2006 |
<tr> |
| 2007 |
<td bgcolor="#52799e"> |
| 2008 |
<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> |
| 2009 |
</td> |
| 2010 |
</tr> |
| 2011 |
</table> |
| 2012 |
<p>Rendering intent is a concept defined by <a href="http://www.color.org/">ICC</a> |
| 2013 |
Spec ICC.1:1998-09, "File Format for Color Profiles". |
| 2014 |
ImageMagick uses <i>RenderingIntent</i> in order to support ICC |
| 2015 |
Color Profiles. |
| 2016 |
</p> |
| 2017 |
<p style="margin-bottom: 0in">From the specification: "Rendering |
| 2018 |
intent specifies the style of reproduction to be used during the |
| 2019 |
evaluation of this profile in a sequence of profiles. It applies |
| 2020 |
specifically to that profile in the sequence and not to the entire |
| 2021 |
sequence. Typically, the user or application will set the rendering |
| 2022 |
intent dynamically at runtime or embedding time." |
| 2023 |
</p> |
| 2024 |
<p style="text-align:center;margin-bottom: 0in"><b>RenderingIntent</b></p> |
| 2025 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2026 |
<tr> |
| 2027 |
<td> |
| 2028 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2029 |
</td> |
| 2030 |
<td> |
| 2031 |
<p style="text-align:center"><b>Description</b></p> |
| 2032 |
</td> |
| 2033 |
</tr> |
| 2034 |
<tr> |
| 2035 |
<td> |
| 2036 |
<p>UndefinedIntent</p> |
| 2037 |
</td> |
| 2038 |
<td> |
| 2039 |
<p>Unset value.</p> |
| 2040 |
</td> |
| 2041 |
</tr> |
| 2042 |
<tr> |
| 2043 |
<td> |
| 2044 |
<p>SaturationIntent</p> |
| 2045 |
</td> |
| 2046 |
<td> |
| 2047 |
<p>A rendering intent that specifies the saturation of the pixels |
| 2048 |
in the image is preserved perhaps at the expense of accuracy in |
| 2049 |
hue and lightness.</p> |
| 2050 |
</td> |
| 2051 |
</tr> |
| 2052 |
<tr> |
| 2053 |
<td> |
| 2054 |
<p>PerceptualIntent</p> |
| 2055 |
</td> |
| 2056 |
<td> |
| 2057 |
<p>A rendering intent that specifies the full gamut of the image |
| 2058 |
is compressed or expanded to fill the gamut of the destination |
| 2059 |
device. Gray balance is preserved but colorimetric accuracy might |
| 2060 |
not be preserved.</p> |
| 2061 |
</td> |
| 2062 |
</tr> |
| 2063 |
<tr> |
| 2064 |
<td> |
| 2065 |
<p>AbsoluteIntent</p> |
| 2066 |
</td> |
| 2067 |
<td> |
| 2068 |
<p>Absolute colorimetric</p> |
| 2069 |
</td> |
| 2070 |
</tr> |
| 2071 |
<tr> |
| 2072 |
<td> |
| 2073 |
<p>RelativeIntent</p> |
| 2074 |
</td> |
| 2075 |
<td> |
| 2076 |
<p>Relative colorimetric</p> |
| 2077 |
</td> |
| 2078 |
</tr> |
| 2079 |
</table> |
| 2080 |
<p style="margin-bottom: 0in"><br /> |
| 2081 |
</p> |
| 2082 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2083 |
<tr> |
| 2084 |
<td bgcolor="#52799e"> |
| 2085 |
<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> |
| 2086 |
</td> |
| 2087 |
</tr> |
| 2088 |
</table> |
| 2089 |
<p style="margin-bottom: 0in">By default, ImageMagick defines |
| 2090 |
resolutions in pixels per inch. <i>ResolutionType</i> provides a |
| 2091 |
means to adjust this. |
| 2092 |
</p> |
| 2093 |
<p style="text-align:center;margin-bottom: 0in"><b>ResolutionType</b></p> |
| 2094 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2095 |
<tr> |
| 2096 |
<td> |
| 2097 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2098 |
</td> |
| 2099 |
<td> |
| 2100 |
<p style="text-align:center"><b>Description</b></p> |
| 2101 |
</td> |
| 2102 |
</tr> |
| 2103 |
<tr> |
| 2104 |
<td> |
| 2105 |
<p>UndefinedResolution</p> |
| 2106 |
</td> |
| 2107 |
<td> |
| 2108 |
<p>Unset value.</p> |
| 2109 |
</td> |
| 2110 |
</tr> |
| 2111 |
<tr> |
| 2112 |
<td> |
| 2113 |
<p>PixelsPerInchResolution</p> |
| 2114 |
</td> |
| 2115 |
<td> |
| 2116 |
<p>Density specifications are specified in units of pixels per |
| 2117 |
inch (english units).</p> |
| 2118 |
</td> |
| 2119 |
</tr> |
| 2120 |
<tr> |
| 2121 |
<td> |
| 2122 |
<p>PixelsPerCentimeterResolution</p> |
| 2123 |
</td> |
| 2124 |
<td> |
| 2125 |
<p>Density specifications are specified in units of pixels per |
| 2126 |
centimeter (metric units).</p> |
| 2127 |
</td> |
| 2128 |
</tr> |
| 2129 |
</table> |
| 2130 |
<p style="margin-bottom: 0in"><br /> |
| 2131 |
</p> |
| 2132 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2133 |
<tr> |
| 2134 |
<td bgcolor="#52799e"> |
| 2135 |
<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> |
| 2136 |
</td> |
| 2137 |
</tr> |
| 2138 |
</table> |
| 2139 |
<p style="margin-bottom: 0in">The <i>StorageType</i> enumerations are |
| 2140 |
used to specify the storage format of pixels in the source or |
| 2141 |
destination pixel array. |
| 2142 |
</p> |
| 2143 |
<p style="text-align:center;margin-bottom: 0in"><b>StorageType</b></p> |
| 2144 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2145 |
<tr> |
| 2146 |
<td> |
| 2147 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2148 |
</td> |
| 2149 |
<td> |
| 2150 |
<p style="text-align:center"><b>Description</b></p> |
| 2151 |
</td> |
| 2152 |
</tr> |
| 2153 |
<tr> |
| 2154 |
<td> |
| 2155 |
<p>CharPixel</p> |
| 2156 |
</td> |
| 2157 |
<td> |
| 2158 |
<p>Character type</p> |
| 2159 |
</td> |
| 2160 |
</tr> |
| 2161 |
<tr> |
| 2162 |
<td> |
| 2163 |
<p>ShortPixel</p> |
| 2164 |
</td> |
| 2165 |
<td> |
| 2166 |
<p>Short type</p> |
| 2167 |
</td> |
| 2168 |
</tr> |
| 2169 |
<tr> |
| 2170 |
<td> |
| 2171 |
<p>IntegerPixel</p> |
| 2172 |
</td> |
| 2173 |
<td> |
| 2174 |
<p>Integer type</p> |
| 2175 |
</td> |
| 2176 |
</tr> |
| 2177 |
<tr> |
| 2178 |
<td> |
| 2179 |
<p>FloatPixel</p> |
| 2180 |
</td> |
| 2181 |
<td> |
| 2182 |
<p>Float type</p> |
| 2183 |
</td> |
| 2184 |
</tr> |
| 2185 |
<tr> |
| 2186 |
<td> |
| 2187 |
<p>DoublePixel</p> |
| 2188 |
</td> |
| 2189 |
<td> |
| 2190 |
<p>Double type</p> |
| 2191 |
</td> |
| 2192 |
</tr> |
| 2193 |
</table> |
| 2194 |
<p style="margin-bottom: 0in"><br /> |
| 2195 |
</p> |
| 2196 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2197 |
<tr> |
| 2198 |
<td bgcolor="#52799e"> |
| 2199 |
<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> |
| 2200 |
</td> |
| 2201 |
</tr> |
| 2202 |
</table> |
| 2203 |
<p style="margin-bottom: 0in">The <i>StretchType</i> enumerations are |
| 2204 |
used to specify the relative width of a font to the regular width for |
| 2205 |
the font family. If the width is not important, the <i>AnyStretch</i> |
| 2206 |
enumeration may be specified for a wildcard match. |
| 2207 |
</p> |
| 2208 |
<p style="text-align:center;margin-bottom: 0in"><b>StretchType</b></p> |
| 2209 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2210 |
<tr> |
| 2211 |
<td> |
| 2212 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2213 |
</td> |
| 2214 |
<td> |
| 2215 |
<p style="text-align:center"><b>Description</b></p> |
| 2216 |
</td> |
| 2217 |
</tr> |
| 2218 |
<tr> |
| 2219 |
<td> |
| 2220 |
<p>AnyStretch</p> |
| 2221 |
</td> |
| 2222 |
<td> |
| 2223 |
<p>Wildcard match for font stretch</p> |
| 2224 |
</td> |
| 2225 |
</tr> |
| 2226 |
<tr> |
| 2227 |
<td> |
| 2228 |
<p>NormalStretch</p> |
| 2229 |
</td> |
| 2230 |
<td> |
| 2231 |
<p>Normal width font</p> |
| 2232 |
</td> |
| 2233 |
</tr> |
| 2234 |
<tr> |
| 2235 |
<td> |
| 2236 |
<p>UltraCondensedStretch</p> |
| 2237 |
</td> |
| 2238 |
<td> |
| 2239 |
<p>Ultra-condensed (narrowest) font</p> |
| 2240 |
</td> |
| 2241 |
</tr> |
| 2242 |
<tr> |
| 2243 |
<td> |
| 2244 |
<p>ExtraCondensedStretch</p> |
| 2245 |
</td> |
| 2246 |
<td> |
| 2247 |
<p>Extra-condensed font</p> |
| 2248 |
</td> |
| 2249 |
</tr> |
| 2250 |
<tr> |
| 2251 |
<td> |
| 2252 |
<p>CondensedStretch</p> |
| 2253 |
</td> |
| 2254 |
<td> |
| 2255 |
<p>Condensed font</p> |
| 2256 |
</td> |
| 2257 |
</tr> |
| 2258 |
<tr> |
| 2259 |
<td> |
| 2260 |
<p>SemiCondensedStretch</p> |
| 2261 |
</td> |
| 2262 |
<td> |
| 2263 |
<p>Semi-Condensed font</p> |
| 2264 |
</td> |
| 2265 |
</tr> |
| 2266 |
<tr> |
| 2267 |
<td> |
| 2268 |
<p>SemiExpandedStretch</p> |
| 2269 |
</td> |
| 2270 |
<td> |
| 2271 |
<p>Semi-Expanded font</p> |
| 2272 |
</td> |
| 2273 |
</tr> |
| 2274 |
<tr> |
| 2275 |
<td> |
| 2276 |
<p>ExpandedStretch</p> |
| 2277 |
</td> |
| 2278 |
<td> |
| 2279 |
<p>Expanded font</p> |
| 2280 |
</td> |
| 2281 |
</tr> |
| 2282 |
<tr> |
| 2283 |
<td> |
| 2284 |
<p>ExtraExpandedStretch</p> |
| 2285 |
</td> |
| 2286 |
<td> |
| 2287 |
<p>Extra-Expanded font</p> |
| 2288 |
</td> |
| 2289 |
</tr> |
| 2290 |
<tr> |
| 2291 |
<td> |
| 2292 |
<p>UltraExpandedStretch</p> |
| 2293 |
</td> |
| 2294 |
<td> |
| 2295 |
<p>Ultra-expanded (widest) font</p> |
| 2296 |
</td> |
| 2297 |
</tr> |
| 2298 |
</table> |
| 2299 |
<p style="margin-bottom: 0in"><br /> |
| 2300 |
</p> |
| 2301 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2302 |
<tr> |
| 2303 |
<td bgcolor="#52799e"> |
| 2304 |
<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> |
| 2305 |
</td> |
| 2306 |
</tr> |
| 2307 |
</table> |
| 2308 |
<p style="margin-bottom: 0in">The <i>StyleType</i> enumerations are |
| 2309 |
used to specify the style (e.g. Italic) of a font. If the style is |
| 2310 |
not important, the <i>AnyStyle</i> enumeration may be specified for a |
| 2311 |
wildcard match. |
| 2312 |
</p> |
| 2313 |
<p style="text-align:center;margin-bottom: 0in"><b>StyleType</b></p> |
| 2314 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2315 |
<tr> |
| 2316 |
<td> |
| 2317 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2318 |
</td> |
| 2319 |
<td> |
| 2320 |
<p style="text-align:center"><b>Description</b></p> |
| 2321 |
</td> |
| 2322 |
</tr> |
| 2323 |
<tr> |
| 2324 |
<td> |
| 2325 |
<p>AnyStyle</p> |
| 2326 |
</td> |
| 2327 |
<td> |
| 2328 |
<p>Wildcard match for font style</p> |
| 2329 |
</td> |
| 2330 |
</tr> |
| 2331 |
<tr> |
| 2332 |
<td> |
| 2333 |
<p>NormalStyle</p> |
| 2334 |
</td> |
| 2335 |
<td> |
| 2336 |
<p>Normal font style</p> |
| 2337 |
</td> |
| 2338 |
</tr> |
| 2339 |
<tr> |
| 2340 |
<td> |
| 2341 |
<p>ItalicStyle</p> |
| 2342 |
</td> |
| 2343 |
<td> |
| 2344 |
<p>Italic font style</p> |
| 2345 |
</td> |
| 2346 |
</tr> |
| 2347 |
<tr> |
| 2348 |
<td> |
| 2349 |
<p>ObliqueStyle</p> |
| 2350 |
</td> |
| 2351 |
<td> |
| 2352 |
<p>Oblique font style</p> |
| 2353 |
</td> |
| 2354 |
</tr> |
| 2355 |
</table> |
| 2356 |
<p style="margin-bottom: 0in"><br /> |
| 2357 |
</p> |
| 2358 |
<table width="100%" border="0" cellpadding="1" cellspacing="1"> |
| 2359 |
<tr> |
| 2360 |
<td bgcolor="#52799e"> |
| 2361 |
<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> |
| 2362 |
</td> |
| 2363 |
</tr> |
| 2364 |
</table> |
| 2365 |
<p style="margin-bottom: 0in">The <i>VirtualPixelMethod </i>enumerations are |
| 2366 |
used to specify the virtual pixel method. |
| 2367 |
</p> |
| 2368 |
<p style="margin-bottom: 0in"><br /> |
| 2369 |
</p> |
| 2370 |
<p style="text-align:center;margin-bottom: 0in"><b>VirtualPixelMethod</b></p> |
| 2371 |
<table width="100%" border="1" cellpadding="1" cellspacing="1" bgcolor="#cccccc"> |
| 2372 |
<tr> |
| 2373 |
<td> |
| 2374 |
<p style="text-align:center"><b>Enumeration</b></p> |
| 2375 |
</td> |
| 2376 |
<td> |
| 2377 |
<p style="text-align:center"><b>Description</b></p> |
| 2378 |
</td> |
| 2379 |
</tr> |
| 2380 |
<tr> |
| 2381 |
<td> |
| 2382 |
<p>UndefinedVirtualPixelMethod</p> |
| 2383 |
</td> |
| 2384 |
<td> |
| 2385 |
<p>Not defined</p> |
| 2386 |
</td> |
| 2387 |
</tr> |
| 2388 |
<tr> |
| 2389 |
<td> |
| 2390 |
<p>BackgroundVirtualPixelMethod</p> |
| 2391 |
</td> |
| 2392 |
<td> |
| 2393 |
<p>the area surrounding the image is the background color |
| 2394 |
</p> |
| 2395 |
</td> |
| 2396 |
</tr> |
| 2397 |
<tr> |
| 2398 |
<td> |
| 2399 |
<p>BlackVirtualPixelMethod</p> |
| 2400 |
</td> |
| 2401 |
<td> |
| 2402 |
<p>the area surrounding the image is black</p> |
| 2403 |
</td> |
| 2404 |
</tr> |
| 2405 |
<tr> |
| 2406 |
<td> |
| 2407 |
<p>CheckerTileVirtualPixelMethod</p> |
| 2408 |
</td> |
| 2409 |
<td> |
| 2410 |
<p>alternate squares with image and background color |
| 2411 |
</p> |
| 2412 |
</td> |
| 2413 |
</tr> |
| 2414 |
<tr> |
| 2415 |
<td> |
| 2416 |
<p>DitherVirtualPixelMethod</p> |
| 2417 |
</td> |
| 2418 |
<td> |
| 2419 |
<p>non-random 32x32 dithered pattern |
| 2420 |
</p> |
| 2421 |
</td> |
| 2422 |
</tr> |
| 2423 |
<tr> |
| 2424 |
<td> |
| 2425 |
<p>EdgeVirtualPixelMethod</p> |
| 2426 |
</td> |
| 2427 |
<td> |
| 2428 |
<p>extend the edge pixel toward infinity |
| 2429 |
</p> |
| 2430 |
</td> |
| 2431 |
</tr> |
| 2432 |
<tr> |
| 2433 |
<td> |
| 2434 |
<p>GrayVirtualPixelMethod</p> |
| 2435 |
</td> |
| 2436 |
<td> |
| 2437 |
<p>the area surrounding the image is gray |
| 2438 |
</p> |
| 2439 |
</td> |
| 2440 |
</tr> |
| 2441 |
<tr> |
| 2442 |
<td> |
| 2443 |
<p>HorizontalTileVirtualPixelMethod</p> |
| 2444 |
</td> |
| 2445 |
<td> |
| 2446 |
<p>horizontally tile the image, background color above/below</p> |
| 2447 |
</td> |
| 2448 |
</tr> |
| 2449 |
<tr> |
| 2450 |
<td> |
| 2451 |
<p>HorizontalTileEdgeVirtualPixelMethod</p> |
| 2452 |
</td> |
| 2453 |
<td> |
| 2454 |
<p>horizontally tile the image and replicate the side edge pixels</p> |
| 2455 |
</td> |
| 2456 |
</tr> |
| 2457 |
<tr> |
| 2458 |
<td> |
| 2459 |
<p>MirrorVirtualPixelMethod</p> |
| 2460 |
</td> |
| 2461 |
<td> |
| 2462 |
<p>mirror tile the image |
| 2463 |
</p> |
| 2464 |
</td> |
| 2465 |
</tr> |
| 2466 |
<tr> |
| 2467 |
<td> |
| 2468 |
<p>RandomVirtualPixelMethod</p> |
| 2469 |
</td> |
| 2470 |
<td> |
| 2471 |
<p>choose a random pixel from the image |
| 2472 |
</p> |
| 2473 |
</td> |
| 2474 |
</tr> |
| 2475 |
<tr> |
| 2476 |
<td> |
| 2477 |
<p>TileVirtualPixelMethod</p> |
| 2478 |
</td> |
| 2479 |
<td> |
| 2480 |
<p>tile the image (default) |
| 2481 |
</p> |
| 2482 |
</td> |
| 2483 |
</tr> |
| 2484 |
<tr> |
| 2485 |
<td> |
| 2486 |
<p>TransparentVirtualPixelMethod</p> |
| 2487 |
</td> |
| 2488 |
<td> |
| 2489 |
<p>the area surrounding the image is transparent blackness |
| 2490 |
</p> |
| 2491 |
</td> |
| 2492 |
</tr> |
| 2493 |
<tr> |
| 2494 |
<td> |
| 2495 |
<p>VerticalTileVirtualPixelMethod</p> |
| 2496 |
</td> |
| 2497 |
<td> |
| 2498 |
<p>vertically tile the image, sides are background color |
| 2499 |
</p> |
| 2500 |
</td> |
| 2501 |
</tr> |
| 2502 |
<tr> |
| 2503 |
<td> |
| 2504 |
<p>VerticalTileEdgeVirtualPixelMethod</p> |
| 2505 |
</td> |
| 2506 |
<td> |
| 2507 |
<p>vertically tile the image and replicate the side edge pixels |
| 2508 |
</p> |
| 2509 |
</td> |
| 2510 |
</tr> |
| 2511 |
<tr> |
| 2512 |
<td> |
| 2513 |
<p>WhiteVirtualPixelMethod</p> |
| 2514 |
</td> |
| 2515 |
<td> |
| 2516 |
<p>the area surrounding the image is white |
| 2517 |
</p> |
| 2518 |
</td> |
| 2519 |
</tr> |
| 2520 |
</table> |
| 2521 |
</div> |
| 2522 |
</body> |
| 2523 |
</html> |