Rounded PHP is a an API for quickly and easily producing on-the-fly anti-aliased rounded corner images (corner, rounded rectangles, etc).
Why use this package? Perfectly smooth anti-aliased rounded corners are a nice reason. I decided I didn't like most of the code I found out there for making anti-aliased corners. Now, I'm no expert, but I like to keep a clean coding practice, and as simple as possible. So, I took my time with this one. And I believe I've created a very fast and efficient solution that is as extensible as it is usefull.
The anti-aliasing is not 'interpolated' like most of the scripts out there, this one computes percentage of a pixel consumed by the arc and generates the closest possible pixel colors. Excessive looping was a major concern in my scripts and I reduced the amount of computation to a minimum. In regards to the common concern of image processing in php being fairly taxing on system memory, I also chose to not use recursive algorithms.
What's New in This Release: [ read full changelog ]
· Opacity values for all colors (png format)
· Faster, more efficient antialias processing
· Packed script for quick and easy installation