Releases: Orbitale/ImageMagickPHP
Releases · Orbitale/ImageMagickPHP
v3.0.10
Added support for -gravity
option (@JeffAlyanak)
v3.0.9
v3.0.8
Changelog for v3.0.8
- Added support for ImageMagick's
-auto-orient
option
v3.0.6
Changelog for v3.0.6:
- Fix bug in
Command::text()
v3.0.4
Changelog for v3.0.4:
- Add support for
-geometry
- Implement
Command::rawCommand()
for edge cases that are not implemented yet.⚠️ Use at your own risk! It is way better to create an issue or a pull-request if you need an unimplemented feature 😉
v3.0.3
Changelog for v3.0.1:
- Force adding
"
for colors when possible, to allow colors likergba()
or other values with parentheses
v3.0.2
Changelog for v3.0.2:
- Added support for
-strokewidth
option
v3.0.1
Changelog for v3.0.1:
- Added support for
-draw "polyline ..."
raw without validation (more will come about drawing with validation)
v3.0.0
Changelog for v3.0.0:
- Drop support for ImageMagick 6, this means that we support only the
magick
binary (ormagick.exe
on Windows) - Add preliminary support for all other legacy commands (composite, animation, etc.)
- Require PHP 7.2 and
symfony/process
4.* only - Removed
Command::escape()
method - Use php-cs-fixer to uniformize code style
- Use
declare(strict_types=1);
everywhere - Use
ExecutableFinder
by default to determine ImageMagick's path, making it easier to discover defaultmagick
binary - Command line instructions are now arrays instead of strings (easier handling)
v2.0.2
Changelog for v2.0.2
Internal breaks
- Remove internal class
CommandOptions
and put all options in the main class. - Remove
symfony/yaml
dependency and make references an array for better performances. - Remove
symfony/filesystem
dependency and use native PHP functions. ⚠️ BC BREAK: RefactorCommand::text()
with array options instead of arguments:$options['text']
$options['textSize']
$options['geometry']
$options['font']
$options['checkFont']
$options['textColor']
Features
- Add
Command::create($binary)
for simpler fluent interfaces. - Add support for more ImageMagick options:
-stroke
-fill
-size
-pointsize
- Add
$checkFontFileExists
argument toCommand::font()
for native fonts - Add
isSuccessful()
toCommandResponse
, more convenient thanhasFailed()
Dev/test
- Update Travis-CI build to find a proper way to download ImageMagick for tests (even though it's not 100% ok)