objective-c,cocoa,nsimage,image-rotation,nsaffinetransform
I still don't know the root cause of this, but one work around is to save to the JPEG representation instead of the TIFF. The method I wrote is as follows : - (void)CompressAndSaveImg:(NSImage *)img ToDiskAt:(NSString *)path WithCompressionFactor:(float)value{ NSData *imgData = [img TIFFRepresentation]; NSBitmapImageRep *imgRep = [NSBitmapImageRep imageRepWithData:imgData]; NSNumber *compressionFactor...