A single-file lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters
WEBP
images in PHP version lower than 7.0.1ZEBRA_IMAGE_BOXED
or ZEBRA_IMAGE_NOT_BOXED
methods when resizingbackground_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!auto_handle_exif_orientation
was TRUE
and the image in case was not a JPEG; thanks to @Hoffi1, see #11enlarge_smaller_images
attribute set to TRUE
would lead to unexpected background colours for the resulting images