All notable changes to image
will be documented in this file
- Fix broken link by @Synchro in #272
- Update resizing-images.md by @makakken in #273
- Improve DX by specifying namespace for GD functions by @alies-dev in #274
- Fix issue with palette images when saving a webp file using GD.
Full Changelog: https://github.com/spatie/image/compare/3.7.3...3.7.4
- Update Image.php to fix $prefixWithFormat by @tanshiqi in #269
- @tanshiqi made their first contribution in #269
Full Changelog: https://github.com/spatie/image/compare/3.7.2...3.7.3
- fix: Apply image format when saving file in ImagickDriver by @nicoverbruggen in #268
- @nicoverbruggen made their first contribution in #268
Full Changelog: https://github.com/spatie/image/compare/3.7.1...3.7.2
- fix: GdDriver resizeCanvas save alpha channel; by @olexoliinyk0 in #266
- @olexoliinyk0 made their first contribution in #266
Full Changelog: https://github.com/spatie/image/compare/3.7.0...3.7.1
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #263
- Fix bug in ImagickDriver::pixelate, Update tests by @psion-ar in #267
- @psion-ar made their first contribution in #267
Full Changelog: https://github.com/spatie/image/compare/3.6.4...3.7.0
- Implement Fit::FillMax by @timvandijck in #258
Full Changelog: https://github.com/spatie/image/compare/3.6.3...3.6.4
Full Changelog: https://github.com/spatie/image/compare/3.6.2...3.6.3
- Update overview.md by @schmeits in #253
- Update saving-images.md by @schmeits in #256
- Update introduction.md by @schmeits in #255
- Update basic-usage.md by @schmeits in #254
- Update composer.json by @thanosalexandris in #257
- @schmeits made their first contribution in #253
- @thanosalexandris made their first contribution in #257
Full Changelog: https://github.com/spatie/image/compare/3.6.1...3.6.2
- Ability to resize canvas when keeping fill background a certain color by @OzanKurt in #249
- @OzanKurt made their first contribution in #249
Full Changelog: https://github.com/spatie/image/compare/3.6.0...3.6.1
- Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in #244
- Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #251
- Convert Unit and Orientation to BackedEnum by @MrMeshok in #252
- @MrMeshok made their first contribution in #252
Full Changelog: https://github.com/spatie/image/compare/3.5.0...3.6.0
- Fix saving jfif image by @clementbirkle in #248
- @clementbirkle made their first contribution in #248
Full Changelog: https://github.com/spatie/image/compare/3.4.2...3.5.0
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #246
- Suppress warnings from exif_read_data by @glennjacobs in #247
- Suppress warnings from imagecreatefromstring by @mattmcdonald-uk in #243
- @glennjacobs made their first contribution in #247
- @mattmcdonald-uk made their first contribution in #243
Full Changelog: https://github.com/spatie/image/compare/3.4.0...3.4.2
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #246
- Suppress warnings from exif_read_data by @glennjacobs in #247
- @glennjacobs made their first contribution in #247
Full Changelog: https://github.com/spatie/image/compare/3.4.0...3.4.1
- Bump ramsey/composer-install from 2 to 3 by @dependabot in #241
- Add a ->text method to the package by @riasvdv in #242
- @riasvdv made their first contribution in #242
Full Changelog: https://github.com/spatie/image/compare/3.3.8...3.4.0
- Allow lossless saving of Webp with the GD driver by @fabio-ivona in #240
- @fabio-ivona made their first contribution in #240
Full Changelog: https://github.com/spatie/image/compare/3.3.7...3.3.8
- Fix for Fit::Max not behaving as described in the documentation by @RaBic in #239
- @RaBic made their first contribution in #239
Full Changelog: https://github.com/spatie/image/compare/3.3.6...3.3.7
- Bugfix for cases where setting a quality did nothing #237
- Bugfix for transparent PNG's not staying transparent when working with GD.
- Autorotate images based on their Exif data #238
Full Changelog: https://github.com/spatie/image/compare/3.3.5...3.3.6
- Update adding-a-watermark.md by @yoeriboven in #235
- Manipulating animated GIF's is now supported using Imagick. by @jhorie in #234
Full Changelog: https://github.com/spatie/image/compare/3.3.4...3.3.5
- Crop issue fixes by @timvandijck in #230
Full Changelog: https://github.com/spatie/image/compare/3.3.3...3.3.4
- Fix broken fit/crop operation.
- Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in #224
- Fix enum case by @lukasleitsch in #226
- update load image with gd driver example by @lukasleitsch in #227
- @lukasleitsch made their first contribution in #226
Full Changelog: https://github.com/spatie/image/compare/3.3.2...3.3.3
- move ext requirement to dev by @ariaieboy in #222
Full Changelog: https://github.com/spatie/image/compare/3.3.1...3.3.2
- update GD driver by @ariaieboy in #221
Full Changelog: https://github.com/spatie/image/compare/3.3.0...3.3.1
- add watermark method
- Bump actions/checkout from 3 to 4 by @dependabot in #210
- Add
OptimizerChain::setTimeout()
to the image optimization tests and docs by @golubev in #208 - Image load fix by @kbond in #214
Full Changelog: https://github.com/spatie/image/compare/3.1.0...3.2.0
- add Avif Support by @ariaieboy in #207
Full Changelog: https://github.com/spatie/image/compare/3.0.0...3.1.0
- do not rely on Glide anymore
Full Changelog: https://github.com/spatie/image/compare/2.2.7...3.0.0
- bump requirements
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #185
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #188
- Fit with only width or height by @gdebrauwer in #190
Full Changelog: https://github.com/spatie/image/compare/2.2.5...2.2.6
- Refactor tests to pest by @AyoobMH in #176
- Add Dependabot Automation by @patinthehat in #177
- Add PHP 8.2 Support by @patinthehat in #180
- Update Dependabot Automation by @patinthehat in #181
- Add fill-max fit mode by @Tofandel in #183
- @AyoobMH made their first contribution in #176
- @patinthehat made their first contribution in #177
- @Tofandel made their first contribution in #183
Full Changelog: https://github.com/spatie/image/compare/2.2.4...2.2.5
- Add zero orientation support ignoring EXIF by @danielcastrobalbi in #171
- @danielcastrobalbi made their first contribution in #171
Full Changelog: https://github.com/spatie/image/compare/2.2.3...2.2.4
- Fix permission issue with temporary directory by @sebastianpopp in #163
- @sebastianpopp made their first contribution in #163
Full Changelog: https://github.com/spatie/image/compare/2.2.2...2.2.3
- add TIFF support
- Fix docs link by @pascalbaljet in #154
- Update .gitattributes by @PaolaRuby in #158
- Add TIFF support by @Synchro in #159
- @PaolaRuby made their first contribution in #158
Full Changelog: https://github.com/spatie/image/compare/2.2.1...1.11.0
- Use match expression in convertToGlideParameter method by @mohprilaksono in #149
- [REF] updated fit docs description by @JeremyRed in #150
- Adding compatibility to Symfony 6 by @spackmat in #152
- @mohprilaksono made their first contribution in #149
- @JeremyRed made their first contribution in #150
- @spackmat made their first contribution in #152
Full Changelog: https://github.com/spatie/image/compare/2.2.0...2.2.1
- add avif support (#148)
- Drop support for PHP 7
- Make codebase more strict with type hinting
- Bump league/glide to v2 #134
- Allow spatie/temporary-directory v2
- Bump league/glide to 2.0 #123
- change condition to delete $conversionResultDirectory (#118)
- adds zoom option to focalCrop (#112)
- allow usage of a custom
OptimizerChain
#110
- revert changes from 1.8.0
- allow usage of a custom
OptimizerChain
(#108)
- add support for PHP 8
- change uppercase function to mb_strtoupper instead of strtoupper (#99)
- allow symfony 5 components
- do not export docs
- fix duplicated files (fixes #84)
- fixes
optimize()
when used withapply()
(#78)
- change GlideConversion sequence (#76)
- add support for
webp
- add
setTemporaryDirectory
- update lower deps
- fix exception message
- Prevent error when trying to remove
/tmp
- add
flip
- Use the correct driver for getting widths and height of images.
- Support symfony ^4.0
- Support phpunit ^7.0
- add
getWidth
andgetHeight
- fix for problems when creating directories in the temporary directory
- fix
optimize
docblock
- make
optimize
method fluent
- swap out underlying optimization package
- internally treat
optimize
as a manipulation
- add
optimize
method
- add methods to determine emptyness to
Manipulations
andManipulationSequence
- allow
Manipulations
to be constructed with an array of arrays
- improve support for multi-volume systems
- remove conversion directory after converting image
- avoid processing empty manipulations groups
- added support for watermarks
- initial release