Commit graph

5 commits

Author SHA1 Message Date
taca
7ba4edacc8 graphics/php-imagick: update to 3.4.4
pkgsrc change: make DESCR pkglint clean.


3.4.4 (2019-05-02)

- The 3.4.4 release is intended to be the last release (other than small
  bug fixes) that will support either PHP 5.x, or ImageMagick 6.x. The
  next planned release will be PHP > 7.0 and ImageMagick > 7.0 at least,
  if not higher.

- Added:
  * function Imagick::optimizeImageTransparency()
  * METRIC_STRUCTURAL_SIMILARITY_ERROR
  * METRIC_STRUCTURAL_DISSIMILARITY_ERROR
  * COMPRESSION_ZSTD - https://github.com/facebook/zstd
  * COMPRESSION_WEBP
  * CHANNEL_COMPOSITE_MASK
  * FILTER_CUBIC_SPLINE - "Define the lobes with the -define
    filter:lobes={2,3,4} (reference
    https://imagemagick.org/discourse-server/viewtopic.php?f=2&t=32506)."
  * Imagick now explicitly conflicts with the Gmagick extension.

- Fixes:

  * Correct version check to make RemoveAlphaChannel and
    FlattenAlphaChannel be available when using Imagick with ImageMagick
    version 6.7.8-x
  * Bug 77128 - Imagick::setImageInterpolateMethod() not available on Windows
  * Prevent memory leak when ImagickPixel::__construct called after object
    instantiation.
  * Prevent segfault when ImagickPixel internal constructor not called.
  * Imagick::setResourceLimit support for values larger than 2GB (2^31) on
    32bit platforms.
  * Corrected memory overwrite in Imagick::colorDecisionListImage()
  * Bug 77791 - ImagickKernel::fromMatrix() out of bounds write.

- Deprecated:

  * The following functions have been deprecated:

	ImagickDraw, matte
	Imagick::averageimages
	Imagick::colorfloodfillimage
	Imagick::filter
	Imagick::flattenimages
	Imagick::getimageattribute
	Imagick::getimagechannelextrema
	Imagick::getimageclipmask
	Imagick::getimageextrema
	Imagick::getimageindex
	Imagick::getimagematte
	Imagick::getimagemattecolor
	Imagick::getimagesize
	Imagick::mapimage
	Imagick::mattefloodfillimage
	Imagick::medianfilterimage
	Imagick::mosaicimages
	Imagick::orderedposterizeimage
	Imagick::paintfloodfillimage
	Imagick::paintopaqueimage
	Imagick::painttransparentimage
	Imagick::radialblurimage
	Imagick::recolorimage
	Imagick::reducenoiseimage
	Imagick::roundcornersimage
	Imagick::roundcorners
	Imagick::setimageattribute
	Imagick::setimagebias
	Imagick::setimageclipmask
	Imagick::setimageindex
	Imagick::setimagemattecolor
	Imagick::setimagebiasquantum
	Imagick::setimageopacity
	Imagick::transformimage
2020-03-23 16:12:11 +00:00
maya
5195fff0d1 php-imagick: update to 3.4.3
This brings PHP7.1 support.
Full changelog: https://pecl.php.net/package-changelog.php?package=imagick&release=3.4.3

From mmoll in https://github.com/NetBSD/pkgsrc/pull/16

Own changes: add test target. note some of it failed with PHP 7.1.
2017-09-26 11:37:43 +00:00
fhajny
68568006a1 Update graphics/php-imagick to 3.4.2.
This fixes build with modern ImageMagick and with PHP 7.0 too.

3.4.2
- Bug: IM143 Correct ifdef around setOpacity and
  localContrastImage.
- Bug: IM147 Imagick was Borging PHP's error handler.

3.4.1
- Bug 71742 - arrays that contain data that is held by reference
  gives error.
- Added:
  * Imagick::autoGammaImage([int channel = CHANNEL_ALL])
  * Imagick::autoOrient()
  * Imagick::compositeImageGravity(Imagick $image, int
  * COMPOSITE_CONSTANT, int GRAVITY_CONSTANT)
  * Imagick::localContrastImage(float radius, float strength)
  * Imagick::DIRECTION_LEFT_TO_RIGHT
  * Imagick::DIRECTION_RIGHT_TO_LEFT
  * Imagick::SPARSECOLORMETHOD_MANHATTAN
  * ImagickDraw::getOpacity() : float
  * ImagickDraw::setOpacity(float opacity) :bool
  * ImagickDraw::getFontResolution() : array
  * ImagickDraw::setFontResolution(float x, float y) : bool
  * ImagickDraw::getTextDirection() : bool
  * ImagickDraw::setTextDirection(int direction) : bool
  * ImagickDraw::getBorderColor() : ImagickPixel
  * ImagickDraw::setBorderColor(ImagickPixel color) : bool
  * ImagickDraw::getDensity() : string|null
  * ImagickDraw::setDensity(string density_string) : bool
  * ImagickPixel::setColorFromPixel(ImagickPixel $srcPixel) : bool

3.4.0
- No changes from 3.4.0RC6.

3.4.0RC6
- Added Imagick::evaluateImages(int EVALUATE_CONSTANT) : Imagick
- Imagick::setImageWhitePoint, Imagick::setImageRedPrimary,
  Imagick::setImageGreenPrimary, Imagick::setImageBluePrimary now
  take 3 params when compiled against IM7.
- Imagick::getImageWhitePoint, Imagick::getImageRedPrimary,
  Imagick::getImageGreenPrimary, Imagick::getImageBluePrimary now
  return 3 values when compiled against IM7.

3.4.0RC5
- Imagick::subImageMatch() added parameters.
- wrong type for zend_parse_parameters.

3.4.0RC4
- Remove duplicated definitions of class constants.

3.4.0RC3
- Imagick::adaptiveResizeImage, Imagick::cropThumbnailImage
  Imagick::resizeImage, Imagick::scaleImage, and
  Imagick::thumbnailImage have all had a rounding bug fixed.
- Imagick::colorizeImage() and Imagick::tintImage were using the
  wrong behaviour.
- Imagick::importImagePixels regression fixed.
- Imagick::subImageMatch use correct error metric in IM7
- Added Imagick::similarityImage() which is an alias to
  Imagick::subImageMatch()

3.4.0RC2
- PHP 7
- ImageMagick 7.
- Minimum versions supported are now PHP >= 5.4.0 and ImageMagick
  >= 6.5.3-10.
- Added methods:
  * Imagick::getConfigureOptions
  * Imagick::getFeatures
  * Imagick::getHDRIEnabled
  * Imagick::setImageChannelMask (IM7 only)
- Added constants:
  * Imagick::CHANNEL_READ_MASK
  * Imagick::CHANNEL_WRITE_MASK
  * Imagick::CHANNEL_META
- ImagickPixel::getColorQuantum,
  ImagickPixel::getColorValueQuantum and
  ImagickPixel::setColorValueQuantum now correctly use floats when
  Imagick was compiled against a HDRI version of ImageMagick
- Imagick::exportImagePixels works for all storage types
- Version number in extension header

3.3.0
- Added ImagickKernel class.
- Added methods:
  * Imagick::brightnessContrastImage()
  * Imagick::colorMatrixImage()
  * Imagick::deleteImageProperty()
  * Imagick::filter()
  * Imagick::forwardFourierTransformImage()
  * Imagick::getAntiAlias()
  * Imagick::getImageCompression()
  * Imagick::getRegistry()
  * Imagick::getQuantum()
  * Imagick::identifyFormat()
  * Imagick::inverseFourierTransformImage()
  * Imagick::isPixelSimilarQuantum()
  * Imagick::listRegistry()
  * Imagick::morphology()
  * Imagick::rotationalBlurImage()
  * Imagick::selectiveBlurImage()
  * Imagick::setAntiAlias()
  * Imagick::setImageBiasQuantum()
  * Imagick::setProgressMonitor()
  * Imagick::setRegistry()
  * Imagick::statisticImage()
  * Imagick::subImageMatch()
  * ImagickPixel::getColorQuantum()
- Added constants:
  * Imagick::RESOURCETYPE_TIME
  * Imagick::RESOURCETYPE_THROTTLE
  * Imagick::CHANNEL_RGBA
  * Imagick::ALPHACHANNEL_BACKGROUND
  * Imagick::FUNCTION_ARCSIN
  * Imagick::FUNCTION_ARCTAN
- Fixed Imagick::clutImage() parameter parsing
- Fixed tint image bug
- Fixed ImageMagick compiled with HDRI having quantum values as
  floats
- Fixed memory leaks in:
  * Imagick::getImageBlob()
  * Imagick::getImagesBlob()
  * Imagick::getImageChannelStatistics()
  * Imagick::getImageFormat()
  * Imagick::getImageMimetype()
  * Imagick::getSamplingFactors()
  * Imagick::identifyImage()
  * Imagick::tintImage
- Fixed segfault when compiling statically
- ImagickDraw::setFontFamily no longer checks whether the font is
  available.
- Removed Zend MM support
- Excluded deprecated methods:
  * Imagick::getImageMatte()
  * Imagick::colorFloodfillImage()
  * Imagick::matteFloodfillImage()
  * Imagick::paintFloodfillImage()
  * Imagick::paintOpaqueImage()
  * Imagick::paintTransparentImage()
  * Imagick::mapImage()
  * Imagick::recolorImage()
  * Imagick::setImageIndex()
  * Imagick::getImageIndex()
  * Imagick::getImageSize()
  * Imagick::setImageAttribute()
  * Imagick::getImageAttribute()
  * Imagick::mosaicImages()
  * Imagick::averageImages()
  * Imagick::flattenImages()
  * Imagick::getImageChannelExtrema()
  * Imagick::getImageExtrema()
- Ini file changes: Added imagick.skip_version_check.
- CI now compiles with CFLAGS="-Wno-deprecated-declarations
  -Wdeclaration-after-statement -Werror"

3.2.0RC1
- Fix bug #66098: Segfault in zval_addref_p

3.2.0b2
- A lot of internal improvements on the code
- Added ImagickPixel::isPixelSimilar and deprecate
  ImagickPixel::isSimilar #10
- Added imagick::smushimages
- Added imagick::blueshiftimage and imagick::clampimage
- Added Imagick::autolevelimage
- Added constants:
  * Imagick::ALPHACHANNEL_REMOVE
  * Imagick::ALPHACHANNEL_FLATTEN
  * Imagick::RESOURCEENGINE_THREAD
  * Imagick::COMPOSITE_CHANGEMASK
  * Imagick::COMPOSITE_LINEARLIGHT
  * Imagick::COMPOSITE_DIVIDE
  * Imagick::COMPOSITE_DISTORT
  * Imagick::COMPOSITE_BLUR
  * Imagick::COMPOSITE_PEGTOPLIGHT
  * Imagick::COMPOSITE_VIVIDLIGHT
  * Imagick::COMPOSITE_PINLIGHT
  * Imagick::COMPOSITE_LINEARDODGE
  * Imagick::COMPOSITE_LINEARBURN
  * Imagick::COMPOSITE_MATHEMATICS
  * Imagick::COMPOSITE_MODULUSADD
  * Imagick::COMPOSITE_MODULUSSUBTRACT
  * Imagick::COMPOSITE_MINUSDST
  * Imagick::COMPOSITE_DIVIDEDST
  * Imagick::COMPOSITE_DIVIDESRC
  * Imagick::COMPOSITE_MINUSSRC
  * Imagick::COMPOSITE_DARKENINTENSITY
  * Imagick::COMPOSITE_LIGHTENINTENSITY
  * Imagick::FILTER_KAISER
  * Imagick::FILTER_WELSH
  * Imagick::FILTER_PARZEN
  * Imagick::FILTER_LAGRANGE
  * Imagick::FILTER_SENTINEL
  * Imagick::FILTER_BOHMAN
  * Imagick::FILTER_BARTLETT
  * Imagick::FILTER_JINC
  * Imagick::FILTER_SINCFAST
  * Imagick::FILTER_ROBIDOUX
  * Imagick::FILTER_LANCZOSSHARP
  * Imagick::FILTER_LANCZOS2
  * Imagick::FILTER_LANCZOS2SHARP
  * Imagick::FILTER_ROBIDOUXSHARP
  * Imagick::FILTER_COSINE
  * Imagick::FILTER_SPLINE
  * Imagick::FILTER_LANCZOSRADIUS
  * Imagick::COMPRESSION_ZIPS
  * Imagick::COMPRESSION_PIZ
  * Imagick::COMPRESSION_PXR24
  * Imagick::COMPRESSION_B44
  * Imagick::COMPRESSION_B44A
  * Imagick::COMPRESSION_LZMA
  * Imagick::COMPRESSION_JBIG1
  * Imagick::COMPRESSION_JBIG2

3.2.0b1
- Added Countable interface to Imagick class
- Added experimental support for Zend MM.
- Added additional parameter to writeImageFile to allow setting
  format
- Distribute tests as part of the release
- Fixed Bug #65043: Destroy and clear method do the same things
- Fixed Bug #64945: ZEND_ACC_ALLOW_STATIC vs ZEND_ACC_STATIC
- A lot of internal refactoring: rewrite macros as functions,
  clean up naming etc
2016-06-29 09:06:22 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
fhajny
77f2882af6 Import php-imagick-3.1.2 as graphics/php-imagick (based on wip/php-imagick).
Imagick is a PHP extension to create and modify images using
the ImageMagick library.
2015-09-03 08:14:21 +00:00