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