rmagick 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

Files changed (48) hide show
  1. data/ChangeLog +34 -0
  2. data/README.html +12 -29
  3. data/README.txt +10 -26
  4. data/configure +768 -73
  5. data/configure.ac +29 -26
  6. data/doc/comtasks.html +3 -4
  7. data/doc/constants.html +85 -67
  8. data/doc/draw.html +22 -0
  9. data/doc/ex/dissolve.rb +13 -0
  10. data/doc/ex/edge.rb +1 -1
  11. data/doc/ex/mask.rb +37 -0
  12. data/doc/ex/sketch.rb +25 -0
  13. data/doc/ex/watermark.rb +23 -0
  14. data/doc/ilist.html +11 -13
  15. data/doc/image1.html +601 -52
  16. data/doc/image2.html +637 -28
  17. data/doc/image3.html +339 -54
  18. data/doc/imageattrs.html +211 -41
  19. data/doc/imusage.html +41 -2
  20. data/doc/index.html +8 -6
  21. data/doc/info.html +57 -42
  22. data/doc/optequiv.html +1919 -0
  23. data/doc/rvg.html +45 -42
  24. data/doc/scripts/doc.js +14 -1
  25. data/doc/scripts/stripeTables.js +23 -0
  26. data/doc/usage.html +66 -15
  27. data/{doc/ex → examples}/demo.rb +0 -0
  28. data/examples/find_similar_region.rb +34 -0
  29. data/examples/import_export.rb +1 -1
  30. data/examples/pattern_fill.rb +2 -2
  31. data/examples/rotating_text.rb +2 -4
  32. data/examples/thumbnail.rb +1 -1
  33. data/ext/RMagick/MANIFEST +9 -4
  34. data/ext/RMagick/extconf.rb.in +1 -1
  35. data/ext/RMagick/rmagick.h +47 -10
  36. data/ext/RMagick/rmagick_config.h.in +24 -0
  37. data/ext/RMagick/rmdraw.c +32 -7
  38. data/ext/RMagick/rmilist.c +55 -37
  39. data/ext/RMagick/rmimage.c +1588 -447
  40. data/ext/RMagick/rminfo.c +94 -3
  41. data/ext/RMagick/rmmain.c +68 -7
  42. data/ext/RMagick/rmutil.c +67 -9
  43. data/lib/RMagick.rb +190 -53
  44. data/lib/rvg/stretchable.rb +17 -13
  45. data/rmagick.gemspec +1 -1
  46. metadata +11 -6
  47. data/doc/ex/level_channel.rb +0 -33
  48. data/doc/ex/opaque.rb +0 -14
@@ -1,7 +1,7 @@
1
1
 
2
2
  # RMagick configure.ac
3
3
 
4
- AC_INIT(RMagick, 1.13.0, rmagick@rubyforge.org, RMagick-1.13.0.tar.gz)
4
+ AC_INIT(RMagick, 1.14.0, rmagick@rubyforge.org, RMagick-1.14.0.tar.gz)
5
5
  echo "Configuring ${PACKAGE_STRING}"
6
6
 
7
7
  AC_CONFIG_HEADER([ext/RMagick/rmagick_config.h])
@@ -98,7 +98,8 @@ if test "$rm_have_acquirestringinfo" = yes; then
98
98
  AC_DEFINE(HAVE_ACQUIRESTRINGINFO)
99
99
  fi
100
100
 
101
- AC_CHECK_FUNCS([AdaptiveSharpenImage AdaptiveThresholdImage AddDefinitions])
101
+ AC_CHECK_FUNCS([AdaptiveBlurImageChannel AdaptiveResizeImage AdaptiveSharpenImage])
102
+ AC_CHECK_FUNCS([AdaptiveThresholdImage AddDefinitions])
102
103
  AC_CHECK_FUNCS([AddNoiseImageChannel BilevelImageChannel BlackThresholdImage])
103
104
  AC_CHECK_FUNCS([BlurImageChannel ClearMagickException CompareImageChannels])
104
105
  AC_CHECK_FUNCS([CompareImageLayers CompositeImageChannel ContrastStretchImageChannel])
@@ -116,7 +117,7 @@ if test "$rm_have_getcolorinfolist" = yes; then
116
117
  fi
117
118
 
118
119
  AC_CHECK_FUNCS([GetImageChannelDepth GetImageChannelDistortion])
119
- AC_CHECK_FUNCS([GetImageChannelExtrema GetImageChannelMean])
120
+ AC_CHECK_FUNCS([GetImageChannelExtrema GetImageChannelMean GetImageClipMask])
120
121
  AC_CHECK_FUNCS([GetImageHistogram GetImageProfile])
121
122
 
122
123
  # We need to be able to query this later in the configure script, so set a shell variable here
@@ -147,16 +148,17 @@ if test "$rm_have_gettypeinfolist" = yes; then
147
148
  fi
148
149
 
149
150
  AC_CHECK_FUNCS([GetMagickResourceLimit GrayscalePseudoClassImage ImagesToBlob ImportImagePixels])
150
- AC_CHECK_FUNCS([InheritException InterpretImageAttributes IsColorSimilar NegateImageChannel])
151
+ AC_CHECK_FUNCS([InheritException InterpolatePixelColor InterpretImageAttributes IsColorSimilar])
152
+ AC_CHECK_FUNCS([IsImageSimilar NegateImageChannel])
151
153
  AC_CHECK_FUNCS([NormalizeImageChannel ParseSizeGeometry PosterizeImage PreviewImage])
152
154
  AC_CHECK_FUNCS([QuantumOperatorRegionImage RadialBlurImage RadialBlurImageChannel])
153
- AC_CHECK_FUNCS([RandomChannelThresholdImage])
154
- AC_CHECK_FUNCS([RandomThresholdImageChannel SeparateImageChannel SepiaToneImage])
155
+ AC_CHECK_FUNCS([RandomChannelThresholdImage RandomThresholdImageChannel])
156
+ AC_CHECK_FUNCS([SeparateImageChannel SepiaToneImage])
155
157
  AC_CHECK_FUNCS([SetImageBackgroundColor SetImageChannelDepth SetImageColorspace SetImageExtent])
156
158
  AC_CHECK_FUNCS([SetImageInfoFile SetImageOption SetImageStorageClass])
157
159
  AC_CHECK_FUNCS([SetImageProgressMonitor ShadowImage SharpenImageChannel])
158
- AC_CHECK_FUNCS([SigmoidalContrastImageChannel SpliceImage StripImage])
159
- AC_CHECK_FUNCS([ThresholdImageChannel TintImage TransposeImage TransverseImage])
160
+ AC_CHECK_FUNCS([SigmoidalContrastImageChannel SketchImage SpliceImage StripImage])
161
+ AC_CHECK_FUNCS([ThresholdImageChannel TintImage TransposeImage TransverseImage UniqueImageColors])
160
162
  AC_CHECK_FUNCS([UnsharpMaskImageChannel VignetteImage WhiteThresholdImage XImportImage])
161
163
 
162
164
  # What typedefs?
@@ -179,7 +181,8 @@ AC_CHECK_TYPES([magick_int64_t,
179
181
  ExtendedSignedIntegralType,
180
182
  ExtendedUnsignedIntegralType,
181
183
  MagickOffsetType,
182
- MagickSizeType],
184
+ MagickSizeType,
185
+ MagickPixelPacket],
183
186
  [], [],
184
187
  [#include <stdio.h>
185
188
  #if HAVE_SYS_TYPES_H
@@ -195,34 +198,20 @@ AC_CHECK_MEMBERS([ExceptionInfo.module],,,
195
198
  #endif
196
199
  #include "magick/api.h"])
197
200
 
198
-
199
- AC_CHECK_MEMBERS([Image.orientation],,,
201
+ AC_CHECK_MEMBERS([Image.bias, Image.orientation, Image.quality, Image.ticks_per_second, Image.transparent_color],,,
200
202
  [#include <stdio.h>
201
203
  #if HAVE_SYS_TYPES_H
202
204
  #include <sys/types.h>
203
205
  #endif
204
206
  #include "magick/api.h"])
205
207
 
206
- AC_CHECK_MEMBERS([ImageInfo.orientation],,,
208
+ AC_CHECK_MEMBERS([ImageInfo.orientation, ImageInfo.channel],,,
207
209
  [#include <stdio.h>
208
210
  #if HAVE_SYS_TYPES_H
209
211
  #include <sys/types.h>
210
212
  #endif
211
213
  #include "magick/api.h"])
212
214
 
213
- AC_CHECK_MEMBERS([Image.quality],,,
214
- [#include <stdio.h>
215
- #if HAVE_SYS_TYPES_H
216
- #include <sys/types.h>
217
- #endif
218
- #include "magick/api.h"])
219
-
220
- AC_CHECK_MEMBERS([Image.ticks_per_second],,,
221
- [#include <stdio.h>
222
- #if HAVE_SYS_TYPES_H
223
- #include <sys/types.h>
224
- #endif
225
- #include "magick/api.h"])
226
215
 
227
216
  # Don't use AC_CHECK_MEMBERS!
228
217
  AC_CACHE_CHECK(for Image.extract_info, rm_cv_member_Image_extract_info,
@@ -419,7 +408,6 @@ if test "$rm_cv_enum_ColorDodgeCompositeOp" = yes; then
419
408
  AC_DEFINE(HAVE_COLORDODGECOMPOSITEOP)
420
409
  fi
421
410
 
422
-
423
411
  AC_CACHE_CHECK(for IndexChannel enum value, rm_cv_enum_indexchannel,
424
412
  [AC_TRY_COMPILE(
425
413
  [#include <stdio.h>
@@ -539,6 +527,21 @@ if test "$rm_cv_enum_coalescelayer" = yes; then
539
527
  AC_DEFINE(HAVE_COALESCELAYER)
540
528
  fi
541
529
 
530
+ AC_CACHE_CHECK(for MaxEvaluateOperator enum value, rm_cv_enum_maxevaluateoperator,
531
+ [AC_TRY_COMPILE(
532
+ [#include <stdio.h>
533
+ #if HAVE_SYS_TYPES_H
534
+ #include <sys/types.h>
535
+ #endif
536
+ #include "magick/api.h"],
537
+ [MagickEvaluateOperator x; x = MaxEvaluateOperator],
538
+ rm_cv_enum_maxevaluateoperator='yes',
539
+ rm_cv_enum_maxevaluateoperator='no')])
540
+
541
+ if test "$rm_cv_enum_maxevaluateoperator" = yes; then
542
+ AC_DEFINE(HAVE_MAXEVALUATEOPERATOR)
543
+ fi
544
+
542
545
  if test "$rm_have_getimagequantumdepth" = yes; then
543
546
  # IM 6.0.5 changed the number of arguments to GetImageQuantumDepth.
544
547
  AC_CACHE_CHECK(if GetImageQuantumDepth has only 1 argument, rm_cv_args_get_image_quantum_depth,
@@ -34,7 +34,7 @@
34
34
  <h6 id="header">RMagick User's Guide and Reference</h6>
35
35
 
36
36
  <div class="nav">
37
- &laquo;&nbsp;<a href="imusage.html">Prev</a> | <a href=
37
+ &laquo;&nbsp;<a href="optequiv.html">Prev</a> | <a href=
38
38
  "index.html">Contents</a> | <a href=
39
39
  "magick.html">Next</a>&nbsp;&raquo;
40
40
  </div>
@@ -210,8 +210,7 @@ thumb.write "thumb.gif"
210
210
  "constants.html#ColorspaceType">Magick::GRAYColorspace</a>
211
211
  argument. If you want real "grayscale," quantize the image to 256
212
212
  colors. If you want to convert a color image to black-and-white,
213
- use 2 colors. See <a href=
214
- "javascript:popup('demo.rb.html')">demo.rb</a>.</p>
213
+ use 2 colors. (See the <code>demo.rb</code> example.)</p>
215
214
 
216
215
  <h2 id="compressing">Compressing image files</h2>
217
216
 
@@ -259,7 +258,7 @@ img.write("myimage.jpg") { self.quality = 50 }
259
258
  <p class="spacer"> </p>
260
259
 
261
260
  <div class="nav">
262
- &laquo; <a href="imusage.html">Prev</a> | <a href=
261
+ &laquo; <a href="optequiv.html">Prev</a> | <a href=
263
262
  "index.html">Contents</a> | <a href="magick.html">Next</a>
264
263
  &raquo;
265
264
  </div>
@@ -113,16 +113,19 @@
113
113
 
114
114
  <li><a href="#InterlaceType">InterlaceType</a></li>
115
115
 
116
+ <li><a href=
117
+ "#InterpolatePixelMethod">InterpolatePixelMethod</a></li>
118
+
116
119
  <li><a href="#MetricType">MetricType</a></li>
117
120
 
118
121
  <li><a href="#NoiseType">NoiseType</a></li>
119
-
120
- <li><a href="#Opacity">Opacity</a></li>
121
122
  </ul>
122
123
  </div>
123
124
 
124
125
  <div class="toccol">
125
126
  <ul>
127
+ <li><a href="#Opacity">Opacity</a></li>
128
+
126
129
  <li><a href="#OrientationType">OrientationType</a></li>
127
130
 
128
131
  <li><a href="#PaintMethod">PaintMethod</a></li>
@@ -152,7 +155,7 @@
152
155
 
153
156
  <dd>An extended form of the <code>Version</code> constant with
154
157
  the format shown here:<br />
155
- <code>This is RMagick 1.10.0 ($Date: 2006/01/28 23:40:31 $)
158
+ <code>This is RMagick 1.10.0 ($Date: 2006/09/27 21:26:56 $)
156
159
  Copyright (C) 2006 by Timothy P. Hunter<br />
157
160
  Built with GraphicsMagick 1.2 unreleased Q16
158
161
  http://www.GraphicsMagick.org/<br />
@@ -238,7 +241,8 @@
238
241
  <h3 class="const" id="ChannelType">ChannelType</h3>
239
242
 
240
243
  <p>Specify an image channel. See <a href=
241
- "image1.html#channel">channel</a>.</p>
244
+ "image1.html#channel">Image#channel</a> and <a href=
245
+ "info.html#channel">Image::Info#channel=</a>.</p>
242
246
 
243
247
  <dl>
244
248
  <dt>UndefinedChannel</dt>
@@ -262,6 +266,20 @@
262
266
  <dt>AllChannels</dt>
263
267
 
264
268
  <dt>GrayChannel</dt>
269
+
270
+ <dt>AlphaChannel</dt>
271
+
272
+ <dd>Same as OpacityChannel</dd>
273
+
274
+ <dt>DefaultChannels</dt>
275
+
276
+ <dd>Same as AllChannels, excluding OpacityChannel</dd>
277
+
278
+ <dt>HueChannel</dt>
279
+
280
+ <dt>LuminosityChannel</dt>
281
+
282
+ <dt>SaturationChannel</dt>
265
283
  </dl>
266
284
 
267
285
  <h3 class="const" id="ClassType">ClassType</h3>
@@ -334,8 +352,6 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
334
352
 
335
353
  <dt>OHTAColorspace</dt>
336
354
 
337
- <dd>&nbsp;</dd>
338
-
339
355
  <dt>XYZColorspace</dt>
340
356
 
341
357
  <dd>CIE XYZ</dd>
@@ -346,16 +362,10 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
346
362
 
347
363
  <dt>YCbCrColorspace</dt>
348
364
 
349
- <dd>&nbsp; </dd>
350
-
351
365
  <dt>YIQColorspace</dt>
352
366
 
353
- <dd>&nbsp; </dd>
354
-
355
367
  <dt>YPbPrColorspace</dt>
356
368
 
357
- <dd>&nbsp; </dd>
358
-
359
369
  <dt>YUVColorspace</dt>
360
370
 
361
371
  <dd class="imquote">Y-signal, U-signal, and V-signal
@@ -385,19 +395,14 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
385
395
 
386
396
  <dt>HSBColorspace</dt>
387
397
 
388
- <dd>&nbsp; </dd>
389
-
390
398
  <dt>LogColorspace</dt>
391
399
 
392
- <dd>&nbsp; </dd>
393
-
394
400
  <dt>LABColorspace</dt>
395
-
396
- <dd>&nbsp; </dd>
397
401
  </dl>
398
402
 
399
- <p>The colorspaces in this group are typically associated with the DPX
400
- and Cineon image formats used in the motion picture industry.</p>
403
+ <p>The colorspaces in this group are typically associated with
404
+ the DPX and Cineon image formats used in the motion picture
405
+ industry.</p>
401
406
 
402
407
  <dl>
403
408
  <dt>CineonLogRGBColorspace</dt>
@@ -544,8 +549,7 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
544
549
  <dt>ReplaceCompositeOp</dt>
545
550
 
546
551
  <dd class="imquote">The resulting image is image replaced with
547
- composite image. Here the matte information is ignored.
548
- </dd>
552
+ composite image. Here the matte information is ignored.</dd>
549
553
 
550
554
  <dt>CopyCompositeOp</dt>
551
555
 
@@ -582,27 +586,24 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
582
586
 
583
587
  <dt>DissolveCompositeOp</dt>
584
588
 
585
- <dd>&nbsp;</dd>
589
+ <dd>The operator used in the <a href=
590
+ "image1.html#dissolve">dissolve</a> method.</dd>
586
591
 
587
592
  <dt>DisplaceCompositeOp</dt>
588
593
 
589
594
  <dd>Displace target image pixels as defined by a displacement
590
- map. The amount of displacement can be controlled via the
591
- <a href="imageattrs.html#geometry">geometry</a> attribute of
592
- the composite image. The default is "20x20".</dd>
595
+ map. The operator used by the <a href=
596
+ "image1.html#displace">Image#displace</a> method.</dd>
593
597
 
594
598
  <dt>ModulateCompositeOp</dt>
595
599
 
596
- <dd>&nbsp;</dd>
600
+ <dd>Used by the <a href="image3.html#watermark">watermark</a>
601
+ method.</dd>
597
602
 
598
603
  <dt>ThresholdCompositeOp</dt>
599
604
 
600
- <dd>&nbsp;</dd>
601
-
602
605
  <dt>NoCompositeOp</dt>
603
606
 
604
- <dd>&nbsp;</dd>
605
-
606
607
  <dt>DarkenCompositeOp</dt>
607
608
 
608
609
  <dd>Replace target image pixels with darker pixels from the
@@ -646,83 +647,77 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
646
647
 
647
648
  <dt>OverlayCompositeOp</dt>
648
649
 
649
- <dd>&nbsp;</dd>
650
-
651
650
  <dt>CopyCyanCompositeOp</dt>
652
651
 
653
652
  <dd>Copy the cyan channel from the composite image to the
654
- target image. </dd>
653
+ target image.</dd>
655
654
 
656
655
  <dt>CopyMagentaCompositeOp</dt>
657
656
 
658
657
  <dd>Copy the magenta channel from the composite image to the
659
- target image. </dd>
658
+ target image.</dd>
660
659
 
661
660
  <dt>CopyYellowCompositeOp</dt>
662
661
 
663
662
  <dd>Copy the yellow channel from the composite image to the
664
- target image. </dd>
663
+ target image.</dd>
665
664
 
666
665
  <dt>CopyBlackCompositeOp</dt>
667
666
 
668
667
  <dd>Copy the black channel from the composite image to the
669
- target image. </dd>
668
+ target image.</dd>
670
669
 
671
670
  <dt>DstAtopCompositeOp</dt>
672
671
 
673
- <dd>&nbsp;</dd>
674
-
675
672
  <dt>DstCompositeOp</dt>
676
673
 
677
- <dd>&nbsp;</dd>
678
-
679
674
  <dt>DstInCompositeOp</dt>
680
675
 
681
- <dd>&nbsp;</dd>
682
-
683
676
  <dt>DstOutCompositeOp</dt>
684
677
 
685
- <dd>&nbsp;</dd>
686
-
687
678
  <dt>DstOverCompositeOp</dt>
688
679
 
689
- <dd>&nbsp;</dd>
690
-
691
680
  <dt>SrcAtopCompositeOp</dt>
692
681
 
693
- <dd>&nbsp;</dd>
694
-
695
682
  <dt>SrcCompositeOp</dt>
696
683
 
697
- <dd>&nbsp;</dd>
698
-
699
684
  <dt>SrcInCompositeOp</dt>
700
685
 
701
- <dd>&nbsp;</dd>
702
-
703
686
  <dt>SrcOutCompositeOp</dt>
704
687
 
705
- <dd>&nbsp;</dd>
706
-
707
688
  <dt>SrcOverCompositeOp</dt>
708
689
 
709
- <dd>&nbsp;</dd>
710
-
711
690
  <dt>ColorDodgeCompositeOp</dt>
712
691
 
713
- <dd class="imquote">Brightens the destination color to reflect the source color. Painting with black produces no change.</dd>
692
+ <dd class="imquote">Brightens the destination color to reflect
693
+ the source color. Painting with black produces no change.</dd>
714
694
 
715
695
  <dt>ExclusionCompositeOp</dt>
716
696
 
717
- <dd>&nbsp;</dd>
718
-
719
697
  <dt>HardLightCompositeOp</dt>
720
698
 
721
- <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>
699
+ <dd class="imquote">Multiplies or screens the colors, dependent
700
+ on the source color value. If the source color is lighter than
701
+ 0.5, the destination is lightened as if it were screened. If
702
+ the source color is darker than 0.5, the destination is
703
+ darkened, as if it were multiplied. The degree of lightening or
704
+ darkening is proportional to the difference between the source
705
+ color and 0.5. If it is equal to 0.5 the destination is
706
+ unchanged. Painting with pure black or white produces black or
707
+ white.</dd>
722
708
 
723
709
  <dt>SoftLightCompositeOp</dt>
724
710
 
725
- <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>
711
+ <dd class="imquote">Darkens or lightens the colors, dependent
712
+ on the source color value. If the source color is lighter than
713
+ 0.5, the destination is lightened. If the source color is
714
+ darker than 0.5, the destination is darkened, as if it were
715
+ burned in. The degree of darkening or lightening is
716
+ proportional to the difference between the source color and
717
+ 0.5. If it is equal to 0.5, the destination is unchanged.
718
+ Painting with pure black or white produces a distinctly darker
719
+ or lighter area, but does not result in pure black or
720
+ white.</dd>
726
721
  </dl>
727
722
 
728
723
  <h3 class="const" id="CompressionType">CompressionType</h3>
@@ -747,7 +742,7 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
747
742
  <dt>BZipCompression</dt>
748
743
 
749
744
  <dd class="imquote">BZip (Burrows-Wheeler block-sorting text
750
- compression algorithm and Huffman coding) as used by bzip2
745
+ compression algorithm and Huffman coding) as used by bzip2
751
746
  utilities</dd>
752
747
 
753
748
  <dt>FaxCompression</dt>
@@ -1001,11 +996,7 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
1001
996
 
1002
997
  <dt>ColorSeparationMatteType</dt>
1003
998
 
1004
- <dd> </dd>
1005
-
1006
999
  <dt>OptimizeType</dt>
1007
-
1008
- <dd> </dd>
1009
1000
  </dl>
1010
1001
 
1011
1002
  <h3 class="const" id="InterlaceType">InterlaceType</h3>
@@ -1048,6 +1039,33 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
1048
1039
  image.R, image.G, and image.B)</dd>
1049
1040
  </dl>
1050
1041
 
1042
+ <h3 class="const" id="InterpolatePixelMethod">
1043
+ InterpolatePixelMethod</h3>
1044
+
1045
+ <p>The pixel color interpolation method. See <a href=
1046
+ "imageattrs.html#pixel_interpolation_method">pixel_interpolation_method</a>.</p>
1047
+
1048
+ <dl>
1049
+ <dt>AverageInterpolatePixel</dt>
1050
+
1051
+ <dt>BicubicInterpolatePixel</dt>
1052
+
1053
+ <dt>BilinearInterpolatePixel</dt>
1054
+
1055
+ <dt>FilterInterpolatePixel</dt>
1056
+
1057
+ <dt>IntegerInterpolatePixel</dt>
1058
+
1059
+ <dt>MeshInterpolatePixel</dt>
1060
+
1061
+ <dt>NearestNeighborInterpolatePixel</dt>
1062
+ </dl>
1063
+
1064
+ <p>For FilterInterpolatePixel, specify the filter with the
1065
+ <a href="imageattrs.html#filter">filter</a> attribute. Specify
1066
+ the sharpness with the <a href="imageattrs.html#blur">blur</a>
1067
+ attribute.</p>
1068
+
1051
1069
  <h3 class="const" id="MetricType">MetricType</h3>
1052
1070
 
1053
1071
  <p>The distortion metric type. See <a href=