Wand Changelog
0.4 series
Version 0.4.4
Released on October 22, 2016.
- Added
BaseError,BaseWarning, andBaseFatalError, base classes for domains. [#292] - Fixed
TypeErrorduring parsing version caused by format change of ImageMagick version string (introduced by 6.9.6.2). [#310, Debian bug report #841548] - Properly fixed again memory-leak when accessing images constructed in
Image.sequence[]. It had still leaked memory in the case an image is not closed usingwithbut manualwand.resource.Resource.destroy()/wand.image.Image.close()method call. [#237]
Version 0.4.3
Released on June 1, 2016.
- Fixed
repr()for emptyImageobjects. [#265] - Added
Image.compare()method (MagickCompareImages()). [#238, #268 by Gyusun Yeom] - Added
Image.pageand related properties for virtual canvas handling. [#284 by Dan Harrison] - Added
Image.merge_layers()method (MagickMergeImageLayers()). [#281 by Dan Harrison] - Fixed
OSErrorduring importlibc.dylibdue to El Capitan’s SIP protection. [#275 by Ramesh Dharan]
Version 0.4.2
Released on November 30, 2015.
- Fixed
ImportErroron MSYS2. [#257 by Eon Jeong] - Added
Image.quantize()method (MagickQuantizeImage()). [#152 by Kang Hyojun, #262 by Jeong YunWon] - Added
Image.transform_colorspace()quantize (MagickTransformImageColorspace()). [#152 by Adrian Jung, #262 by Jeong YunWon] - Now ImageMagick DLL can be loaded on Windows even if its location is stored in the resitry. [#261 by Roeland Schoukens]
- Added
depthparameter toImageconstructor. Thedepth,widthandheightparameters can be used with thefilename,fileandblobparameters to load raw pixel data. [#261 by Roeland Schoukens]
Version 0.4.1
Released on August 3, 2015.
- Added
Image.auto_orient()that fixes orientation by checking EXIF tags. - Added
Image.transverse()method (MagickTransverseImage()). - Added
Image.transpose()method (MagickTransposeImage()). - Added
Image.evaluate()method. - Added
Image.frame()method. - Added
Image.function()method. - Added
Image.fx()expression method. - Added
gravityoptions inImage.crop()method. [#222 by Eric McConville] - Added
Image.matte_colorproperty. - Added
Image.virtual_pixelproperty. - Added
Image.distort()method. - Added
Image.contrast_stretch()method. - Added
Image.gamma()method. - Added
Image.linear_stretch()method. - Additional support for
Image.alpha_channel. - Additional query functions have been added to
wand.versionAPI. [#120]- Added
configure_options()function. - Added
fonts()function. - Added
formats()function.
- Added
- Additional IPython support. [#117]
- Fixed memory-leak when accessing images constructed in
Image.sequence[]. [#237 by Eric McConville] - Fixed Windows memory-deallocate errors on
wand.drawingAPI. [#226 by Eric McConville] - Fixed
ImportErroron FreeBSD. [#252 by Pellaeon Lin]
Version 0.4.0
Released on February 20, 2015.
See also
- What’s new in Wand 0.4?
- This guide introduces what’s new in Wand 0.4.
- Complete
wand.drawingAPI. The whole work was done by Eric McConville. Huge thanks for his effort! [#194 by Eric McConville]- Added
Drawing.arc()method (Arc). - Added
Drawing.bezier()method (Bezier). - Added
Drawing.circle()method (Circle). - Color & Matte
- Added
wand.drawing.PAINT_METHOD_TYPESconstant. - Added
Drawing.color()method. - Added
Drawing matte()method.
- Added
- Added
Drawing.composite()method (Composite). - Added
Drawing.ellipse()method (Ellipse). - Paths
- Added
path_start()method. - Added
path_finish()method. - Added
path_close()method. - Added
path_curve()method. - Added
path_curve_to_quadratic_bezier()method. - Added
path_elliptic_arc()method. - Added
path_horizontal_line()method. - Added
path_line()method. - Added
path_move()method. - Added
path_vertical_line()method.
- Added
- Added
Drawing.point()method (Point). - Added
Drawing.polygon()method (Polygon). - Added
Drawing.polyline()method (Polyline). - Push & Pop
- Added
push()method. - Added
push_clip_path()method. - Added
push_defs()method. - Added
push_pattern()method. - Added
clip_pathproperty. - Added
set_fill_pattern_url()method. - Added
set_stroke_pattern_url()method. - Added
pop()method.
- Added
- Added
Drawing.rectangle()method (Rectangles). - Added
stroke_dash_arrayproperty. - Added
stroke_dash_offsetproperty. - Added
stroke_line_capproperty. - Added
stroke_line_joinproperty. - Added
stroke_miter_limitproperty. - Added
stroke_opacityproperty. - Added
stroke_widthproperty. - Added
fill_opacityproperty. - Added
fill_ruleproperty.
- Added
- Error message of
MissingDelegateErrorraised byImage.liquid_rescale()became nicer.
0.3 series
Version 0.3.9
Released on December 20, 2014.
- Added
'pdf:use-cropbox'option toImage.optionsdictionary (andOPTIONSconstant). [#185 by Christoph Neuroth] - Fixed a bug that exception message was
bytesinstead ofstron Python 3. - The
sizeparameter ofFontclass becomes optional. Its default value is 0, which means autosized. [#191 by Cha, Hojeong] - Fixed a bug that
Image.read()had tried usingMagickReadImageFile()even when the given file object has nomodeattribute. [#205 by Stephen J. Fuhry]
Version 0.3.8
Released on August 3, 2014.
- Fixed a bug that transparent background becomes filled with white when SVG is converted to other bitmap image format like PNG. [#184]
- Added
Image.negate()method. [#174 by Park Joon-Kyu] - Fixed a segmentation fault on
Image.modulate()method. [#173 by Ted Fung, #158] - Added suggestion to install freetype also if Homebrew is used. [#141]
- Now image/x-gif also is determined as
animation. [#181 by Juan-Pablo Scaletti]
Version 0.3.7
Released on March 25, 2014.
- A hotfix of debug prints made at 0.3.6.
Version 0.3.6
Released on March 23, 2014.
- Added
Drawing.rectangle()method. Now you can draw rectangles. [#159] - Added
Image.compressionproperty. [#171] - Added
contextlib.nested()function towand.compatmodule. - Fixed
UnicodeEncodeErrorwhenDrawing.text()method gives Unicodetextargument in Python 2. [#163] - Now it now allows to use Wand when Python is invoked with the
-OOflag. [#169 by Samuel Maudo]
Version 0.3.4
Released on September 9, 2013.
- Added
Image.modulate()method. [#134 by Dan P. Smith] - Added
Image.colorspaceproperty. [#135 by Volodymyr Kuznetsov] - Added
Image.unsharp_mask()method. [#136 by Volodymyr Kuznetsov] - Added
'jpeg:sampling-factor'option toImage.optionsdictionary (andOPTIONSconstant). [#137 by Volodymyr Kuznetsov] - Fixed ImageMagick shared library resolution on Arch Linux. [#139, #140 by Sergey Tereschenko]
- Added
Image.sample()method. [#142 by Michael Allen] - Fixed a bug that
Image.save()preserves only one frame of the given animation when file-like object is passed. [#143, #145 by Michael Allen] - Fixed searching of ImageMagick shared library with HDR support enabled. [#148, #149 by Lipin Dmitriy]
Version 0.3.3
Released on August 4, 2013. It’s author’s birthday.
- Added
Image.gaussian_blur()method. - Added
Drawing.stroke_colorproperty. [#129 by Zeray Rice] - Added
Drawing.stroke_widthproperty. [#130 by Zeray Rice] - Fixed a memory leak of
Colorclass. [#127 by Wieland Morgenstern] - Fixed a bug that
Image.save()to stream truncates data. [#128 by Michael Allen] - Fixed broken
display()on Python 3. [#126]
Version 0.3.2
Released on July 11, 2013.
- Fixed incorrect encoding of filenames. [#122]
- Fixed key type of
Image.metadatadictionary tostrfrombytesin Python 3. - Fixed CentOS compatibility [#116, #124 by Pierre Vanliefland]
- Made
DrawSetTextInterlineSpacing()andDrawGetTextInterlineSpacing()optional. - Added exception in drawing API when trying to use
DrawSetTextInterlineSpacing()andDrawGetTextInterlineSpacing()functions when they are not available. - Added
WandLibraryVersionErrorclass for library versions issues.
- Made
Version 0.3.1
Released on June 23, 2013.
- Fixed
ImportErroron Windows.
Version 0.3.0
Released on June 17, 2013.
See also
- What’s new in Wand 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
wand.drawingmodule. [#64 by Adrian Jung] - Added
Drawing.get_font_metrics()method. [#69, #71 by Cha, Hojeong] - Added
Image.caption()method. [#74 by Cha, Hojeong] - Added optional
colorparameter toImage.trim()method. - Added
Image.border()method. [2496d37f75d75e9425f95dde07033217dc8afefc by Jae-Myoung Yu] - Added
resolutionparameter toImage.read()method and the constructor ofImage. [#75 by Andrey Antukh] - Added
Image.liquid_rescale()method which does seam carving. See also Seam carving (also known as content-aware resizing). - Added
Image.metadataimmutable mapping attribute andMetadatamapping type for it. [#56 by Michael Elovskikh] - Added
Image.channel_imagesimmutable mapping attribute andChannelImageDictmapping for it. - Added
Image.channel_depthsimmutable mapping attribute andChannelDepthDictmapping for it. - Added
Image.composite_channel()method. - Added
Image.read()method. [#58 by Piotr Florczyk] - Added
Image.resolutionproperty. [#58 by Piotr Florczyk] - Added
Image.blank()method. [#60 by Piotr Florczyk] - Fixed several memory leaks. [#62 by Mitch Lindgren]
- Added
ImagePropertymixin class to maintain a weak reference to the parent image. - Ranamed
wand.image.COMPOSITE_OPStoCOMPOSITE_OPERATORS. - Now it shows helpful error message when ImageMagick library cannot be found.
- Added IPython-specialized formatter.
- Added
QUANTUM_DEPTHconstant. - Added these properties to
Colorclass: - Added
Image.normalize()method. [#95 by Michael Curry] - Added
Image.transparent_color()method. [#98 by Lionel Koenig] - Started supporting resizing and cropping of GIF images. [#88 by Bear Dong, #112 by Taeho Kim]
- Added
Image.flip()method. - Added
Image.flop()method. - Added
Image.orientationproperty. [88574468a38015669dae903185fb328abdd717c0 by Taeho Kim] wand.resource.DestroyedResourceErrorbecomes a subtype ofwand.exceptions.WandException.Coloris now hashable, so can be used as a key of dictionaries, or an element of sets. [#114 by klutzy]Colorhasnormalized_stringproperty.Imagehashistogramdictionary.- Added optional
fuzzparameter toImage.trim()method. [#113 by Evaldo Junior]
0.2 series
Version 0.2.4
Released on May 28, 2013.
- Fix
NameErrorinResource.resourcesetter. [#89 forwareded from Debian bug report #699064 by Jakub Wilk] - Fix the problem of library loading for Mac with Homebrew and Arch Linux. [#102 by Roel Gerrits, #44]
Version 0.2.3
Released on January 25, 2013.
- Fixed a bug that
Image.transparentize()method (andImage.watermark()method which internally uses it) didn’t work. - Fixed segmentation fault occurred when
Color.red,Color.green, orColor.blueis accessed. - Added
Color.alphaproperty. - Fixed a bug that format converting using
Image.formatproperty orImage.convert()method doesn’t correctly work to save blob.
Version 0.2.2
Released on September 24, 2012.
- A compatibility fix for FreeBSD. [Patch by Olivier Duchateau]
- Now
Imagecan be instantiated without any opening. Instead, it can takewidth/heightandbackground. [#53 by Michael Elovskikh] - Added
Image.transform()method which is a convenience method accepting geometry strings to perform cropping and resizing. [#50 by Mitch Lindgren] - Added
Image.unitsproperty. [#45 by Piotr Florczyk] - Now
Image.resize()method raises a proper error when it fails for any reason. [#41 by Piotr Florczyk] - Added
Image.typeproperty. [#33 by Yauhen Yakimovich, #42 by Piotr Florczyk]
Version 0.2.1
Released on August 19, 2012. Beta version.
- Added
Image.trim()method. [#26 by Jökull Sólberg Auðunsson] - Added
Image.depthproperty. [#31 by Piotr Florczyk] - Now
Imagecan take an optionalformathint. [#32 by Michael Elovskikh] - Added
Image.alpha_channelproperty. [#35 by Piotr Florczyk] - The default value of
Image.resize()’sfilteroption has changed from'triangle'to'undefined'. [#37 by Piotr Florczyk] - Added version data of the linked ImageMagick library into
wand.versionmodule:MAGICK_VERSION(GetMagickVersion())MAGICK_VERSION_INFO(GetMagickVersion())MAGICK_VERSION_NUMBER(GetMagickVersion())MAGICK_RELEASE_DATE(GetMagickReleaseDate())MAGICK_RELEASE_DATE_STRING(GetMagickReleaseDate())
Version 0.2.0
Released on June 20, 2012. Alpha version.
- Added
Image.transparentize()method. [#19 by Jeremy Axmacher] - Added
Image.composite()method. [#19 by Jeremy Axmacher] - Added
Image.watermark()method. [#19 by Jeremy Axmacher] - Added
Image.quantum_rangeproperty. [#19 by Jeremy Axmacher] - Added
Image.reset_coords()method andreset_coordsoption toImage.rotate()method. [#20 by Juan Pablo Scaletti] - Added
Image.strip()method. [#23 by Dmitry Vukolov] - Added
Image.compression_qualityproperty. [#23 by Dmitry Vukolov] - Now the current version can be found from the command line interface:
python -m wand.version.
0.1 series
Version 0.1.10
Released on May 8, 2012. Still alpha version.
- So many Windows compatibility issues are fixed. [#14 by John Simon]
- Added
wand.api.libmagick. - Fixed a bug that raises
AttributeErrorwhen it’s trying to warn. [#16 by Tim Dettrick] - Now it throws
ImportErrorinstead ofAttributeErrorwhen the shared library fails to load. [#17 by Kieran Spear] - Fixed the example usage on index page of the documentation. [#18 by Jeremy Axmacher]
Version 0.1.9
Released on December 23, 2011. Still alpha version.
- Now
wand.version.VERSION_INFObecomestupleandwand.version.VERSIONbecomes a string. - Added
Image.background_colorproperty. - Added
==operator forImagetype. - Added
hash()support ofImagetype. - Added
Image.signatureproperty. - Added
wand.displaymodule. - Changed the theme of Sphinx documentation.
- Changed the start example of the documentation.
Version 0.1.8
Released on December 2, 2011. Still alpha version.
- Wrote some guide documentations: Reading images, Writing images and Resizing and cropping.
- Added
Image.rotate()method for in-place rotation. - Made
Image.crop()to raise properValueErrorinstead ofIndexErrorfor invalid width/height arguments. - Changed the type of
Image.resize()method’sblurparameter fromnumbers.Rationaltonumbers.Real. - Fixed a bug of raising
ValueErrorwhen invalidfilterhas passed toImage.resize()method.
Version 0.1.7
Released on November 10, 2011. Still alpha version.
- Added
Image.mimetypeproperty. - Added
Image.crop()method for in-place crop.
Version 0.1.6
Released on October 31, 2011. Still alpha version.
- Removed a side effect of
Image.make_blob()method that changes the image format silently. - Added
Image.formatproperty. - Added
Image.convert()method. - Fixed a bug about Python 2.6 compatibility.
- Use the internal representation of
PixelWandinstead of the string representaion forColortype.
Version 0.1.5
Released on October 28, 2011. Slightly mature alpha version.
- Now
Imagecan read Python file objects byfilekeyword argument. - Now
Image.save()method can write into Python file objects byfilekeyword argument. Image.make_blob()’sformatargument becomes omittable.
Version 0.1.4
Released on October 27, 2011. Hotfix of the malformed Python package.
Version 0.1.3
Released on October 27, 2011. Slightly mature alpha version.
Version 0.1.2
Released on October 16, 2011. Still alpha version.
Imageimplements iterable interface.- Added
wand.colormodule. - Added the abstract base class of all Wand resource objects:
wand.resource.Resource. Imageimplements slicing.- Cropping
Imageusing its slicing operator.
Version 0.1.1
Released on October 4, 2011. Still alpha version.
- Now it handles errors and warnings properly and in natural way of Python.
- Added
Image.make_blob()method. - Added
blobparameter intoImageconstructor. - Added
Image.resize()method. - Added
Image.save()method. - Added
Image.clone()method. - Drawed the pretty logo picture (thanks to Hyojin Choi).
Version 0.1.0
Released on October 1, 2011. Very alpha version.