mbcharbonneau / UIImage-Categories

🛠 A fork of Trevor Harmon's UIImage category methods, updated for the latest versions of iOS.
http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/
MIT License
492 stars 152 forks source link

kCGImageAlphaPremultipliedLast Fix #14

Closed chenly closed 8 years ago

chenly commented 11 years ago

Changes the type of the last argument to a call to CGBitmapContextCreate (without changing the actual value passed in the argument) to silence a compiler warning in Xcode 5.

mbcharbonneau commented 8 years ago

Apologies for leaving this open for so long! As you can guess, I no longer use this code in any of my current projects. If you’re still interested in this PR, could you verify it’s compatible with Xcode 7 and provide a test image to prevent future regressions? Thanks, and I apologize for not responding before!