Skip to content
Library for handling image resources
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
README.md
composer.json
phpunit.xml

README.md

ImageHelper

Help with loading and resizing images (including ICO icons) from strings and returning image resources for use with the gd library.

Supports alpha transparency and upscaling

Other useful methods to follow.

Usage

$data = file_get_contents('image.file');
$imageHelper = new ImageHelper($data);
$resized = $imageHelper->resize(256, 256, true);
imagepng($resized);
You can’t perform that action at this time.