1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org" />
<title>RMagick 2.13.1: Constants</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii" />
<meta name="GENERATOR" content="Quanta Plus" />
<meta name="Copyright" content=
"Copyright (C) 2006 by Timothy P. Hunter" />
<link rel="stylesheet" type="text/css" href="css/doc.css" />
<script type="text/javascript" src="scripts/doc.js">
</script>
<style type="text/css">
/*<![CDATA[*/
/* Styles local to this page. */
dl, p {
margin-left: 100px;
margin-right:100px;
}
dt {
font-family: monospace;
}
/*
* Deliberately similar styling to the .sig h3
*/
h3.const {
background-color: #c0c0c0;
color: #000;
padding-left: 5px;
margin-top: 2em;
}
/*
* Modify .simple_table for the QuantumRange/QuantumDepth table.
* The major differences are the centered text and the auto width.
*/
#maxrgb {
border-collapse: collapse;
border: thin solid black;
background-color: #f8f8f8;
margin-top: 1em;
margin-right: auto;
margin-bottom: 1em;
margin-left: auto;
text-align: center;
width: auto;
}
#maxrgb caption {
font-weight: bold;
}
/*]]>*/
</style>
</head>
<body>
<h6 id="header">RMagick 2.13.1 User's Guide and Reference</h6>
<div class="nav">
« <a href="info.html">Prev</a> | <a href=
"index.html">Contents</a> | <a href=
"rvgtut.html">Next</a> »
</div>
<h1>Constants</h1>
<div id="toc">
<h2>Table of Contents</h2>
<h3>Constants</h3>
<div class="toccol">
<ul>
<li><a href="#Miscellaneous_constants">Miscellaneous
constants</a></li>
<li><a href="#AlignType">AlignType</a></li>
<li><a href="#ChannelType">ChannelType</a></li>
<li><a href="#ClassType">ClassType</a></li>
<li><a href="#ColorspaceType">ColorspaceType</a></li>
<li><a href="#ComplianceType">ComplianceType</a></li>
<li><a href="#CompositeOperator">CompositeOperator</a></li>
<li><a href="#CompressionType">CompressionType</a></li>
<li><a href="#DecorationType">DecorationType</a></li>
</ul>
</div>
<div class="toccol">
<ul>
<li><a href="#DisposeType">DisposeType</a></li>
<li><a href="#DitherMethod">DitherMethod</a></li>
<li><a href="#EndianType">EndianType</a></li>
<li><a href="#FilterTypes">FilterTypes</a></li>
<li><a href="#GravityType">GravityType</a></li>
<li><a href="#ImageType">ImageType</a></li>
<li><a href="#InterlaceType">InterlaceType</a></li>
<li><a href=
"#InterpolatePixelMethod">InterpolatePixelMethod</a></li>
<li><a href="#MetricType">MetricType</a></li>
</ul>
</div>
<div class="toccol">
<ul>
<li><a href="#NoiseType">NoiseType</a></li>
<li><a href="#Opacity">Opacity</a></li>
<li><a href="#OrientationType">OrientationType</a></li>
<li><a href="#PaintMethod">PaintMethod</a></li>
<li><a href="#RenderingIntent">RenderingIntent</a></li>
<li><a href="#ResolutionType">ResolutionType</a></li>
<li><a href="#StretchType">StretchType</a></li>
<li><a href="#StorageType">StorageType</a></li>
<li><a href="#StyleType">StyleType</a></li>
<li><a href="#WeightType">WeightType</a></li>
</ul>
</div>
</div>
<h2 class="methods">Constants</h2>
<h3 class="const" style="margin-top:0" id=
"Miscellaneous_constants">Miscellaneous constants</h3>
<dl>
<dt>Long_version</dt>
<dd>An extended form of the <code>Version</code> constant with
the format shown here:<br />
<code>This is RMagick 2.0.0 ($Date: 2009/09/05 20:10:15 $)
Copyright (C) 2008 by Timothy P. Hunter<br />
Built with ImageMagick 6.3.7 01/05/08 Q16
http://www.imagemagick.org<br />
Built for ruby 1.8.6<br />
Web page: http://rmagick.rubyforge.org<br />
Email: rmagick@rubyforge.org</code></dd>
<dt>Magick_version</dt>
<dd>The ImageMagick version string. This has the form:<br />
<code>@(#)ImageMagick X.Y.Z MM/DD/YY Q:16
http://www.imagemagick.org</code></dd>
<dt>MANAGED_MEMORY</dt>
<dd>
If <code>true</code>, RMagick is using Ruby managed memory
for all allocations. If <code>false</code>, RMagick allocates
memory for objects directly from the operating system. You
can enable RMagick to use Ruby managed memory (when built
with ImageMagick 6.4.0-11 and later) by setting
<pre>
RMAGICK_ENABLE_MANAGED_MEMORY = true
</pre><em>before</em> requiring RMagick.
</dd>
<dt>QuantumRange</dt>
<dd>The maximum value of a <em>Quantum</em>. A quantum is one
of the red, green, blue, or opacity elements of a pixel in the
RGB colorspace, or cyan, yellow, magenta, or black elements in
the CYMK colorspace.</dd>
<dt>MaxRGB <i>(deprecated)</i></dt>
<dd>Same as QuantumRange.</dd>
<dt>QuantumDepth</dt>
<dd>
The number of bits in a quantum. The relationship between
QuantumDepth and QuantumRange is summarized in this table.
<table summary="number of bits in a quantum" id="maxrgb">
<tr>
<th>QuantumDepth</th>
<th>QuantumRange</th>
</tr>
<tr>
<td>8</td>
<td>255</td>
</tr>
<tr>
<td>16</td>
<td>65535</td>
</tr>
<tr>
<td>32</td>
<td>4294967295</td>
</tr>
</table>
</dd>
<dt>Version</dt>
<dd>The RMagick version string. This has the form:<br />
<code>RMagick 2.0.0</code></dd>
</dl>
<h3 class="const" id="AlignType">AlignType</h3>
<p>Specify text alignment. See <a href=
"draw.html#Draw.align_eq">align=</a>, <a href=
"draw.html#Draw.text_align">text_align</a>.</p>
<dl>
<dt>UndefinedAlign</dt>
<dd>No alignment specified. Equivalent to LeftAlign.</dd>
<dt>LeftAlign</dt>
<dd>Align the leftmost part of the text to the starting
point.</dd>
<dt>CenterAlign</dt>
<dd>Center the text around the starting point.</dd>
<dt>RightAlign</dt>
<dd>Align the rightmost part of the text to the starting
point.</dd>
</dl>
<h3 class="const" id="ChannelType">ChannelType</h3>
<p>Specify an image channel. A channel is a color component of a
pixel. In the RGB colorspace the channels are red, green, and
blue. There may also be an alpha (transparency/opacity) channel.
In the CMYK colorspace the channels area cyan, magenta, yellow,
and black. In the HSL colorspace the channels are hue,
saturation, and lightness. In the Gray colorspace the only
channel is gray. See <a href=
"image1.html#channel">Image#channel</a> and <a href=
"info.html#channel">Image::Info#channel=</a>.</p>
<dl>
<dt>UndefinedChannel</dt>
<dt>RedChannel</dt>
<dt>GreenChannel</dt>
<dt>BlueChannel</dt>
<dt>CyanChannel</dt>
<dt>MagentaChannel</dt>
<dt>YellowChannel</dt>
<dt>BlackChannel</dt>
<dt>OpacityChannel</dt>
<dt>AllChannels</dt>
<dd>In the RGB colorspace, the red, blue, green, and alpha
channels. In the CMYK colorspace, the cyan, magenta, yellow,
and black channels.</dd>
<dt>GrayChannel</dt>
<dt>AlphaChannel</dt>
<dd>Same as OpacityChannel</dd>
<dt>DefaultChannels</dt>
<dd>Same as AllChannels, excluding OpacityChannel</dd>
<dt>HueChannel</dt>
<dt>LuminosityChannel</dt>
<dt>SaturationChannel</dt>
</dl>
<h3 class="const" id="ClassType">ClassType</h3>
<p>Specify the image storage class. See <a href=
"imageattrs.html#class_type">class_type</a>.</p>
<dl>
<dt>UndefinedClass</dt>
<dd>No storage class has been specified.</dd>
<dt>DirectClass</dt>
<dd class="imquote">Image is composed of pixels which represent
literal color values.</dd>
<dt>PseudoClass</dt>
<dd class="imquote">Image is composed of pixels which specify
an index in a color palette.</dd>
</dl>
<h3 class="const" id="ColorspaceType">ColorspaceType</h3>
<p class="imquote">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
RGBColorspace. Empirical evidence suggests that distances in
color spaces such as YUVColorspace or YIQColorspace correspond to
perceptual color differences more closely than do distances in
RGB space. These color spaces may give better results when color
reducing an image.</p>
<p><span class="imquote">When encoding an output image, the
colorspaces RGBColorspace, CMYKColorspace, and GRAYColorspace may
be specified. The CMYKColorspace option is only applicable when
writing TIFF, JPEG, and Adobe Photoshop bitmap (PSD)
files.</span> See <a href=
"imageattrs.html#colorspace">colorspace</a>.</p>
<p>Each version of ImageMagick defines a subset of the
colorspaces listed below. To list the subset supported by your
version, issue the command:</p>
<pre class="example">
ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
</pre>
<dl>
<dt>UndefinedColorspace</dt>
<dd>No colorspace has been specified.</dd>
<dt>CMYColorspace</dt>
<dt>CMYKColorspace</dt>
<dd class="imquote">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.</dd>
<dt>GRAYColorspace</dt>
<dd>Full-range grayscale</dd>
<dt>HSBColorspace</dt>
<dt>HSLColorspace</dt>
<dd>Hue, saturation, luminosity</dd>
<dt>HWBColorspace</dt>
<dd>Hue, whiteness, blackness</dd>
<dt>LABColorspace</dt>
<dt>LogColorspace</dt>
<dt>OHTAColorspace</dt>
<dt>RGBColorspace</dt>
<dd class="imquote">Red-Green-Blue colorspace</dd>
<dt>SRGBColorspace</dt>
<dd>Kodak PhotoCD sRGB. In ImageMagick, this constant is named
sRGBColorspace, but since Ruby constants must start with an
uppercase letter, I had to change it.</dd>
<dt>TransparentColorspace</dt>
<dd class="imquote">The Transparent color space behaves
uniquely in that it preserves the matte channel of the image if
it exists.</dd>
<dt>XYZColorspace</dt>
<dd>CIE XYZ</dd>
<dt>YCbCrColorspace</dt>
<dt>YCCColorspace</dt>
<dd>Kodak PhotoCD PhotoYCC</dd>
<dt>YIQColorspace</dt>
<dt>YPbPrColorspace</dt>
<dt>YUVColorspace</dt>
<dd class="imquote">Y-signal, U-signal, and V-signal
colorspace. YUV is most widely used to encode color for use in
television transmission.</dd>
</dl>
<p>The colorspaces in this group are typically associated with
the DPX and Cineon image formats used in the motion picture
industry.</p>
<dl>
<dt>Rec601LumaColorspace</dt>
<dd>Luma (Y) according to ITU-R 601</dd>
<dt>Rec601YCbCrColorspace</dt>
<dd>YCbCr according to ITU-R 601</dd>
<dt>Rec709LumaColorspace</dt>
<dd>Luma (Y) according to ITU-R 709</dd>
<dt>Rec709YCbCrColorspace</dt>
<dd>YCbCr according to ITU-R 709</dd>
</dl>
<h3 class="const" id="ComplianceType">ComplianceType</h3>
<p>Specify the color standard from which color names are chosen.
See <a href="struct.html#Pixel">to_color</a>.</p>
<dl>
<dt>SVGCompliance</dt>
<dd>Adhere to SVG color standard.</dd>
<dt>X11Compliance</dt>
<dd>Adhere to X11 color standard.</dd>
<dt>XPMCompliance</dt>
<dd>Adhere to XPM color standard.</dd>
<dt>AllCompliance</dt>
<dd>The union of the 3 color standards.</dd>
</dl>
<h3 class="const" id="CompositeOperator">CompositeOperator</h3>
<p><span class="imquote">Select the image composition algorithm
used to compose a <code>composite image</code> with a
<code>image</code>. By default, each of the <code>composite
image</code> pixels are replaced by the corresponding
<code>image</code> tile pixel. Specify
<code>CompositeOperator</code> to select a different
algorithm.</span> See <a href=
"image1.html#composite">composite</a>.</p>
<dl>
<dt>UndefinedCompositeOp</dt>
<dd>No composite operator has been specified.</dd>
<dt>AddCompositeOp</dt>
<dd class="imquote">The result of <code>composite image</code>
+ <code>image</code>, with overflow wrapping around (mod
256).</dd>
<dt>AtopCompositeOp</dt>
<dd class="imquote">The result is the same shape as
<code>image</code>, with <code>composite image</code> obscuring
<code>image</code> where the image shapes overlap. Note that
this differs from OverCompositeOp because the portion of
<code>composite image</code> outside of <code>image</code>'s
shape does not appear in the result.</dd>
<dt>BlurCompositeOp</dt>
<dd>?</dd>
<dt>BumpmapCompositeOp</dt>
<dd class="imquote">The result <code>image</code> shaded by
<code>composite image</code>.</dd>
<dt>ChangeMaskCompositeOp</dt>
<dd class="imquote">Replace any destination pixel that is the
similar to the source image's pixel (as defined by the current
fuzz factor), with transparency.</dd>
<dt>ClearCompositeOp</dt>
<dd>Make the target image transparent. The composite image is
ignored.</dd>
<dt>ColorBurnCompositeOp</dt>
<dd class="imquote">Darkens the destination color to reflect
the source color. Painting with white produces no change.</dd>
<dt>ColorDodgeCompositeOp</dt>
<dd class="imquote">Brightens the destination color to reflect
the source color. Painting with black produces no change.</dd>
<dt>ColorizeCompositeOp</dt>
<dd class="imquote">Each pixel in the result image is the
combination of the brightness of the target image and the
saturation and hue of the composite image. This is the
<em>opposite</em> of LuminizeCompositeOp.</dd>
<dt>CopyCompositeOp</dt>
<dd>Replace the target image with the composite image.</dd>
<dt>CopyBlackCompositeOp</dt>
<dd>Copy the black channel from the composite image to the
target image.</dd>
<dt>CopyBlueCompositeOp</dt>
<dd>Copy the blue channel from the composite image to the
target image.</dd>
<dt>CopyCyanCompositeOp</dt>
<dd>Copy the cyan channel from the composite image to the
target image.</dd>
<dt>CopyGreenCompositeOp</dt>
<dd>Copy the green channel from the composite image to the
target image.</dd>
<dt>CopyMagentaCompositeOp</dt>
<dd>Copy the magenta channel from the composite image to the
target image.</dd>
<dt>CopyOpacityCompositeOp</dt>
<dd>If the composite image's <a href=
"imageattrs.html#matte">matte</a> attribute is
<code>true</code>, copy the opacity channel from the composite
image to the target image. Otherwise, set the target image
pixel's opacity to the intensity of the corresponding pixel in
the composite image.</dd>
<dt>CopyRedCompositeOp</dt>
<dd>Copy the red channel from the composite image to the target
image.</dd>
<dt>CopyYellowCompositeOp</dt>
<dd>Copy the yellow channel from the composite image to the
target image.</dd>
<dt>DarkenCompositeOp</dt>
<dd>Replace target image pixels with darker pixels from the
composite image.</dd>
<dt>DifferenceCompositeOp</dt>
<dd class="imquote">The result of abs(<code>composite
image</code> - <code>image</code>). This is useful for
comparing two very similar images.</dd>
<dt>DisplaceCompositeOp</dt>
<dd>Displace target image pixels as defined by a displacement
map. The operator used by the <a href=
"image1.html#displace">displace</a> method.</dd>
<dt>DissolveCompositeOp</dt>
<dd>The operator used in the <a href=
"image1.html#dissolve">dissolve</a> method.</dd>
<dt>DistortCompositeOp</dt>
<dd>?</dd>
<dt>DivideCompositeOp</dt>
<dd>?</dd>
<dt>DstCompositeOp</dt>
<dd class="imquote">The destination is left untouched.</dd>
<dt>DstAtopCompositeOp</dt>
<dd class="imquote">The part of the destination lying inside of
the source is composited over the source and replaces the
destination.</dd>
<dt>DstInCompositeOp</dt>
<dd class="imquote">The part of the destination lying inside of
the source replaces the destination.</dd>
<dt>DstOutCompositeOp</dt>
<dd class="imquote">The part of the destination lying outside
of the source replaces the destination.</dd>
<dt>DstOverCompositeOp</dt>
<dd class="imquote">The destination is composited over the
source and the result replaces the destination.</dd>
<dt>ExclusionCompositeOp</dt>
<dd class="imquote">Produces an effect similar to that of
'difference', but appears as lower contrast. Painting with
white inverts the destination color. Painting with black
produces no change.</dd>
<dt>HardLightCompositeOp</dt>
<dd class="imquote">Multiplies or screens the colors, dependent
on the source color value. If the source color is lighter than
0.5, the destination is lightened as if it were screened. If
the source color is darker than 0.5, the destination is
darkened, as if it were multiplied. The degree of lightening or
darkening is proportional to the difference between the source
color and 0.5. If it is equal to 0.5 the destination is
unchanged. Painting with pure black or white produces black or
white.</dd>
<dt>HueCompositeOp</dt>
<dd class="imquote">Each pixel in the result image is the
combination of the hue of the target image and the saturation
and brightness of the composite image.</dd>
<dt>InCompositeOp</dt>
<dd class="imquote">The result is simply <code>composite
image</code> cut by the shape of <code>image</code>. None of
the image data of <code>image</code> is included in the
result.</dd>
<dt>LightenCompositeOp</dt>
<dd>Replace target image pixels with lighter pixels from the
composite image.</dd>
<dt>LinearBurnCompositeOp</dt>
<dd>Same as <code>LinearDodgeCompositeOp</code>, but also
subtract one from the result. Sort of a additive 'Screen' of
the images.</dd>
<dt>LinearDodgeCompositeOp</dt>
<dd class="imquote">This is equivelent to
<code>PlusCompositeOp</code> in that the color channels are
simply added, however it does not "plus" the alpha channel, but
uses the normal <code>OverCompositeOp</code> alpha blending,
which transparencies are involved. Produces a sort of additive
multiply-like result.</dd>
<dt>LinearLightCompositeOp</dt>
<dd class="imquote">Increase contrast slightly with an impact
on the foreground's tonal values.</dd>
<dt>LuminizeCompositeOp</dt>
<dd class="imquote">Each pixel in the result image is the
combination of the brightness of the composite image and the
saturation and hue of the target image. This is the
<em>opposite</em> of ColorizeCompositeOp.</dd>
<dt>MinusCompositeOp</dt>
<dd class="imquote">The result of composite image - image, with
overflow cropped to zero. The matte chanel is ignored (set to
255, full coverage).</dd>
<dt>ModulateCompositeOp</dt>
<dd>Used by the <a href="image3.html#watermark">watermark</a>
method.</dd>
<dt>MultiplyCompositeOp</dt>
<dd class="imquote">Multiplies the color of each target image
pixel by the color of the corresponding composite image pixel.
The result color is always darker.</dd>
<dt>NoCompositeOp</dt>
<dd>No composite operator has been specified.</dd>
<dt>OutCompositeOp</dt>
<dd class="imquote">The resulting image is <code>composite
image</code> with the shape of <code>image</code> cut out.</dd>
<dt>OverCompositeOp</dt>
<dd><span class="imquote">The result is the union of the the
two image shapes with <code>composite image</code> obscuring
<code>image</code> in the region of overlap.</span> The matte
channel of the composite image is respected, so that if the
composite pixel is part or all transparent, the corresponding
image pixel will show through.</dd>
<dt>OverlayCompositeOp</dt>
<dd class="imquote">Multiplies or screens the colors, dependent
on the destination color. Source colors overlay the destination
whilst preserving its highlights and shadows. The destination
color is not replaced, but is mixed with the source color to
reflect the lightness or darkness of the destination.</dd>
<dt>PegtopLightCompositeOp</dt>
<dd class="imquote">Almost equivalent to
<code>SoftLightCompositeOp</code>, but using a continuious
mathematical formula rather than two conditionally selected
formulae.</dd>
<dt>PinLightCompositeOp</dt>
<dd class="imquote">Similar to
<code>HardLightCompositeOp</code>, but using sharp linear
shadings, to similate the effects of a strong 'pinhole' light
source.</dd>
<dt>PlusCompositeOp</dt>
<dd class="imquote">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.</dd>
<dt>ReplaceCompositeOp</dt>
<dd class="imquote">The resulting image is image replaced with
composite image. Here the matte information is ignored.</dd>
<dt>SaturateCompositeOp</dt>
<dd>Each pixel in the result image is the combination of the
saturation of the target image and the hue and brightness of
the composite image.</dd>
<dt>ScreenCompositeOp</dt>
<dd>Multiplies the inverse of each image's color
information.</dd>
<dt>SoftLightCompositeOp</dt>
<dd class="imquote">Darkens or lightens the colors, dependent
on the source color value. If the source color is lighter than
0.5, the destination is lightened. If the source color is
darker than 0.5, the destination is darkened, as if it were
burned in. The degree of darkening or lightening is
proportional to the difference between the source color and
0.5. If it is equal to 0.5, the destination is unchanged.
Painting with pure black or white produces a distinctly darker
or lighter area, but does not result in pure black or
white.</dd>
<dt>SrcAtopCompositeOp</dt>
<dd class="imquote">The part of the source lying inside of the
destination is composited onto the destination.</dd>
<dt>SrcCompositeOp</dt>
<dd class="imquote">The source is copied to the destination.
The destination is not used as input.</dd>
<dt>SrcInCompositeOp</dt>
<dd class="imquote">he part of the source lying inside of the
destination replaces the destination.</dd>
<dt>SrcOutCompositeOp</dt>
<dd class="imquote">The part of the source lying outside of the
destination replaces the destination.</dd>
<dt>SrcOverCompositeOp</dt>
<dd class="imquote">The source is composited over the
destination.</dd>
<dt>SubtractCompositeOp</dt>
<dd class="imquote">The result of <code>composite image</code>
- <code>image</code>, with underflow wrapping around (mod 256).
The add and subtract operators can be used to perform
reversable transformations.</dd>
<dt>ThresholdCompositeOp</dt>
<dd>?</dd>
<dt>VividLightCompositeOp</dt>
<dd class="imquote">A modified
<code>LinearLightCompositeOp</code> designed to preserve very
stong primary and secondary colors in the image.</dd>
<dt>XorCompositeOp</dt>
<dd class="imquote">The result is the image data from both
<code>composite image</code> and <code>image</code> that is
outside the overlap region. The overlap region will be
blank.</dd>
</dl>
<h3 class="const" id="CompressionType">CompressionType</h3>
<p><span class="imquote">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 incompatible with the image,
ImageMagick selects a compression type compatible with the image
type.</span> See <a href=
"imageattrs.html#compression">compression</a>.</p>
<dl>
<dt>UndefinedCompression</dt>
<dd>No compression type has been specified.</dd>
<dt>NoCompression</dt>
<dd>The default for most formats.</dd>
<dt>B44Compression</dt>
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
<dt>B44ACompression</dt>
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
<dt>BZipCompression</dt>
<dd class="imquote">BZip (Burrows-Wheeler block-sorting text
compression algorithm and Huffman coding) as used by bzip2
utilities</dd>
<dt>DXT1Compression</dt>
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
<dt>DXT3Compression</dt>
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
<dt>DXT5Compression</dt>
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
<dt>FaxCompression</dt>
<dd class="imquote">CCITT Group 3 FAX compression</dd>
<dt>Group4Compression</dt>
<dd class="imquote">CCITT Group 4 FAX compression (used only
for TIFF)</dd>
<dt>JPEGCompression</dt>
<dd>JPEG compression. See <a href=
"http://www.faqs.org/faqs/jpeg-faq/part1/">The JPEG image
compression FAQ</a>.</dd>
<dt>JPEG2000Compression</dt>
<dd>JPEG2000 compression for compressed PDF images.</dd>
<dt>LosslessJPEGCompression</dt>
<dd>This compression format is almost never used.</dd>
<dt>LZWCompression</dt>
<dd class="imquote">Lempel-Ziv-Welch (LZW) compression</dd>
<dt>PizCompression</dt>
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
<dt>Pxr24Compression</dt>
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
<dt>RLECompression</dt>
<dd>See the Wikipedia page for <a href=
"http://en.wikipedia.org/wiki/Run_length_encoding">Run-length
encoding</a>.</dd>
<dt>ZipCompression</dt>
<dd class="imquote">Lempel-Ziv compression (LZ77) as used in
PKZIP and GNU gzip.</dd>
<dt>ZipSCompression</dt>
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
</dl>
<h3 class="const" id="DecorationType">DecorationType</h3>
<p>Use with the <a href="draw.html#decorate">decorate=</a> method
in the Draw class to specify the text decoration for the <a href=
"draw.html#annotate">annotate</a> method.</p>
<dl>
<dt>NoDecoration</dt>
<dd>Don't decorate the text.</dd>
<dt>UnderlineDecoration</dt>
<dd>Underline the text.</dd>
<dt>OverlineDecoration</dt>
<dd>Overline the text.</dd>
<dt>LineThroughDecoration</dt>
<dd>Draw a horizontal line through the middle of the text.</dd>
</dl>
<h3 class="const" id="DisposeType">DisposeType</h3>
<p>The value of the <a href="imageattrs.html#dispose">dispose</a>
attribute.</p>
<dl>
<dt>UndefinedDispose</dt>
<dd>No disposal specified.</dd>
<dt>NoneDispose</dt>
<dd>Do not dispose between frames.</dd>
<dt>BackgroundDispose</dt>
<dd>Overwrite the image area with the background color.</dd>
<dt>PreviousDispose</dt>
<dd>Overwrite the image area with what was there prior to
rendering the image.</dd>
</dl>
<h3 class="const" id="DitherMethod">DitherMethod</h3>
<p>Specify the method of dithering for <a href=
"image1.html#remap">remap</a>, <a href=
"image3.html#quantize">quantize</a>, <a href=
"image3.html#posterize">posterize</a>, etc.</p>
<dl>
<dt>NoDitherMethod</dt>
<dt>RiemersmaDitherMethod</dt>
<dt>FloydSteinbergDitherMethod</dt>
</dl>
<h3 class="const" id="EndianType">EndianType</h3>
<p>The value of the <a href="info.html#endian">endian</a>
attribute.</p>
<dl>
<dt>UndefinedEndian</dt>
<dt>LSBEndian</dt>
<dt>MSBEndian</dt>
</dl>
<h3 class="const" id="FilterTypes">FilterTypes</h3>
<p><span class="imquote">Used to adjust the filter algorithm used
when resizing images. Different filters experience varying
degrees of success with various images and can take significantly
different amounts of processing time. ImageMagick uses the
LanczosFilter 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. TriangleFilter) 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.</span> See <a href=
"image3.html#resize">resize</a>.</p>
<dl>
<dt>UndefinedFilter</dt>
<dt>Bartlett</dt>
<dt>BesselFilter</dt>
<dt>BlackmanFilter</dt>
<dt>Bohman</dt>
<dt>BoxFilter</dt>
<dt>CatromFilter</dt>
<dt>CubicFilter</dt>
<dt>GaussianFilter</dt>
<dt>HammingFilter</dt>
<dt>HanningFilter</dt>
<dt>HermiteFilter</dt>
<dt>KaiserFilter</dt>
<dt>LagrangianFilter</dt>
<dt>LanczosFilter</dt>
<dt>MitchellFilter</dt>
<dt>ParzenFilter</dt>
<dt>PointFilter</dt>
<dt>QuadraticFilter</dt>
<dt>SincFilter</dt>
<dt>TriangleFilter</dt>
<dt>WelshFilter</dt>
</dl>
<h3 class="const" id="GravityType">GravityType</h3>
<p><span class="imquote">Specify 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 <em>NorthWestGravity</em>.</span>
See <a href="draw.html#annotate">annotate</a> and <a href=
"image1.html#composite">composite</a>.</p>
<dl>
<dt>ForgetGravity</dt>
<dd class="imquote">Don't use gravity.</dd>
<dt>NorthWestGravity</dt>
<dd class="imquote">Position object at top-left of region</dd>
<dt>NorthGravity</dt>
<dd class="imquote">Position object at top-center of
region</dd>
<dt>NorthEastGravity</dt>
<dd class="imquote">Position object at top-right of region</dd>
<dt>WestGravity</dt>
<dd class="imquote">Position object at left-center of
region</dd>
<dt>CenterGravity</dt>
<dd class="imquote">Position object at center of region</dd>
<dt>EastGravity</dt>
<dd class="imquote">Position object at right-center of
region</dd>
<dt>SouthWestGravity</dt>
<dd class="imquote">Position object at left-bottom of
region</dd>
<dt>SouthGravity</dt>
<dd class="imquote">Position object at bottom-center of
region</dd>
<dt>SouthEastGravity</dt>
<dd class="imquote">Position object at bottom-right of
region</dd>
</dl>
<h3 class="const" id="ImageType">ImageType</h3>
<p>Indicate <span class="imquote">the type classification of the
image.</span> See <a href=
"imageattrs.html#image_type">image_type</a> and <a href=
"info.html#image_type_eq">image_type=</a>.</p>
<dl>
<dt>UndefinedType</dt>
<dd>No type has been specified.</dd>
<dt>BilevelType</dt>
<dd class="imquote">Monochrome image</dd>
<dt>GrayscaleType</dt>
<dd class="imquote">Grayscale image</dd>
<dt>PaletteType</dt>
<dd class="imquote">Indexed color (palette) image</dd>
<dt>PaletteMatteType</dt>
<dd class="imquote">Indexed color (palette) image with
opacity</dd>
<dt>TrueColorType</dt>
<dd class="imquote">Truecolor image</dd>
<dt>TrueColorMatteType</dt>
<dd class="imquote">Truecolor image with opacity</dd>
<dt>ColorSeparationType</dt>
<dd class="imquote">Cyan/Yellow/Magenta/Black (CYMK) image</dd>
<dt>ColorSeparationMatteType</dt>
<dt>OptimizeType</dt>
<dt>PaletteBilevelMatteType</dt>
</dl>
<h3 class="const" id="InterlaceType">InterlaceType</h3>
<p>Specify <span class="imquote">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. Use <code>LineInterlace</code> or
<code>PlaneInterlace</code> to create an interlaced GIF or
progressive JPEG image.</span> See <a href=
"imageattrs.html#interlace">interlace</a>.</p>
<dl>
<dt>UndefinedInterlace</dt>
<dd>No interlace type has been specified.</dd>
<dt>NoInterlace</dt>
<dd class="imquote">Don't interlace image
(RGBRGBRGBRGBRGBRGB...)</dd>
<dt>LineInterlace</dt>
<dd class="imquote">Use scanline interlacing
(RRR...GGG...BBB...RRR...GGG...BBB...)</dd>
<dt>PlaneInterlace</dt>
<dd class="imquote">Use plane interlacing
(RRRRRR...GGGGGG...BBBBBB...)</dd>
<dt>PartitionInterlace</dt>
<dd class="imquote">Similar to plane interlacing except that
the different planes are saved to individual files (e.g.
image.R, image.G, and image.B)</dd>
<dt>GIFInterlace</dt>
<dt>JPEGInterlace</dt>
<dt>PNGInterlace</dt>
<dd>See the ImageMagick documentation for the -interlace
option.</dd>
</dl>
<h3 class="const" id="InterpolatePixelMethod">
InterpolatePixelMethod</h3>
<p>The pixel color interpolation method. See <a href=
"imageattrs.html#pixel_interpolation_method">pixel_interpolation_method</a>.</p>
<dl>
<dt>AverageInterpolatePixel</dt>
<dt>BicubicInterpolatePixel</dt>
<dt>BilinearInterpolatePixel</dt>
<dt>FilterInterpolatePixel</dt>
<dt>IntegerInterpolatePixel</dt>
<dt>MeshInterpolatePixel</dt>
<dt>NearestNeighborInterpolatePixel</dt>
<dt>SplineInterpolatePixel</dt>
</dl>
<p>For FilterInterpolatePixel, specify the filter with the
<a href="imageattrs.html#filter">filter</a> attribute. Specify
the sharpness with the <a href="imageattrs.html#blur">blur</a>
attribute.</p>
<h3 class="const" id="MetricType">MetricType</h3>
<p>The distortion metric type. See <a href=
"image1.html#compare_channel">compare_channel</a>, <a href=
"image1.html#distortion_channel">distortion_channel</a>.</p>
<dl>
<dt>MeanAbsoluteErrorMetric</dt>
<dt>MeanSquaredErrorMetric</dt>
<dt>PeakAbsoluteErrorMetric</dt>
<dt>PeakSignalToNoiseRatioMetric</dt>
<dt>RootMeanSquaredErrorMetric</dt>
</dl>
<h3 class="const" id="NoiseType">NoiseType</h3>
<p><span class="imquote">Select the type of noise to be added to
the image.</span> See <a href=
"image1.html#add_noise">add_noise</a>.</p>
<dl>
<dt>UniformNoise</dt>
<dt>GaussianNoise</dt>
<dt>MultiplicativeGaussianNoise</dt>
<dt>ImpulseNoise</dt>
<dt>LaplacianNoise</dt>
<dt>PoissonNoise</dt>
<dt>RandomNoise</dt>
</dl>
<h3 class="const" id="Opacity">Opacity</h3>
<p>represent the maximum and minimum levels of opacity. You can
specify a partial level of opacity by choosing a number between
OpaqueOpacity and TransparentOpacity. For example, 25% opacity is
<code>abs(Magick::TransparentOpacity-Magick::OpaqueOpacity) *
0.25</code></p>
<dl>
<dt>TransparentOpacity</dt>
<dd>The minimum amount of opacity.</dd>
<dt>OpaqueOpacity</dt>
<dd>The maximum amount of opacity.</dd>
</dl>
<h3 class="const" id="OrientationType">OrientationType</h3>
<p>Specify the orientation of the image pixels. See <a href=
"imageattrs.html#orientation">Image#orientation</a> and <a href=
"info.html#orientation">Info#orientation</a>. See <a href=
"http://jpegclub.org/exif_orientation.html">http://jpegclub.org/exif_orientation.html</a>
for an explanation of these values.</p>
<dl>
<dt>UndefinedOrientation</dt>
<dt>TopLeftOrientation</dt>
<dt>TopRightOrientation</dt>
<dt>BottomRightOrientation</dt>
<dt>BottomLeftOrientation</dt>
<dt>LeftTopOrientation</dt>
<dt>RightTopOrientation</dt>
<dt>RightBottomOrientation</dt>
<dt>LeftBottomOrientation</dt>
</dl>
<h3 class="const" id="PaintMethod">PaintMethod</h3>
<p class="imquote">Specify how pixel colors are to be replaced in
the image. See <a href=
"image2.html#matte_floodfill">matte_floodfill</a> and <a href=
"image3.html#texture_floodfill">texture_floodfill</a>.</p>
<dl>
<dt>PointMethod</dt>
<dd class="imquote">Replace pixel color at point.</dd>
<dt>ReplaceMethod</dt>
<dd class="imquote">Replace color for all image pixels matching
color at point.</dd>
<dt>FloodfillMethod</dt>
<dd class="imquote">Replace color for pixels surrounding point
until encountering pixel that fails to match color at
point.</dd>
<dt>FillToBorderMethod</dt>
<dd class="imquote">Replace color for pixels surrounding point
until encountering pixels matching border color.</dd>
<dt>ResetMethod</dt>
<dd class="imquote">Replace colors for <strong>all</strong>
pixels in image with fill color.</dd>
</dl>
<h3 class="const" id="RenderingIntent">RenderingIntent</h3>
<p><span class="imquote">Rendering intent is a concept defined by
ICC Spec ICC.1:1998-09, "File Format for Color Profiles".
ImageMagick uses RenderingIntent in order to support ICC Color
Profiles.</span></p>
<p class="imquote">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>See <a href=
"imageattrs.html#rendering_intent">rendering_intent</a>.</p>
<dl>
<dt>UndefinedIntent</dt>
<dd>No intent has been specified.</dd>
<dt>SaturationIntent</dt>
<dd class="imquote">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.</dd>
<dt>PerceptualIntent</dt>
<dd class="imquote">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.</dd>
<dt>AbsoluteIntent</dt>
<dd class="imquote">Absolute colorimetric</dd>
<dt>RelativeIntent</dt>
<dd class="imquote">Relative colorimetric</dd>
</dl>
<h3 class="const" id="ResolutionType">ResolutionType</h3>
<p><span class="imquote">By default, ImageMagick defines
resolutions in pixels per inch. ResolutionType provides a means
to adjust this.</span> See <a href=
"imageattrs.html#units">units</a>.</p>
<dl>
<dt>UndefinedResolution</dt>
<dd>No resolution has been specified.</dd>
<dt>PixelsPerInchResolution</dt>
<dd class="imquote">Density specifications are specified in
units of pixels per inch (English units).</dd>
<dt>PixelsPerCentimeterResolution</dt>
<dd class="imquote">Density specifications are specified in
units of pixels per centimeter (metric units).</dd>
</dl>
<h3 class="const" id="StretchType">StretchType</h3>
<p>See <a href="draw.html#font_stretch_eq">font_stretch=</a>.</p>
<dl>
<dt>NormalStretch</dt>
<dt>UltraCondensedStretch</dt>
<dt>ExtraCondensedStretch</dt>
<dt>CondensedStretch</dt>
<dt>SemiCondensedStretch</dt>
<dt>SemiExpandedStretch</dt>
<dt>ExpandedStretch</dt>
<dt>ExtraExpandedStretch</dt>
<dt>UltraExpandedStretch</dt>
<dt>AnyStretch</dt>
</dl>
<h3 class="const" id="StorageType">StorageType</h3>
<p>See <a href="image2.html#import_pixels">import_pixels</a> and
<a href=
"image2.html#export_pixels_to_str">export_pixels_to_str</a>.</p>
<dl>
<dt>CharPixel</dt>
<dd>corresponds to a C <code>unsigned char</code>, range
0-255.</dd>
<dt>ShortPixel</dt>
<dd>corresponds to a C <code>unsigned short</code>, range
0-65535.</dd>
<dt>IntegerPixel</dt>
<dd>corresponds to a C <code>unsigned int</code>, range
0-4294967295.</dd>
<dt>LongPixel</dt>
<dd>corresponds to a C <code>unsigned long</code>, range
0-4294967295 (for 32-bit longs).</dd>
<dt>FloatPixel</dt>
<dd>corresponds to a C <code>float</code>, range 0.0-1.0.</dd>
<dt>DoublePixel</dt>
<dd>corresponds to a C <code>double</code>, range 0.0-1.0.</dd>
<dt>QuantumPixel</dt>
<dd>corresponds to the Quantum type used by ImageMagick, range
0-QuantumRange.</dd>
</dl>
<h3 class="const" id="StyleType">StyleType</h3>
<p>See <a href="draw.html#font_style_eq">font_style=</a>.</p>
<dl>
<dt>NormalStyle</dt>
<dt>ItalicStyle</dt>
<dt>ObliqueStyle</dt>
<dt>AnyStyle</dt>
</dl>
<h3 class="const" id="WeightType">WeightType</h3>
<p>The font weight can be specified as one of 100, 200, 300, 400,
500, 600, 700, 800, or 900, or one of the following constants.
See <a href="draw.html#font_weight_eq">font_weight=</a>.</p>
<dl>
<dt>AnyWeight</dt>
<dd>No weight specified.</dd>
<dt>NormalWeight</dt>
<dd>Equivalent to 400</dd>
<dt>BoldWeight</dt>
<dd>Equivalent to 700</dd>
<dt>BolderWeight</dt>
<dd>Increases weight by 100</dd>
<dt>LighterWeight</dt>
<dd>Decreases weight by 100</dd>
</dl>
<p class="spacer"></p>
<div class="nav">
« <a href="info.html">Prev</a> | <a href=
"index.html">Contents</a> | <a href="rvgtut.html">Next</a>
»
</div>
</body>
</html>
|