Files | Admin

Notes:

Release Name: 2.13.0

Notes:
The RMagick 2.13.0 gem is for Linux, *BSD, OS X, Solaris, and other *ix-like systems only. If you're using Microsoft Windows please download and install the the latest rmagick-win32 binary gem.

See the Change Log for information about new features and bug fixes since the previous release.

Unpack the 7zipped tarball with this command:
7z e RMagick-2.12.2.tar.lzma -so | tar xv


Changes: RMagick 2.13.0 o Added Doxygen documentation, for automatic documentation o Fixed bug #27467, get RMagick to compile witH ImageMagick 6.5.7 o Fixed bug #27607, switch Pixel#from_hsla and Pixel#to_hsla to use ranges 0-255 instead of 0-100 for saturation and lightness (range used by ImageMagick 6.5.6-5 and higher). Also added ability to specify all arguments to these functions as percentages (bug report by Arthur Chan). RMagick 2.12.2 o Add feature tests for SinusoidFunction and PolynomialFunction enum values to allow compiling with ImageMagick 6.4.8-7 (bug report by Mark Richman) RMagick 2.12.1 o Fix bug #27239, allow 2.12.0 to compile with older releases of ImageMagick (bug report by Sam Lown) RMagick 2.12.0 o Added Image#function_channel (available in ImageMagick 6.4.8-8) o Added Image#auto_level_channel, Image#auto_gamma_channel (available in ImageMagick 6.5.5-1) o Added Draw#interline_spacing, #interline_spacing= (available in ImageMagick 6.5.5-8) RMagick 2.11.1 o Applied Alexey Borzenkov's mingw patches to extconf.rb. o Fixed a bug in Magick.trace_proc that could cause a segv at program exit with Ruby 1.9.1 (bug report by Larry Young) o Added new CompressionType enum values ZipSCompression, PixCompression, Pxr24Compression, B44Compression, B44ACompression (available in ImageMagick 6.5.5-4) RMagick 2.11.0 o Fix bug #26475, dissolve and watermark don't work with new versions of ImageMagick (reported by Jim Crate) o Add Image#composite_mathematics (available in ImageMagick 6.5.4-3) o Add new LinearDodgeCompositeOp, LinearBurnCompositeOp, PegtopCompositeOp, PinLightCompositeOp, VividLightCompositeOp enum values (available in ImageMagick 6.5.4-3) RMagick 2.10.0 o ImageMagick releases earlier than 6.3.5-10 and Ruby releases earlier than 1.8.5 no longer supported. o (Experimental) Support the use of Ruby managed memory for all memory allocations (available in ImageMagick 6.5.3-10) o Add Image#selective_blur_channel (available in ImageMagick 6.5.0-3) o Add new AlphaBackgroundChannel enum value (available in ImageMagick 6.5.2-5) o Add new DistortCompositeOp enum value (available in ImageMagick 6.5.3-7) RMagick 2.9.2 o Add new HorizontalTileEdgeVirtualPixelMethod, VerticalTileEdgeVirtualPixelMethod, CheckerTileVirtualPixelMethod VirtualPixelMethod enum values (available in ImageMagick 6.5.0-1) o Added BilinearForwardDistortion, BilinearReverseDistortion enums (available in ImageMagick 6.5.1-2) o Add missing composite operators to Magick::Draw#composite method o Add warning about dropping support for ImageMagick < 6.3.5 and Ruby < 1.8.5 o Fix bug #25892, stack buffer overflow in Magick::TypeMetric.to_s (reported by Roman Simecek) RMagick 2.9.1 o Fix a bug that prevents the use of transparent background colors when built with ImageMagick 6.4.9-0 RMagick 2.9.0 o Fix #23209, improve RVG's letter spacing (patch from Jonah Fox) o Add Draw#kerning= attribute (available in ImageMagick 6.4.7-8) o Add Draw#interword_spacing= attribute (available in ImageMagick 6.4.8-0) o Add Draw#kerning, Draw#interword_spacing primitive methods (available in ImageMagick 6.4.8-3) o Feature #23171, support ImageList, Draw, Pixel marshaling. o Support all the new EvaluateOperator constants RMagick 2.8.0 o Add the endian, scene, and transparent_color attributes to Image::Info o Deprecate Image#endian= attribute setter o Add the transparent_chroma method to the Image class (available in ImageMagick 6.4.5-6) o Add the sparse_color method to the Image class (available in ImageMagick 6.4.3) o Update Image#change_geometry to work with the new ParseSizeGeometry API in ImageMagick 6.4.6-9. RMagick 2.7.2 o Fix bug #22740, some Image::Info attribute values are not propogated to the image object (bug report by Thomas Watson) RMagick 2.7.1 o Fix bug #22471, Magick::fonts can abend on 64-bit systems (bug report and patch by James Le Cuirot) o ImageList.new accepts a block which is passed on to Image::read when reading the input images. The block is executed in the context of an Image::Info object. o Add support for the "user" image property. o Define the Magick::FatalImageMagickError exception class, raised if ImageMagick raises a fatal (unrecoverable) exception. o Added feature #22618, Image#total_ink_density (request by F. Behrens) RMagick 2.7.0 o Fix bug #22152, extconf.rb does not respect the LDFLAGS environment variable (bug report by Joseph Sokol-Margolis) o Fix bug #22190, the NoDitherMethod enum value is not defined in ImageMagick 6.4.2 o Add the TrimBoundsLayer ImageLayerMethod enum value (available in ImageMagick 6.4.3-8) o Add the CopyAlphaChannel, ExtractAlphaChannel, OpaqueAlphaChannel, ShapeAlphaChannel, and TransparentAlphaChannel AlphaChannelType enum values (available in ImageMagick 6.4.3-7) o Rename Image#affinity and ImageList#affinity to Image#remap and ImageList#remap. Retain the old names as aliases. (Changed in ImageMagick 6.4.4-0) RMagick 2.6.0 o Fix bug #21237, Image::write ignores format attribute when called with a Tempfile pathname (bug report by Jack Shedd) o Fix bug #21897, ImageList#from_blob abends when certain corrupt JPEG images are used (bug report by Peter Szabo) o Add Image#composite_tiled, Image#composite_tiled! (ref: http://rubyforge.org/forum/forum.php?thread_id=27347&forum_id=33) o Add Image#deskew (available with ImageMagick 6.4.2-5) o Add Image#define, Image#undefine (available in ImageMagick 6.3.6) o Add Image#level_colors (available in ImageMagick 6.4.2-1) o Add Image#levelize_channel (available in ImageMagick 6.4.2-1) o Add Image#affinity, ImageList#affinity (available in ImageMagick 6.4.3-6). These methods replace Image#map and ImageList#map. o Accept DitherMethod values for the dither argument to Image#quantize, ImageList#quantize o Add the BarrelDistortion, PolynomialDistortion, ShepardsDistortion, PolarDistortion, and DePolarDistortion MagickDistortion Method enum values (available in ImageMagick 6.4.2-6) o Add the HorizontalTileVirtualPixelMethod and VerticalTileVirtualPixelMethod VirtualPixelMethod enum values (available in ImageMagick 6.4.2-6) o Add DitherMethod enum class o Added general-purpose OptionalMethodArguments class to handle ad-hoc optional arguments. o Support optional "distort:viewport" and "distort:scale" arguments to Image#distort o Support optional highlight_color and lowlight_color arguments to Image#compare_channel RMagick 2.5.2 o Add support for MergeLayer to Magick::ImageList#optimize_layers (patch #21189, submitted by Andrew Watson) o Add PowQuantumOperator argument for Image#quantum_operator (available in ImageMagick 6.4.1-9) RMagick 2.5.1 o Update Pixel#to_color to work with the new QueryMagickColorname API in ImageMagick 6.4.1-9. RMagick 2.5.0 o Added Image#add_compose_mask, #delete_compose_mask (feature #20531) RMagick 2.4.0 o Added Image#image_type= (feature #20490) RMagick 2.3.0 o Added Image#encipher, Image#decipher (available with ImageMagick 6.3.8-6) o Added DTX1Compression, DTX1Compression, and DTX1Compression CompressionType enums (available in ImageMagick 6.3.9-4) o Added optional "use hex format" argument to Pixel#to_color o Support :area resource type in Magick.limit_resource o Pixel.from_HSL and Pixel#to_HSL are deprecated. Use Pixel.from_hsla and Pixel#to_hsla instead. The new methods rely on the ImageMagick 6.3.5 and later API. o The Image#alpha and alpha= attributes are deprecated. Use alpha() and alpha? instead. o The Image#mask= attribute is deprecated. Use mask() instead. o The use of Ruby older than version 1.8.4 with RMagick is deprecated and will not be supported in a future release. o Fix bug #18271, rvg width and height attributes wrong after a call to viewbox (reported by Greg Jarman) RMagick 2.2.2 o Fix bug #18016, add test for InitializeMagick in libMagickCore to extconf.rb RMagick 2.2.0 o Added Image#opaque_channel, Image#paint_transparent (available with ImageMagick 6.3.7-10) o Added Image#liquid_rescale (available with ImageMagick 6.3.8-2) o Added CMYColorspace ColorspaceType value o Fixed bug #17148, compiler error message on Solaris (bug report by Trever Wennblom) o Fixed bug #17470, get_exif_by_number, get_exif_by_entry may fail when called with one or more arguments RMagick 2.1.0 o Added Image::Info#caption= attribute o Rename Image#crop_resized, #crop_resized! to #resize_to_fill, #resize_to_fill!. Add aliases for the old names. o Fix bug #16776, in the axes.rb example the last 2 arguments to border.rectangle are swapped (bug report by Alain Feler) o Fix bug #16931, apostrophe in #error directive causes error in some versions of GCC (bug report by Justin Dossey) RMagick 2.0.0 o Replaced configure/make/make install with standard Ruby setup.rb, extconf.rb o Removed support for Ruby earlier than 1.8.2 o Removed support for GraphicsMagick. As a result these methods are no longer available: Image#grayscale_pseudo_class, Image#statistics. o Removed support for all releases of ImageMagick earlier than 6.3.0. o Removed deprecated Image#random_channel_threshold. Use Image#random_threshold_channel instead o Removed deprecated Image#channel_threshold. Use Image#random_threshold_channel instead o Removed unecessary Image#montage= o Removed unecessary and undocumented Image#image_type= o Removed deprecated Image::Info#tile_info, tile_info= attributes. o Removed deprecated Image::Info#tile, tile= attributes. Use #extract, #extract= instead o Removed deprecated Image::Info#subimage, subimage= attributes. Use scene, scene= instead o Removed deprecated Image::Info#subrange, subrange= attributes. Use number_scenes, number_scenes= instead o Removed deprecated Magick.set_monitor. Use Image#set_monitor, Image::Info#set_monitor instead o Removed deprecated RunlengthEncodedCompression CompressionType. Use RLECompression instead o Deprecated Image#matte, matte= with ImageMagick 6.3.5 and later o Added Image::Info#stroke=, stroke_width= and undercolor= attributes o Added Image::Info#tile_offset= attribute o Added Draw#fill_pattern= and #stroke_pattern= annotate attributes o Changed Image::Info[] and Image::Info[]= to allow an omitted "format" argument o Added Image#destroy!, destroyed?, check_destroyed methods o Support Image object creation/destruction tracing with the Magick.trace_proc attribute o Added Magick::QuantumRange. Magick::MaxRGB is deprecated. o Added OptimizeTransLayer, RemoveDupsLayer, RemoveZeroLayer, OptimizeImageLayer ImageLayerMethods enum values (available with ImageMagick 6.3.3), MosaicLayer, FlattenLayer (available with ImageMagick 6.3.6) o RMagick works with Q32 version of ImageMagick o Added ChangeMaskCompositeOp, DivideCompositeOp, LinearLightCompositeOp CompositeOperator enum values o Added SplineInterpolatePixel InterpolatePixelMethod enum value o Added DitherVirtualPixelMethod, RandomVirtualPixelMethod, BlackVirtualPixelMethod, GrayVirtualPixelMethod, WhiteVirtualPixelMethod (available with ImageMagick 6.3.5), and MaskVirtualPixelMethod (available with ImageMagick 6.3.3) VirtualPixelMethod enum values o Added GIFInterlace, JPEGInterlace, PNGInterlace Interlace type enum values (available with ImageMagick 6.3.4) o Added SentinelFilter FilterTypes enum value (available in ImageMagick 6.3.6) o Added Image.combine o Added Image#separate (available with ImageMagick 6.3.2) o Added Image#distort (available with ImageMagick 6.3.5) o Added Image#each_pixel (thanks to Russell Norris for the suggestion and code) o Added Image#histogram? (available with ImageMagick 6.3.5) o Added Image#sync_profiles (available with ImageMagick 6.3.2) o Added Image#extent (available with ImageMagick 6.3.1) o Added Image#excerpt, Image#excerpt! (available with ImageMagick 6.3.5) o Added Image::Info#attenuate o Added Image#clut_channel (available with ImageMagick 6.3.5) o Feature Request #16264, added ImageList#composite_layers (available with ImageMagick 6.3.3, request from Steve Martocci) o Added Image#alpha= (available with ImageMagick 6.3.5) o Added Image#gravity= o Added Image#equalize_channel (available with ImageMagick 6.3.6) o Added new FilterTypes values KaiserFilter, WelshFilter, ParzenFilter, LagrangeFilter, BohmanFilter, BartlettFilter (available with ImageMagick 6.3.6) o Fix bug #10339, Image#trim does not support "reset page information option" (bug report from Nobody) o Renamed RMagick.so to RMagick2.so to prevent confusion between RMagick.rb and RMagick.so o Feature Request #16276, re-organize doc to not split Image method pages in the middle of an initial letter (request from Roy Leban) o Updated for ImageMagick 6.3.7-5 o Made changes as necessary to work with current Ruby 1.9.0