Imagine v1.0.0-alpha1 Release Notes

Release Date: 2018-08-28 // over 5 years ago
  • ๐Ÿ”„ Changes since v0.7.1:

    • ๐Ÿ Imagine is now tested under Windows too (@mlocati)
    • โž• Add support to webp image format (@chregu, @antoligy, @alexander-schranz)
    • โž• Add Imagine\File\LoaderInterface that allows loading remote images with any imaging driver (@mlocati).
      You can use your own LoaderInterface implementation so that you can for instance use curl or any other library.
    • ๐Ÿ›  Fix some phpdoc issues (@mlocati)
    • flipHorizontally and flipVertically methods of GD images is now much faster on PHP 5.5+ (@mlocati)
    • ๐Ÿ›  Fix loading of PNG indexed images with GD (@mlocati)
    • Loading indexed images with GD is now much faster on PHP 5.5+ (@mlocati)
    • โž• Add support to grayscale images with Gmagick (@mlocati)
    • โž• Add support to alpha channels of Gmagick images (@mlocati)
    • ๐Ÿ›  Fix getColorAt method of Gmagick images (@mlocati)
    • โž• Add getTransformations to the Autorotate filter, so that you can get the list of transformations that should be applied to an image accordingly to the EXIF metadata (@mlocati)
    • ๐Ÿ“‡ The metadata reader now doesn't throw exceptions or warnings (@lentex, @mlocati)
    • ๐Ÿ›  Fix documentation (@ZhangChaoWN, @Mark-H, @mlocati)
    • ๐Ÿ›  Fix pixel range issue with Gmagick image (@b-viguier)
    • ๐Ÿ›  Fix text drawer method on Windows when using relative font file paths (@mlocati)
    • ๐Ÿ›  Fix box font method on Windows when using relative font file paths (@mlocati)
    • ๐Ÿ›  Fix crash on Windows when loading an image with Imagick (@mlocati)
    • ๐Ÿ›  Fix generation of API documentation (@mlocati)
    • Add jpeg_sampling_factors option when saving JPEG images (Gmagick/Imagick only) (@ausi)
    • โž• Add BMP as supported image format (@mlocati)
    • โž• Add support to new image type constants of Imagick (@ausi)
    • ๐Ÿ‘ Check that Imagick correctly supports profiles (@ausi)
    • โž• Add setMetadataReader/getMetadataReader to ImagineInterface (@mlocati)
      ๐Ÿ’ฅ BREAKING CHANGE if you have your own ImagineInterface implementation, it now must implement those two methods
    • ๐Ÿ›  Fix creating Gmagick images with alpha colors when palette doesn't support alpha (@FractalizeR)
    • ๐Ÿ›  Fix warning about deprecated clone method in copy method of Imagick images (@mlocati)
    • ๐Ÿ›  Fix copy methods of Images (the original image and its new copy are now fully detached) (@mlocati)
    • ๐Ÿ‘ฏ It's now possible to use clone $image as an alternative to $image->copy() (@mlocati)
    • โž• Add support to custom classes for BoxInterface, MetadataReaderInterface, FontInterface, LoaderInterface, LayersInterface, ImageInterface (@mlocati)
      ๐Ÿ’ฅ BREAKING CHANGE if you have your own ImagineInterface implementation, it now must implement the methods of ClassFactoryAwareInterface
    • โž• Add support for pasting with alpha for GD and Imagick (@AlloVince, @mlocati)
    • ๐Ÿ‘ป Downscaling a Box until it reaches a dimension less than 1 returns a box with dimension of 1 instead of throwing an exception (@mlocati)
      ๐Ÿ’ฅ BREAKING CHANGE if you relied on Box::scale throwing an exception in this case
    • ๐Ÿ†• New filters: BlackWhite, BorderDetection, Negation, Neighborhood (@rejinka)
    • Minor optimization of filters based on OnPixelBased (@rejinka, @mlocati)
    • โž• Add flag to thumbnail to allow upscaling images (@vlakoff)
      NOTE the $mode argument has been renamed to $settings, and it's now an integer (but old string values are accepted for backward compatibility)
    • ๐Ÿ†• New filter: brightness (@lenybernard, @mlocati)
    • ๐Ÿ†• New filter: colvolve available for all graphics libraries except gmagick with version prior to 2.0.1RC2 (@armatronic, @mlocati)
    • ๐Ÿ›  Fix bug in Imagine\Image\Palette\RGB::blend() (@dmolineus, @mlocati)
    • ๐Ÿšš Autoload was moved from PSR-0 to PSR-4, and code files moved from /lib/Imagine to /src (@mlocati)