There are many libraries available for creating image effects and today I came across an interesting new library created to provide high performance image effects so that developers can avoid going into Photoshop every time they need to modify an image.
The library is AmazeKit from Detroit Labs. AmazeKit was designed to enable developers to add numerous image effects with aggressive image caching to help maintain performance similar to that found when simply displaying a PNG file. All through a very straightforward API.
The effects include:
– Corner Rounding
The readme states:
AmazeKit is an image rendering library for iOS. Its goal is to retain the performance of using .png-formatted images in UIKit classes, while avoiding the chore of creating these images in Photoshop, as well as the extra download size of bundling the images in the app. Images are rendered according to a collection of “image effects,” ranging from a simple gradient or corner radius to blurs, masks, and inner shadows.
AmazeKit also offers convenient UIKit support, automatically using the correct images as your controls change size. Retina displays are supported automatically, and AmazeKit aggressively caches rendered images to maintain optimal performance levels.
Here’s an image from the AmazeKit sample app. The image at top is a plan square image with beveling, noise, gradient, rounded edge, and coloring effects applied.
You can find AmazeKit on Github here.
Included is an example app showing how to apply many of the included effects.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.