Skip to content

Releases: claviska/SimpleImage

3.0.1

10 Jan 22:08
Compare
Choose a tag to compare

Added missing toDownload method.

SimpleImage 3.0 ✨

10 Jan 18:15
Compare
Choose a tag to compare

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.

2.7.0

06 Jan 16:40
Compare
Choose a tag to compare

Added border method. Fixed imagecopymerge issues with non-truecolor images.

2.6.1

06 Jan 15:10
Compare
Choose a tag to compare

Fixed an issue loading certain JPEG images.

2.6.0

22 Oct 19:19
Compare
Choose a tag to compare
Added multicolored text and multicolored stoke.

2.5.6

08 Aug 06:12
Compare
Choose a tag to compare

Added ability to apply text stroke using text() method

2.5.5

08 Apr 20:34
Compare
Choose a tag to compare
  • Added percentage to desaturate()
  • Image resource no longer destroyed on output() to allow for additional operations
  • Removed incomplete change log from readme

2.5.4

12 Mar 01:48
Compare
Choose a tag to compare

Switched from tabs to spaces; handful of bug fixes; minor doc corrections.

2.5.3

18 Mar 06:44
Compare
Choose a tag to compare

Fixed old version number.

2.5.2

18 Feb 03:16
Compare
Choose a tag to compare

Fixed issue with thumbnail().