Skip to content

v1.0.0-alpha2

Compare
Choose a tag to compare
@mlocati mlocati released this 08 Sep 13:58
· 383 commits to develop since this release
0bdd3cf

Changes since v1.0.0-alpha1:

  • The coalesce method of LayerInterface instances now returns the LayerInterface itself (@mlocati)
    BREAKING CHANGE if you have your own LayerInterface implementation, it now must return $this
  • The __toString method has been added to ColorInterface since all its implementations have it (@mlocati)
    BREAKING CHANGE if you have your own ColorInterface implementation, it now must implement __toString
  • New Imagick save option: optimize if set, the size of animated GIF files is optimized (@mlocati)
    NOTE Imagick requires that the image frames have the same size
  • The paste method now accepts images not fully included in the destination image (@mlocati)
    BREAKING CHANGE the paste method doesn't throw an OutOfBoundsException anymore
  • Fix handling of PNG compression in Imagick save method (@mlocati)
  • New drawer methods: rectangle and circle (@mlocati)
    BREAKING CHANGE if you have your own implementation of DrawerInterface you should add these two new methods
  • The getChannelsMaxValue method has been added to PaletteInterface (@mlocati)
    BREAKING CHANGE if you have your own PaletteInterface implementation, it now must implement this new method