Skip to content
  • 2.6.0
  • f23bafa
  • Compare
    Choose a tag to compare
    Search for a tag
  • 2.6.0
  • f23bafa
  • Compare
    Choose a tag to compare
    Search for a tag

@stefangabos stefangabos released this Jun 1, 2020

  • added sport for the WEBP format
  • handle GD bug where transparency is lost when rotating at angles of 90, 180 and 270 degrees
  • fixed #22; thanks to Almir Neto for reporting!
Assets 2

@stefangabos stefangabos released this Feb 16, 2020

  • fixed bug introduced in previous release because of the new argument added to the crop method
  • progressive JPEGs can now be saved by setting the newly added jpeg_interlace property; thanks tohizma for suggesting!
Assets 2

@stefangabos stefangabos released this Jan 24, 2020

  • added the background_color argument to the crop() method; used when the cropping coordinates are off-scale (negative values and/or values greater than the image's size) to fill the remaining space; see #18; thank you Thomas Skerbis!
Assets 2

@stefangabos stefangabos released this Jun 6, 2019

  • the default value of the "background_color" argument of the "resize" method is now -1 (for preserving transparency)
  • fixed bug where saving to gif would lose transparency
  • fixed transparency not being preserved when rotating PNG images
  • fixed warnings shown when the target file was a gif but the source file was not
  • memory is freed after images are written
Assets 2

@stefangabos stefangabos released this Aug 21, 2017

  • fixed a bug where the script would generate a warning if auto_handle_exif_orientation was TRUE and the image in case was not a JPEG; thanks to @Hoffi1, see #11
  • fixed a bug where resizing transparent images to a format not supporting transparency, while having the enlarge_smaller_images attribute set to TRUE would lead to unexpected background colours for the resulting images
Assets 2

@stefangabos stefangabos released this May 22, 2017

  • minor source code tweaks
  • unnecessary files are no more included when downloading from GitHub or via Composer
  • documentation is now available in the repository and on GitHub
  • the home of the library is now exclusively on GitHub
Assets 2

@stefangabos stefangabos released this May 16, 2016

  • use the newly added auto_handle_exif_orientation property for auto fixing image rotation if EXIF information is available; requires PHP to be configured with exif-support via --enable-exif (or, for Windows user, by enabling the php_mbstring.dll and php_exif.dll extensions); thanks to Sebi Popa
Assets 2

@stefangabos stefangabos released this Aug 1, 2014

  • better integration with composer; thanks to Richard Griffith
  • dropped support for PHP4; the library now requires PHP5+
Assets 2