- Fix gif delay for vips versions < 8.9
- Add webp_reduction_effort save option. Default is 4, max is 6.
- Fix some issues when adding new frames to layers.
- Throw an NotSupportedException when trying to unset a layer as not yet supported.
- Improved handling of animated gifs and webp
- Possibility to define delay per frame with vips 8.9 (
Layers::setDelay($index, $delay)
et al.)
- Improved coalesce for animated gifs
- Added Image::isOpaque($vips)
- Throw a proper NotSupportedException (thanks to @alexander-schranz)
- Get rid of some warnings when using vips 8.9.
- Autorotate HEIF images on load.
- Support animated gif save to file.
- Throw an early error, if magicksave can't save an image.
- Remove 'shrink' options, when not supported by a vips loader.
- BREAKING CHANGE: Based on imagine 1.1.0
- Added support for layers. Animated GIFs should now work without imagick, but needs vips 8.7.
- Add support for 'heif_quality' (only useful if your imagemagick or vips 8.8 supports heif).
- Add support for 'jp2_quality' (only useful if your imagemagick supports jpeg2000).
- Add support for 'png_quality' to define quality of pngquant (only useful if vips is compiled with libimagequant). If set to 100, no lossy conversion is applied (default).
- Add support for magicksave. If you have vips >= 8.7 and imagemagick is included, we now directly use magicksave to save non-supported-by-vips file formats. No need to convert it to an imagick object first, resulting in much better performance.
- Add possibility for individual vips save options
- Replace colorprofile with free ones.
- Support for animated webp, needs vips 8.8.
- Add 2nd optional parameter to
Image::convertToAlternative
to provide your own options for loading the image as tiff.
- ext/vips 1.0.8 is required. Throw exceptions in methods, which needs vips 8.6.
- Add constructor config array to be able to set
vips_cache_set_max_mem
et al. - Fix paste method to work with future php-vips versions
- Added php-cs-fixer
- Fix some operations on grayscale images
- Convert CMYK to sRGB early on
- Convert CMYK to sRGB before save, in case we still have a CMYK picture
- Fix colorprofile for GREY16 pictures
- Fix
Image::paste
to make it faster, when you have many pastes.
- Fix conversion from cmyk to rgb, when no profile is supplied
- Add
convertToAlternative(ImagineInterface $imagine = null)
to convert the image to another imagine adapter. Uses Imagick or GD, if none set. - Fix resize for some format changes
- Fix grayscale for cmyk
- Fix negative effect for images with transparency
- Improve Profile/Palette/ICC support
- Improve
generateImage
to make it faster, thanks to jcupitt
- Initial release