From 4962922e268aa7535e5184bf3e7f35ed4d40a6f7 Mon Sep 17 00:00:00 2001 From: onevcat Date: Fri, 21 Oct 2016 10:11:19 +0900 Subject: [PATCH] Fix blender --- APNGKit/Frame.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APNGKit/Frame.swift b/APNGKit/Frame.swift index 2ed0c1d..f9b0fad 100644 --- a/APNGKit/Frame.swift +++ b/APNGKit/Frame.swift @@ -78,7 +78,7 @@ struct Frame { } if let imageRef = CGImageCreate(width, height, bits, bits * 4, bytesInRow, CGColorSpaceCreateDeviceRGB(), - [CGBitmapInfo.ByteOrder32Big, CGBitmapInfo(rawValue: blend ? CGImageAlphaInfo.Last.rawValue : CGImageAlphaInfo.PremultipliedLast.rawValue)], + [CGBitmapInfo.ByteOrder32Big, CGBitmapInfo(rawValue: blend ? CGImageAlphaInfo.PremultipliedLast.rawValue : CGImageAlphaInfo.Last.rawValue)], provider, nil, false, .RenderingIntentDefault) { image = UIImage(CGImage: imageRef, scale: scale, orientation: .Up)