# Grafika [![Build Status](https://travis-ci.org/kosinix/grafika.svg?branch=master)](https://travis-ci.org/kosinix/grafika) An image processing library for PHP ## Unique Features These are the features that make Grafika unique from other libs: - [Smart Crop](https://kosinix.github.io/grafika/smart-crop.html) - Grafika can guess the crop position based on the image content where the most important regions are preserved. - [Animated GIF Support](https://kosinix.github.io/grafika/animated-gif.html) - It can resize animated GIFs on both GD and Imagick. On GD, Grafika uses its own GIF parser to do this. - [5 Resize Modes](https://kosinix.github.io/grafika/resizing.html) - 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](https://kosinix.github.io/grafika/compare-images.html) - Find how similar two images are using perceptual hashes or check if they are exactly equal. - [Advance Filters](https://kosinix.github.io/grafika/filters/Sobel.html) - Sobel and Floyd-Steinberg Dithering. More will be added in future releases. - [Image Blending](https://kosinix.github.io/grafika/editor/blend.html) - 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](https://kosinix.github.io/grafika) ## API: [https://kosinix.github.io/grafika/api](https://kosinix.github.io/grafika/api) ## Packagist [https://packagist.org/packages/kosinix/grafika](https://packagist.org/packages/kosinix/grafika) ## License - MIT License - GPL 2