deployhuman / phpimagehandler
Simple handling of images in php, gd or imagick
dev-main
2022-02-09 20:17 UTC
Requires
- php: ^8.0
Suggests
- ext-gd: *
- ext-imagick: *
This package is auto-updated.
Last update: 2024-11-10 02:24:49 UTC
README
Quick repo for easy handling of image
Will work both with GD and Imagick Extensions.
Removes all Exif data.
Composer
To install using Composer
composer require deployhuman/PHPImageHandler dev-main
Getting Started
<?php require_once(__DIR__ . '/vendor/autoload.php'); $image = new Image('c:\filepath\image.jpg'); $image->adaptiveResize(100,200,true); $image-saveToFile('c:\filepath\newimage.png'); ?>