Converting between multiple image formats in Objective-C
问题 I want to be able to, being given a path to an image, convert that image into another image, but with a different format. By format I mean .png, .bmp .jpg .tiff, etc. In pseudocode, this is really easy: image = [ImageAPI open: imagePath] [image save: imagePath withFormat: IMAGEFORMAT] // this is important I have no idea how to do this, though. I barely know more than the NSImage class when it comes to handling images), and that does not seem to have the answer to my problem (no simple save