UIKit additions required for CGImage conversion