 	public func resize(width  width: Int, height: Int, interpolationQuality: CGInterpolationQuality) -> Image<Pixel> {
 		return Image(width: width, height: height) { context in
 			CGContextSetInterpolationQuality(context, interpolationQuality)
-			CGContextDrawImage(context, CGRect(x: 0.0, y: 0.0, width: CGFloat(width), height: CGFloat(height)), self.CGImage)
+			CGContextDrawImage(context, CGRect(x: 0.0, y: 0.0, width: CGFloat(width), height: CGFloat(height)), self.cgImage)
 		}
 	}
 }
 
 extension Image where Pixel: RGBAType { // CoreGraphics
-	public init(CGImage: CGImageRef) {
-		let width = CGImageGetWidth(CGImage)
-		let height = CGImageGetHeight(CGImage)
+	public init(cgImage: CGImageRef) {
+		let width = CGImageGetWidth(cgImage)
+		let height = CGImageGetHeight(cgImage)
 		
 		self.init(width: width, height: height, setUp: { context in
 			let rect = CGRect(x: 0.0, y: 0.0, width: CGFloat(width), height: CGFloat(height))
-			CGContextDrawImage(context, rect, CGImage)
+			CGContextDrawImage(context, rect, cgImage)
 		})
 	}
 	

		}
		
		public var nsImage: NSImage {
			return NSImage(CGImage: CGImage, size: NSSize.zero)
		}
	}
#endif

extension Image where Pixel: RGBAType  { // UIKit
	public init?(uiImage: UIImage) {
		guard let cgImage: CGImageRef = uiImage.CGImage else { return nil }
		self.init(cgImage: cgImage)
	}
	
	private init?(UIImageOrNil: UIImage?) {
