Giter VIP home page Giter VIP logo

Comments (2)

kosinix avatar kosinix commented on August 20, 2024

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.

andheiberg avatar andheiberg commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.