Releases
3.0.0
Compare
Sorry, something went wrong.
No results found
Requirements
Differences from SimpleImage 2.x
Normalized color arguments (colors can be a CSS color name, hex color, or RGB(A) array).
Normalized alpha (opacity) arguments: 0 (transparent) - 1 (opaque)
Added text shadow to text method.
Added arc method for drawing arcs.
Added border method for drawing borders.
Added dot method for drawing individual pixels.
Added ellipse method for drawing ellipses and circles.
Added line method for drawing lines.
Added polygon method for drawing polygons.
Added rectangle method for drawing rectangles.
Added roundedRectangle method for drawing rounded rectangles.
Added adjustColor method for modifying RGBA color channels to create relative color variations.
Added darkenColor method to darken a color.
Added lightenColor method to lighten a color.
Changed namespace from abeautifulsite to claviska.
Changed create method to fromNew.
Changed load method to fromFile.
Changed load_base64 method to fromDataUri.
Changed output method to toScreen.x
Changed output_base64 method to toDataUri.
Changed save method to toFile.
Changed text method to accept an array of options instead of tons of arguments.
Removed text stroke from text method because it produced dirty results and didn't support transparency.
Removed smooth method because its arguments in the PHP manual aren't documented well.
Removed deprecated method adaptive_resize (use thumbnail instead).
Removed get_meta_data (use getExif, getHeight, getMime, getOrientation, and getWidth instead).
Added .editorconfig file. Please make sure your editor supports these settings before submitting contributions.
Switched from four spaces to two for indentations (sorry PHP-FIG!).
Switched from underscore_methods to camelCaseMethods.
Organized methods into groups based on function
Removed PHPDoc comments. At this time, I don't wish to incorporate them into the library.
You can’t perform that action at this time.