I'm building a Kitura web application, and I need the ability to process user uploaded images.
I have an instance of Foundation's Data, and I'd like to do the following without using any Cocoa libraries/frameworks (other than Foundation):
- Verify if 
Datais a valid image file - Convert image to 
.png - Check the resolution of the image
 - Resize the image file to a specific width, with height following proportion
 - Save to local file system
 
How would I do this? I'm fine with using third party libraries / frameworks as long as they work on Linux.