Open chico opened 10 years ago
I've had to use RenderScript instead of mGPUImage.saveToPictures so that the main UI isn't blocked. Luckily RSImage (https://github.com/fuzz-productions/RSImage), a project based off GPUImage with ready made renderscripts, made this possible. I've found that RenderScript isn't any quicker at processing the image but at least it can be done in an async task.
So your problem solved?? me too trying to fix this issue?Any help please?
I'm afraid saving high resolution pictures with decent performance and consistent on all Android devices is actually quite hard. I had to outsource the work to someone who is specialised in this type of work to solve this issue. Sorry I can't be of more help.
Okay.Thank You :)
i have a save issue. when i saveTopictures method call get UI block.. how to solve this issue
Hi, I'm using GPUImage with preview and I've cloned the code from ActivityCamera.java from the sample into my own project. GPUImage works great except when the image is saved the UI gets blocked, specifically when GPUImage.saveToPictures is called. The screen goes black and it can take up to 5 seconds to save a 3264x2448 image on my Nexus 4.
Here's a code snippet from: https://gist.github.com/chico/7b374a28691de4a1f957