Skip to content

Feuer Image Editor is a PHP image handling and manipulation library, made to fill the gaps between Imagick and GD, with focus on greater text handling (like text boxes, which is absent on similar libraries)

License

PaiCthulhu/feuerImageEditor

Repository files navigation

Feuer Image Editor

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Feuer Image Editor is a PHP image handling and manipulation library, made to fill the gaps between Imagick and GD, with focus on greater text handling (like text boxes, which is absent on similar libraries)

Install

Via Composer

$ composer require pai-cthulhu/feuerimageeditor

Usage

Simple thumbnail example

$img = Image::open('/path/to/file.jpg');
$img->thumb('/path/to/thumb.jpg');

Textbox

$img = Image::open('/path/to/file.jpg');

$tb = new Textbox();
$tb->setPos(0, 120)
    ->setSize(400, 150)
    ->setBGColor('#f28d1a')
    ->setFont('/path/to/font.ttf', 32)
    ->setColor('#ffffff')
    ->setText('Hello World!')
    ->setAlignment(Align::CENTER, Align::MIDDLE);
$img->addLayer($tb);

$img->save('/path/to/save/file.jpg');

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email william.jvenancio@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Feuer Image Editor is a PHP image handling and manipulation library, made to fill the gaps between Imagick and GD, with focus on greater text handling (like text boxes, which is absent on similar libraries)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages