Releases: claviska/SimpleImage
Releases · claviska/SimpleImage
Add $baseAlign option to text()
Add $baselineAlign to text() method * Adds $ borderOffset parameter to overlay (). Calculates the offset for the image edges. * Use $calcuateOffsetFromEdge in "overlay()". Update doc * Cleaner code for 'overlay()' * Text() issues * NewLine * no message * New $baselineAlign and $calcuateOffsetFromEdge * Only comments * Readme update * Excluded the return of the 'boxtext' that was used for testing Co-authored-by: Cory LaViska <[email protected]>
3.4.0: Add $calcuateOffsetFromEdge parameter to overlay method (#263)
- Added
$calculateOffsetFromEdge
param tooverlay()
method
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.1
3.1.1
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.
3.1.0
- Added
duotone
method. - Added
getColorAt
method to get the RGBA value of a specific pixel. - Added
extractColors()
method (requires\League\ColorExtractor
, automatically installed for Composer users). - Added
sharpen()
method. - Added alpha piping to
normalizeColor
so you can pass CSS colors and hex strings with transparency. Example:#fff|.25
andwhite|.25
- Fixed a bug in
fill()
wheretransparent
would create a black image instead of a transparent one. - Fixed a bug in
normalizeColor()
where alpha would be 0-127 instead of 0-1. - Made certain methods static (doesn't break backwards compatibility).