-------------
Released on June 17, 2013.
.. seealso::
:doc:`whatsnew/0.3`
This guide introduces what's new in Wand 0.3.
- Now also works on Python 2.6, 2.7, and 3.2 or higher.
- Added :mod:`wand.drawing` module. [:issue:`64` by Adrian Jung]
- Added :meth:`Drawing.get_font_metrics()
<wand.drawing.Drawing.get_font_metrics>` method.
[:issue:`69`, :issue:`71` by Cha, Hojeong]
- Added :meth:`Image.caption() <wand.image.BaseImage.caption>` method.
[:issue:`74` by Cha, Hojeong]
- Added optional ``color`` parameter to :meth:`Image.trim()
<wand.image.Image.trim>` method.
- Added :meth:`Image.border() <wand.image.Image.border>` method.
[:commit:`2496d37f75d75e9425f95dde07033217dc8afefc` by Jae-Myoung Yu]
- Added ``resolution`` parameter to :meth:`Image.read() <wand.image.Image.read>`
method and the constructor of :class:`~wand.image.Image`.
[:issue:`75` by Andrey Antukh]
- Added :meth:`Image.liquid_rescale() <wand.image.BaseImage.liquid_rescale>`
method which does `seam carving`__. See also :ref:`seam-carving`.
- Added :attr:`Image.metadata <wand.image.Image.metadata>` immutable mapping
attribute and :class:`~wand.image.Metadata` mapping type for it.
[:issue:`56` by Michael Elovskikh]
- Added :attr:`Image.channel_images <wand.image.Image.channel_images>`
immutable mapping attribute and :class:`~wand.image.ChannelImageDict`
mapping for it.
- Added :attr:`Image.channel_depths <wand.image.Image.channel_depths>`
immutable mapping attribute and :class:`~wand.image.ChannelDepthDict`
mapping for it.
- Added :meth:`Image.composite_channel()
<wand.image.BaseImage.composite_channel>` method.
- Added :meth:`Image.read() <wand.image.Image.read>` method.
[:issue:`58` by Piotr Florczyk]
- Added :attr:`Image.resolution <wand.image.BaseImage.resolution>` property.
[:issue:`58` by Piotr Florczyk]
- Added :meth:`Image.blank() <wand.image.Image.blank>` method.
[:issue:`60` by Piotr Florczyk]
- Fixed several memory leaks. [:issue:`62` by Mitch Lindgren]
- Added :class:`~wand.image.ImageProperty` mixin class to maintain
a weak reference to the parent image.
- Ranamed :const:`wand.image.COMPOSITE_OPS` to
:const:`~wand.image.COMPOSITE_OPERATORS`.
- Now it shows helpful error message when ImageMagick library cannot be
found.
- Added IPython-specialized formatter.
- Added :const:`~wand.version.QUANTUM_DEPTH` constant.
- Added these properties to :class:`~wand.color.Color` class:
- :attr:`~wand.color.Color.red_quantum`
- :attr:`~wand.color.Color.green_quantum`
- :attr:`~wand.color.Color.blue_quantum`
- :attr:`~wand.color.Color.alpha_quantum`
- :attr:`~wand.color.Color.red_int8`
- :attr:`~wand.color.Color.green_int8`
- :attr:`~wand.color.Color.blue_int8`
- :attr:`~wand.color.Color.alpha_int8`
- Added :meth:`Image.normalize() <wand.image.Image.normalize>` method.
[:issue:`95` by Michael Curry]
- Added :meth:`Image.transparent_color()
<wand.image.BaseImage.transparent_color>` method.
[:issue:`98` by Lionel Koenig]
- Started supporting resizing and cropping of GIF images.
[:issue:`88` by Bear Dong, :issue:`112` by Taeho Kim]
- Added :meth:`Image.flip() <wand.image.BaseImage.flip>` method.
- Added :meth:`Image.flop() <wand.image.BaseImage.flop>` method.
- Added :attr:`Image.orientation <wand.image.BaseImage.orientation>` property.
[:commit:`88574468a38015669dae903185fb328abdd717c0` by Taeho Kim]
- :exc:`wand.resource.DestroyedResourceError` becomes a subtype of
:exc:`wand.exceptions.WandException`.
- :class:`~wand.color.Color` is now hashable, so can be used as a key of
dictionaries, or an element of sets. [:issue:`114` by klutzy]
- :class:`~wand.color.Color` has :attr:`~wand.color.Color.normalized_string`
property.
- :class:`~wand.image.Image` has :attr:`~wand.image.BaseImage.histogram`
dictionary.
- Added optional ``fuzz`` parameter to :meth:`Image.trim()
<wand.image.Image.trim>` method. [:issue:`113` by Evaldo Junior]
__ http://en.wikipedia.org/wiki/Seam_carving