i have used GPUImage framework, while run example code for SimplePhotoFilter (i have used GPUImageSketchFilter) in iPad am getting some dots over the filtered image, like this:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is due to a known bug in the iOS 5.x texture caches, and I filed a bug report on it a while ago. Usually, it only strikes when using something other than the AVCaptureSessionPresetPhoto preset with an AVCaptureStillImageOutput, but it appears that this can also occur on that preset in certain conditions.
Given the NDA, I can’t say whether this has been fixed in iOS 6.0, but try running this with the beta and see for yourself.
As a workaround for iOS 5.x, you can edit the
+supportsFastTextureUploadmethod in GPUImageOpenGLESContext to always return NO. This will disable the texture cache support in the framework, but may lead to slower image processing and greater memory consumption when taking photos.