Release Notes: Two bugs that caused the script to throw warnings were fixed.
Release Notes: A new property is now available: png_compression, which determines the compression level of PNG files. The value of this property is ignored for PHP versions older than 5.1.2. Another new property is sharpen_images which, when enabled, will instruct the script to apply a "sharpen" filter to the resulting images. It can be very useful when creating thumbnails, but should be used only when creating thumbnails. The sharpen filter relies on PHP's imageconvolution function, which is available only for PHP version 5.1.0+, and will leave the images untouched for older versions.
Release Notes: A bug where the script would produce warnings on some particular transparent GIF images was fixed.
Release Notes: A bug where the rotate method was not working correctly on transparent PNG/GIF images was fixed. The overall handling of transparent images was improved. The “flip_both” method was added, which flips an image both vertically and horizontally. The code for the flip_horizontal and flip_vertical methods was rewritten. A more explicit example was added.
Release Notes: The entire code was audited and improved and most of the method names, method arguments, and global properties were changed, breaking compatibility with previous versions. In addition, the resize() method was improved, and can now resize an image to an exact width and height and still maintain the aspect ratio by making use of the crop() method.
Release Notes: A bug was fixed where the resize() method would produce unexpected results when the actual width of the image was smaller than the value of the resizeToWidth property and resizeIfSmaller property was set to FALSE. In this case, if the height of the image was to be adjusted upwards, the width of the image was increased indefinitely, not taking into account the value of resizeToWidth.
Release Notes: The crop() method was added. The preserveSourceFileTime property was added, which instructs the scripts to preserve the date and time of the source files and pass them on to the target files. The flip methods now use the imagecopyresampled function instead of using imagecopy. The script no longer crashes when a valid path which is not a file is specified as a source file. Error handling for the create_image_from_source_file() private method was fixed, so the script can no longer be easily crashed by specifying bogus source files.
Release Notes: If invalid sizes were specified for resizing (i.e. string or negative numbers) the script would crash. Resizing of transparent PNG24 files was not working. Working with PNG files would always make the value of the "error" property equal to 5, even if everything went well. When resizing, interpolation was not used and the resulting images were rough. Resizing was not working correctly in some cases. All of these bugs have been fixed. The imagecopyresampled() function is now used instead of imagecopyresized().
No changes have been submitted for this release.