NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2682 most downloaded on Packagist
A PHP class that makes working with images as simple as possible.
Latest stable
4.4.2
Last release 1 months ago
23 Oct 2026
Release timing varies
gaps range from 3 weeks to 11 months
Most releases are documented
notes for 37 of 50 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
50 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Fixed a publishing bug that prevented packagist from grabbing the latest version. Same as 4.4.1.
fix: Read EXIF data from a memory stream instead of a data: URL by @distantnative in https://github.com/claviska/SimpleImage/pull/346
imagedestroy() call by @distantnative in https://github.com/claviska/SimpleImage/pull/347Full Changelog: https://github.com/claviska/SimpleImage/compare/4.4.0...4.4.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Deprecated the ::reset() method since the underlying imagedetroy() was deprecated in PHP 8.5
::reset() method since the underlying imagedetroy() was deprecated in PHP 8.5Added the getExtension() method #336
getExtension() method #336Marked parameters as nullable to prevent warnings in PHP 8.4
Made generate() a public method
reset() methodgenerate() a public method- Added support for HEXA
Fixed a typo in .gitattributes that caused the example directory to be erroneously be copied into projects
PR #324 PR #326
A tag for 4.0.3 was erroneously created without the intended changes. This version fixes that, and the only change is the one listed in 4.0.3.
A tag for 4.0.3 was erroneously created without the intended changes. This version fixes that, and the only change is the one listed in 4.0.3.
Fixed a bug that caused text alignment to not work as well as it should #321
A tag for 4.0.1 was erroneously created without the intended changes. This version fixes that, and the only change is the one listed in 4.0.1.
A tag for 4.0.1 was erroneously created without the intended changes. This version fixes that, and the only change is the one listed in 4.0.1.
Fixed a bug when converting float to int #317
Updated the library to support only current versions of PHP #316
Fixed a problem with tag generation for SimpleImage 3.7.1
Fixed a deprecation warning in PHP 8.2 #305
Added support for settable and gettable instance flags. This allows overrides of default behavior to be set upon instantiation of the SimpleImage clas
sslVerify flag mentioned in #300Nothing published for this version
Fixed some type errors for PHP 8.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added $calculateOffsetFromEdge param to overlay() method
$calculateOffsetFromEdge param to overlay() methodNothing published for this version
Make private methods protected.
Make private methods protected.
Changed access modifier from private to protected. See #203
Changed access modifier from private to protected. See #203
Prevent a notice when no exif info is present.
Prevent a notice when no exif info is present.
Fixes a bug in bestFit that causes small images to be stretched
bestFit that causes small images to be stretchedLICENSE.mdreadme.md to README.md for consistencyresize to match updated functionalityAdded proportional resizing to resize()
resize()getAspectRatio() and fix internal calculationopacity() filterbestFit to allow upsamplingimageCopyMergeAlpha() so it's a lot fasterAdded fromString() and toString() (#163).
fromString() and toString() (#163).Added support for URL wrappers in fromFile(). You can now use any readable wrapper that your system supports to load images, including HTTP, HTTPS, FT
Added support for URL wrappers in fromFile(). You can now use any readable wrapper that your system supports to load images, including HTTP, HTTPS, FTP, SSH, and others.
Added getColorAt method to get the RGBA value of a specific pixel.
duotone method.getColorAt method to get the RGBA value of a specific pixel.extractColors() method (requires \League\ColorExtractor, automatically installed for Composer users).sharpen() method.normalizeColor so you can pass CSS colors and hex strings with transparency. Example: #fff|.25 and white|.25fill() where transparent would create a black image instead of a transparent one.normalizeColor() where alpha would be 0-127 instead of 0-1.Added missing toDownload method.
Added missing toDownload method.
Removed deprecated method adaptive_resize (use thumbnail instead).
text method.arc method for drawing arcs.border method for drawing borders.dot method for drawing individual pixels.ellipse method for drawing ellipses and circles.line method for drawing lines.polygon method for drawing polygons.rectangle method for drawing rectangles.roundedRectangle method for drawing rounded rectangles.adjustColor method for modifying RGBA color channels to create relative color variations.darkenColor method to darken a color.lightenColor method to lighten a color.abeautifulsite to claviska.create method to fromNew.load method to fromFile.load_base64 method to fromDataUri.output method to toScreen.xoutput_base64 method to toDataUri.save method to toFile.text method to accept an array of options instead of tons of arguments.text method because it produced dirty results and didn't support transparency.smooth method because its arguments in the PHP manual aren't documented well.adaptive_resize (use thumbnail instead).get_meta_data (use getExif, getHeight, getMime, getOrientation, and getWidth instead).Added border method. Fixed imagecopymerge issues with non-truecolor images.
Added border method. Fixed imagecopymerge issues with non-truecolor images.
Fixed an issue loading certain JPEG images.
Fixed an issue loading certain JPEG images.
Nothing published for this version
Added ability to apply text stroke using text() method
Added ability to apply text stroke using text() method
Added percentage to desaturate()
desaturate()output() to allow for additional operationsSwitched from tabs to spaces; handful of bug fixes; minor doc corrections.
Switched from tabs to spaces; handful of bug fixes; minor doc corrections.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added opacity method, reorganized public methods for easier editing.
Added opacity method, reorganized public methods for easier editing.
adaptive_resize() deprecated in lieu of thumbnail(); GIFs with transparency are resized properly; fill() now supports alpha-transparency
adaptive_resize() deprecated in lieu of thumbnail(); GIFs with transparency are resized properly; fill() now supports alpha-transparency
Fixed bug where uppercase file extensions threw exception in save()
Fixed bug where uppercase file extensions threw exception in save()
Nothing published for this version
One column per quarter.