Comments (2)
Hi @AndreasHeiberg ,
Thank your interest. Sorry for the late response. I was busy implementing the GIF support for GD in the last few days. FYI I have updated the Why Grafika? section here. But to answer your question:
- Smart crop - Grafika can guess the best crop position wherein the most interesting part of the image is preserved. Intervention has manual crop positions only. It can also do all crop positions that Imagine have along with an offset.
- Animated GIF support - Grafika can resize animated GIF on both GD and Imagick. Intervention can only do that on Imagick. Grafika has its own GIF decoder/encoder (in PHP) to be able to do this on GD while Intervention is just a thin wrapper on top of GD/Imagick.
- Image compare - Grafika can compare images. I dont think Intervention can do that.
- Advance Filters - Sobel and Floyd-Steinberg Dithering. These are the same image processing filters use in other languages.
- Emphasis on resizing - Resize functions are more prominent with their own function names. resizeFit, resizeFill, resizeExact, resizeExactWidth, and resizeExactHeight or use the generic resize api.
- Bezier curves on GD. I am not sure if Intervention supports bezier curves perhaps on Imagick only since Imagick has native bezier support.
There are also a lot of overlapping functions too such as basic filters. Grafika supports all the basic filters that Intervention has. Method chaining too.
As for functionalities that Intervention has that Grafika is missing:
- Basic transform functions (flip vert, horz). This are easy additions and will be in future releases of Grafika.
- exif info
- Image as HTTP responses - I have no plan on supporting this as Im sticking with filesystem i/o operations for images
Those are the stuff that I am aware of as I am not fully familiar with Interventions entire API.
from grafika.
Cool sounds like you're doing a fair bit differently :)
Image compare - Grafika can compare images. I dont think Intervention can do that.
I actually sent a PR to Intervention for that recently, so in due time it should.
from grafika.
Related Issues (20)
- Resizing image makes it blurry by default.
- alpha value doesn't affect when using rotating HOT 3
- src/Grafika/Imagick/Editor.php HOT 1
- 图片水印添加中文字体 HOT 5
- Add support for WebP format HOT 3
- grafika 如何把远程图片进行合并 结果以base64 输出? HOT 1
- 图片添加文字时,会有透明背景,怎么破 HOT 1
- imagecolorat(): x,y is out of bounds HOT 1
- the blend function has a bug
- resizeFill with a gif file
- blend image, PNG image blackening
- how compare from string eg. file_get_contents()
- No supported editor HOT 1
- setImageOpacity is deprecated from last stable version(3.4.4 - 2-19-05-02) You need upgrade HOT 1
- grafika似乎没有设置字间距的方法
- 如何创建一张圆角png图片?
- Active?
- Call to undefined method Imagick::setImageOpacity()
- 求支持php8或更高
- Call to undefined method GdImage::getPixelIterator() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafika.