./graphics/py-wand, Ctypes-based simple ImageMagick binding for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6.9, Package name: py310-wand-0.6.9, Maintainer: pkgsrc-users

Wand is a ctypes-based simple ImageMagick binding for Python.


Required to run:
[graphics/ImageMagick] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 11606.521 KB

Version history: (Expand)


CVS history: (Expand)


   2022-08-05 10:04:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wand: updated to 0.6.9

Version 0.6.9
Updated Image.fx() method to raise WandRuntimeError if ImageMagick is unable to \ 
generate an image.
Fixed Image.from_array() classmethod to handle Numpy’s strided arrays.
Fixed segmentation fault introduced with ImageMagick 7.1.0-45.
   2022-08-01 10:06:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wand: updated to 0.6.8

Version 0.6.8
-------------
- Added :meth:`Image.label() <wand.image.BaseImage.label>` method.
- Added :meth:`Image.region() <wand.image.BaseImage.region>` method.
- Updated :meth:`Image.chop() <wand.image.BaseImage.chop>` method to \ 
support ``gravity`` keyword.
- Updated :meth:`Image.extent() <wand.image.BaseImage.extent>` method to \ 
support ``gravity`` keyword. [:issue:`554`]
- Added `.so.9` shared library suffix to :meth:`wand.api.library_paths()` \ 
generator when searching :const:`MAGICK_HOME` path.
- Added :const:`QUANTUM_SCALE <wand.version.QUANTUM_SCALE>` constant.
- Added :meth:`Image.montage() <wand.image.Image.montage>` method. \ 
[:issue:`575`]
- Added :meth:`Image.roll() <wand.image.BaseImage.roll>` method.
- Fixed returned values for :meth:`Image.connected_components() \ 
<wand.image.BaseImage.connected_components>` method for ImageMagick 7.1.1. \ 
[:issue:`574`]
- Fixed :c:func:`MagickSetImageDepth()` C-API method signature. [:issue:`577` by \ 
Pavel Borzenkov]
- Fixed :meth:`Image.encipher() <wand.image.BaseImage.encipher>` method to \ 
call the correct API. [:issue:`578` by Pavel Borzenkov]
- [DOC] Improved :class:`~wand.drawing.FontMetrics` documentation. [:issue:`566`]
- [TEST] Migrated CI from `travis-ci.org \ 
<https://travis-ci.org/github/emcconville/wand>`_ to `travis-ci.com \ 
<https://app.travis-ci.com/emcconville/wand>`_.
- [TEST] Removed unneeded SVG dependency from regression test.
- [TEST] Suppressed :class:`~wand.exceptions.OptionWarning` when testing user errors.
- [TEST] Added Python 3.9 regression test for `travis-ci.com \ 
<https://app.travis-ci.com/emcconville/wand>`_.
- [TEST] Removed Python 3.7 & 3.8 regression test for `travis-ci.com \ 
<https://app.travis-ci.com/emcconville/wand>`_.
- [TEST] Added Python 3.10 regression tests for `github actions \ 
<https://github.com/emcconville/wand/actions>`_.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-03-05 14:43:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wand: updated to 0.6.6

Version 0.6.6
-------------
- Added :meth:`Image.get_image_distortion() \ 
<wand.image.BaseImage.get_image_distortion>` method.
- Fixed `QuantumType` allocation for 32-bit architectures using HDRI.
- Fixed `MagickSizeType` allocation for \ 
:meth:`ResourceLimits.set_resource_limit() \ 
<wand.resource.ResourceLimits.set_resource_limit>` and segfault with \ 
``armv7l`` architecture.
- Fixed :class:`~wand.color.Color` deallocation error on 32-bit architectures.
- Deprecated :meth:`wand.color.scale_quantum_to_int8()`
- [TEST] Deprecated PDF format from test assets.
- [TEST] Deprecated :class:`~wand.drawing.Drawing` test `fx_wand` fixture to \ 
improve parallel CI testing.
- [TEST] Marked all ImageMagick-7 features skipped when running test suite with \ 
ImageMagick-6.
   2020-12-07 10:24:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wand: updated to 0.6.5

Version 0.6.5
-------------
 - Fixed memory allocation & deallocation bugs with PyPy3, and various \ 
memory leaks identified during regression testing.
 - [TEST] Added Python 3.9 into Github regression tests.

Version 0.6.4
-------------
 - Fixed `MagickFloatType` mapping for **s390x** architecture.
 - Fixed image order when calling :meth:`wand.sequence.Sequence.__setitem__()` \ 
method.
 - Fixed :meth:`Image.gaussian_blur() \ 
<wand.image.BaseImage.gaussian_blur>` method with ``channel`` parameter.
 - Added :meth:`Image.color_threshold() \ 
<wand.image.BaseImage.color_threshold>` method.
 - Added :meth:`Image.convex_hull() <wand.image.BaseImage.convex_hull>` \ 
method. Requires ImageMagick-7.0.10 or above.
 - Added :meth:`Image.kmeans() <wand.image.BaseImage.kmeans>` method. Only \ 
available with ImageMagick-7.0.10-37 or later.
 - Added :meth:`Image.minimum_bounding_box() \ 
<wand.image.BaseImage.minimum_bounding_box>` method. Requires \ 
ImageMagick-7.0.10 or above;
 - Added :meth:`Image.white_balance() \ 
<wand.image.BaseImage.white_balance>` method. Only available with \ 
ImageMagick-7.0.10-37 or later.
 - Added ``percent_background`` & ``background_color`` parameters to \ 
:meth:`Image.trim() <wand.image.BaseImage.trim>` method.
 - Added the following arguments to :meth:`Image.connected_components() \ 
<wand.image.BaseImage.connected_components>`:

   - ``angle_threshold``
   - ``background_id``
   - ``circularity_threshold``
   - ``diameter_threshold``
   - ``eccentricity_threshold``
   - ``keep_colors``
   - ``keep_top``
   - ``major_axis_threshold``
   - ``minor_axis_threshold``
   - ``perimeter_threshold``
   - ``remove_colors``

 - Added ``'inverse_log'`` operator to :meth:`Image.evaluate() \ 
<wand.image.BaseImage.evaluate>` method.
 - Added ``'rigidaffine'`` operator to :meth:`Image.distort() \ 
<wand.image.BaseImage.distort>` method. Requires ImageMagick-7.0.10 or \ 
above.
 - Added :class:`PAPERSIZE_MAP <wand.image.PAPERSIZE_MAP>` dict as a \ 
convenience lookup table.
 - Added support for setting :attr:`Image.page \ 
<wand.image.BaseImage.page>` attribute with papersizes defined in \ 
:class:`~wand.image.PAPERSIZE_MAP`.
 - [DOC] Created :doc:`Threshold <./guide/threshold>` guide.
 - [DOC] Created :doc:`Quantize <./guide/quantize>` guide.

Version 0.6.3
-------------
 - Fixed buffer overflow bug in :meth:`Image.connected_components() \ 
<wand.image.BaseImage.connected_components>` method.
 - Added :meth:`Image.data_url() <wand.image.Image.data_url>` method.
 - Added :attr:`Image.sampling_factors \ 
<wand.image.BaseImage.sampling_factors>` property.
 - Added :meth:`Image.encipher() <wand.image.BaseImage.encipher>` & \ 
:meth:`Image.decipher() <wand.image.BaseImage.decipher>` methods.
 - Argument ``fuzz`` for :meth:`Image.transparent_color() \ 
<wand.image.BaseImage.transparent_color>` now accepts \ 
:class:`numbers.Real` numbers.
 - Uniformed additional pre-read parameters between :meth:`Image.__init__()` \ 
& :meth:`Image.read()`.
   2020-07-07 07:24:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-wand: updated to 0.6.2

Version 0.6.2

Added aspect cropping support for Image.transform() method.
Added iterator methods to directly navigate the internal image-stack.
Image.iterator_first()
Image.iterator_get()
Image.iterator_last()
Image.iterator_length()
Image.iterator_next()
Image.iterator_previous()
Image.iterator_reset()
Image.iterator_set()
Added gray & cmyk support for Numpy’s array interface.
Fixed display() on Windows & MacOS when previewing MIFF & XC formats.
Fixed memory leak in Image.transform() for ImageMagick-6.
Fixed animation preservation with Image.transform() method.
Fixed Image.interlace_scheme property.
[DOC] Make the documentation reproducible.

Version 0.6.1

Fixed RuntimeError on deallocation when allocation_map changes.

Version 0.6.0

Updated numpy array interface methods to accept / generate shape data values as \ 
rows, columns, and channels. This change should match other python-image numpy \ 
integrations.
Added adjoin= argument to Image.save() method.
Added reset_coords= argument to Image.trim() method.
Added support for atexit’s shutdown routine.
Added Python 2 classifiers to MANIFEST.in.
Added both test-cases and documentation to source distribution packages.
Removed README.rst from setup.py.
Rewrote memory allocation manager.
Fixed segfault on macOS when invoking resource limits without calling \ 
MagickWandGenesis().
Fixed grayscalealpha spelling.
Fixed Image.deskew() threshold argument.
Fixed Image.alpha_channel property to apply changes to all images in the stack.
Fixed Image.trim() paging offsets affected by 1x1 border.
[TEST] Updated Travis CI environment to Ubuntu 18.04.04 LTS (Bionic)
[TEST] Deprecated display fixtures.