mirror of
https://github.com/Intervention/image.git
synced 2025-09-01 18:02:45 +02:00
1.6 KiB
1.6 KiB
New Features
- ImageInterface::version()
- ColorInterface::create() now accepts functional string color formats as well as single channel values
- ImageManagerInterface::readPath()
- ImageManagerInterface::readBinary()
- ImageManagerInterface::readBase64()
- ImageManagerInterface::readSplFileInfo()
- ImageManagerInterface::readDataUri()
- Alignment::class
- DriverInterface::handleImageInput()
- DriverInterface::handleColorInput()
- DataUri::class
API Changes
- ImageInterface::blendTransparency() was renamed to ImageInterface::background() - Signature changed
- ImageInterface::setBlendingColor() was renamed to ImageInterface::setBackgroundColor()
- ImageInterface::blendingColor() was renamed to ImageInterface::backgroundColor()
- Changed default value for
background
tonull
in ImageInterface::rotate() - Changed default value for
background
tonull
in ImageInterface::resizeCanvas() - Changed default value for
background
tonull
in ImageInterface::resizeCanvasRelative() - Changed default value for
background
tonull
in ImageInterface::contain() - Changed default value for
background
tonull
in ImageInterface::pad() - Changed default value for
background
tonull
in ImageInterface::crop() - Signature of ImageInterface::crop() changed
offset_x
is nox
andoffset_y
is nowy
- Signature of ImageInterface::place() changed
offset_x
is nox
andoffset_y
is nowy
- EncodedImageInterface::toDataUri() now returns
DataUriInterface
instead of `string´ - ProfileInterface requires implementation of
::fromPath()
- DriverInterface requires implementation of
__construct()