Skip to content

3.1.0

Choose a tag to compare

@claviska claviska released this 11 Jan 22:24
· 87 commits to master since this release
  • 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 and white|.25
  • Fixed a bug in fill() where transparent 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).