Releases: thephpleague/color-extractor
Releases · thephpleague/color-extractor
0.4.0
Added
- Added support for PHP 8.x
- Added new
Palette::fromUrl()
method with optional support for curl - Added new
Palette::fromContents()
method - Added return types to
Palette::count()
andPalette:getIterator()
Changed
Palette::fromFilename()
now throwsInvalidArgumentException
if the target file doesn't exist or can't be read
Fixed
- Fixed
Palette:getColorCount()
erroring when the given color doesn't exist in the image - Fixed
ColorExtractor
erroring when no interesting colors exist
Removed
- Dropped support for PHP <= 7.2