Library - EnDecrypt
#ImageResize
#OverView
ImageResizer is a php library that help you quickly resize a image to bigger and smaller. This is very esay and simple so you can customize the code if you want. Thank you for using the library.
#Support Type
- GIF - support
- JPEG - support
- PNG - support
- BMP - NOT support
#Server Requirements
some OS distributions may require you to manually install the PHP GD extension. When using Ubuntu, this can be done via apt-get install php-gd.
#How To Use
PHP code
<?php
use CafeLatte\Libraries\ImageResize;
try {
$newFileName = ImageResize::create("test.jpg", './', 100, 100, 100, "auto")->getResult();
echo $newFileName;
} catch (Exception $ex) {
echo $ex->getMessage();
};