Y'know how people say, "Don't reinvent the wheel?" The emphasis should be on the.
Don't reinvent THE wheel.
Feel free to invent a better wheel.
Better here can mean simpler, which allows users to be more productive. As far as I can tell, you've accomplished this much. So, good job, and thanks for sharing.
https://blog.codinghorror.com/dont-reinvent-the-wheel-unless...
-Unknown
There are a lot of room for new libs. Gfx needs are infinite. No single library can cover all needs fitting everyone requirements.
Interop between each is the key. And competion leads to success.
Stay tuned with gd 2.3 btw from a (much better aa pov along other things:)
One thing I'm interested in is blurring. Blurring seems to be pretty CPU intensive, but I'm hoping there's a better way to do it. Right now, I'm using Intervention Image, but I routinely have to blur photos which can take upwards of 2-3s per image (especially for larger ones). Maybe that's something you could tackle? :)
Just to be clear, here's why I made it:
- it aims to be an image processing lib. Not a an image manipulation lib which is just a small subset of image processing. Big difference. Also I fell in love with image processing. :-)
- Smart crop. Not present in other libs. I am surprised that in PHP cropping an image is a fairly common requirement. Yet none of the existing libs have it. I found one from an obscure drupal extension.
- Image compare. Not present in other libs. Fairly important and needed feature esp for CMS yet none existed.
- Advance filters. The default ones provided by GD and Imagick (not ImageMagick) are very basic filters. Right now only Sobel filter is implemented, more will be added in the future.
- Bezier Curves. Imagick is good but GD does not have it so I implemented a bezier curve algorithm manually porting it from a c++ code.
The future
- Seam carving
- More edge filters
- Full anti-aliased shapes and curves in GD. GD does not support anti-aliasing on all its shapes.
- Perhaps face detection but we'll see..
I think this is a worthy library to check out. Might not be for everyone though..