Closed cannyboy closed 10 years ago
Hi, I have the same issue..How to solve it?
Go to GlimpseAssetWriter.m -(CVPixelBufferRef)pixelBufferForImage:(UIImage *)image method in GlimpseAssetWriter.m You just need to Comment these three lines, //CGContextConcatCTM(context, CGAffineTransformMakeRotation(0)); // CGContextConcatCTM(context, CGAffineTransformMake(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, CGImageGetHeight(cgImage))); //CGContextConcatCTM(context, CGAffineTransformMake(-1.0f, 0.0f, 0.0f, 1.0f, CGImageGetWidth(cgImage), 0.0f)); It works fine.
I added a UISwitch to the sample app, and noticed that the the view is recorded upside down: http://cl.ly/3U2w3o1R3I33