Imagine v1.0.0-alpha2 Release Notes

Release Date: 2018-09-08 // over 5 years ago
  • ๐Ÿ”„ 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