If you’ve got or are working on any sort of app for image editing or drawing and multiple layers chances are you’re going to want to support the PSD image format used by Photoshop.
Here’s a library called PSDWriter from Ben Gotow that makes adding support for the PSD format dead simple. With this library you simply need to specify the images for each layer, opacity level, location offset, the layer names and generate the PSD.
There is an example included that takes two PNG images and turns them into a .PSD file.
You can find PSDWriter on Github here.
If you run the included iOS demo you may need to change the save directory of the PSD file to someplace like your documents directory.
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.