Repository navigation
1.5.2: se7enxweb/expcomponents-image-conversion, Exponential's fork of Zeta Components ImageConversion
Latestse7enxweb/expcomponents-image-conversion 1.5.2 is Exponential's fork of Zeta Components ImageConversion (zetacomponents/image-conversion), maintained by 7x and the Exponential Foundation under the Apache License 2.0. It replaces zetacomponents/image-conversion; the class names (ezc*) and the API are unchanged.
Install: composer require se7enxweb/expcomponents-image-conversion:~1.5.2
Changes
- Renamed: The package is se7enxweb/expcomponents-image-conversion, Exponential's
maintained fork of Zeta Components ImageConversion. It replaces zetacomponents/image-conversion,
so packages that require zetacomponents/image-conversion keep working. Class names
(ezc*) are unchanged. - Updated: Requirements on other Zeta Components point to their Exponential
forks (se7enxweb/expcomponents-base,
se7enxweb/expcomponents-image-analysis), which replace the upstream
packages. - Updated: composer.json states the license (Apache-2.0) and the PHP
versions; the component is tested on PHP 7.4 to 8.5. - Added: NOTICE keeps the upstream copyright notices and names the fork;
README.md describes the fork. - Added: A GitHub Actions workflow running the test suite on PHP 7.4 to 8.5.
- Includes upstream's change to run ImageMagick through the argument-list
form of proc_open(), so no shell parses the command (no shell injection). - Fixed: Since that change, scaling and cropping with ImageMagick failed with
"unrecognized option `-resize '": the filters pass '-resize ' and '-crop '
with a trailing blank, which the shell used to drop. addFilterOption()
trims the option name. - Fixed: The error message of a failed ImageMagick call shows the command
instead of "Array" and no longer raises "Array to string conversion". - Fixed: ezcImageTransformation::transform() into a directory that does not
exist or is not writable throws ezcImageFileNotProcessableException at once.
It used to raise a tempnam() notice, write the temporary file into the
system's temporary directory, do all the work and only then fail. - Fixed: With gd.jpeg_ignore_warning off, the GD handler refuses a JPEG that
libjpeg reports a recoverable error for with every GD build. PHP's bundled
GD refused it, while PHP built with an external libgd only warned and
loaded the damaged image. - Fixed: No deprecation notices on PHP 8.5: imagedestroy() is called only
before PHP 8.0 (it has had no effect since), and the $saveOptions parameter
of ezcImageTransformation::__construct() is explicitly nullable.