Repository navigation
Releases: Rundiz/image
Releases · Rundiz/image
Release list
v3.2.0
Add
- ImageTrait.php: Add new method
normalizeWatermarkOptions(). - Add new watermark image option
opacity. - New watermark text option
backgroundAlpha. The transparency for background color.
Update
- Avif.php: Add code to supported PHP 8.2+.
- All watermark text color can set alpha.
Fix
- Fix incorrect class call on
Drivers\Imagick\Show->execute(),Drivers\Imagick\Watermark->setupWatermarkImageObject(). - Fix incorrect
catchmismatch minimum version of PHP supported.
BC break
- Removed deprecated methods
getSourceImageOrientation(),verifyMasterDimension(),calculateImageSizeRatio(),calculateVariableSpace(). - Update method visibility from
publicto beprotected:calculateWatermarkImageStartXY(),calculateStartXOfCenter(),convertAlpha127ToRgba(). - Deprecated watermark text color
transwhitetext. Usewhiteinstead.
Full Changelog: 3.1.6...3.2.0
v3.1.6
v3.1.5
v3.1.4
New
- Animated WEBP is now supported on open and save.
Update
- Update WebP class.
- Improve source code on GD driver.
- Improve source code on Imagick driver.
- Update Gif info class.
Fix
- Fix Imagick and animated GIF get wrong dimension. (a461780)
- Fix save animated image as JPG but some part still black.
v3.1.3
v3.1.2
v3.1.1
v3.1.0
New
- Add
statusCodeproperty for use in translation. The status code will use class constants. - Add
$optionsargument towatermarkText()method to allow fill options. - Add
$wmTextBottomPaddingproperty to set watermark text bottom padding to let characters that is long to the bottom can be displayed. Example p, g, ฤ, ฎ, etc. This also known as baseline. - Add
$wmTextBoundingBoxYPaddingproperty to set watermark text bounding box vertical padding. - Add supported for WEBP. There are known bugs that can't fix. ( a32fd0d , 48a7b10 )
Update
- Update Imagick minimum requirement.
- Update PNG compression in Imagick driver.
Fix
- Fix transparent wetermark text background on the transparent GIF for GD.
- Fix transparent watermark png on transparent gif for GD.
BC break
- Push up minimum requirements to PHP 5.4+