Skip to content
An image processing library for PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Generated 2.x api docs Sep 27, 2016
doc-src Fix incorrect logic and regen image section Sep 27, 2016
docs Fix incorrect logic and regen image section Sep 27, 2016
fonts Initial commit Jul 24, 2016
src Fix crop double offset bug Feb 9, 2017
tests Match with GD test Sep 27, 2016
.gitattributes
.gitignore
.travis.yml
README.md
composer.json Change homepage to point to github page (gh-pages) Jul 29, 2016
license.txt
phpunit.xml Initial commit Jul 24, 2016
sami.phar Initial commit Jul 24, 2016
samiconf.php Initial commit Jul 24, 2016

README.md

Grafika

Build Status

An image processing library for PHP

Unique Features

These are the features that make Grafika unique from other libs:

  • Smart Crop - Grafika can guess the crop position based on the image content where the most important regions are preserved.
  • Animated GIF Support - It can resize animated GIFs on both GD and Imagick. On GD, Grafika uses its own GIF parser to do this.
  • 5 Resize Modes - Resize is a first class citizen in Grafika. Call them directly using resizeFit, resizeFill, resizeExact, resizeExactWidth, and resizeExactHeight or use the generic resize api.
  • Image Compare - Find how similar two images are using perceptual hashes or check if they are exactly equal.
  • Advance Filters - Sobel and Floyd-Steinberg Dithering. More will be added in future releases.
  • Image Blending - Blend 2 images using the following modes: normal, multiply, overlay and screen.
  • Normalized API - No need to worry about the differences between GD and Imagick API, Grafika normalizes these operations for you.

See documentation for a full list of features.

Documentation

https://kosinix.github.io/grafika

API:

https://kosinix.github.io/grafika/api

Packagist

https://packagist.org/packages/kosinix/grafika

License

  • MIT License
  • GPL 2
You can’t perform that action at this time.