geo6 / php-image-tools
This package is abandoned and no longer maintained.
The author suggests using the intervention/image package instead.
PHP Library that provides tools for image processing (thumbnail, EXIF rotation, ...)
v1.0.6
2019-04-01 13:39 UTC
Requires
- php: ^7.2
- ext-gd: *
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^0.10.6
- phpstan/phpstan-strict-rules: ^0.10.1
- squizlabs/php_codesniffer: ^3.3
README
This package is abandoned and no longer maintained. The author suggests using the intervention/image package instead.
Install
composer require geo6/php-image-tools
Functions
This library provides following functions :
thumbnail()
Generates thumbnail by defining maximum size for the long side of your image.
EXIFRotate()
Rotates your image based on EXIF Orientation
parameter (see https://www.impulseadventure.com/photo/exif-orientation.html).
save()
Save your (new) image on the disk.
display()
Send your image to the browser with correct headers to display it.