Different ways to process images in iOS