renderscript

Fast Bitmap Blur For Android SDK

旧时模样 提交于 2019-11-26 01:23:12
问题 Currently in an Android application that I\'m developing I\'m looping through the pixels of an image to blur it. This takes about 30 seconds on a 640x480 image. While browsing apps in the Android Market I came across one that includes a blur feature and their blur is very fast (like 5 seconds) so they must be using a different method of blurring. Anyone know a faster way other than looping through the pixels? 回答1: This is a shot in the dark, but you might try shrinking the image and then