Registry / utility / claviska-simpleimage

claviska-simpleimage

JSON →
library4.4.0phppackagistunverified

A PHP class that makes working with images as simple as possible.

composer require claviska/simpleimage
INSTALL
IMPORT
SIG · CLAVISKA-SIMPLEIMA
C
claviska-simpleimage
utilityphpv4.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleImage
use claviska\SimpleImage;

Load an image, resize it, and save the thumbnail.

use claviska\SimpleImage; $image = new SimpleImage(); $image->fromFile('photo.jpg')->resize(200, 200)->toFile('thumb.jpg');
Debug
Known issues
gotchaRequires GD extension; not compatible with Imagick.
fix
Ensure the GD extension is installed and enabled in PHP.
affects: >=4.0.0
Upgrade
Version history
4.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
claviska-simpleimage — pip install claviska-simpleimage · libregistry