1

Trouble creating a bitmap blur effect on imageview in android

view story
linux-howto

http://stackoverflow.com – I am trying to create a blurred effect on an image being displayed in an image view. I have came across an example that stated downsizing the image in a bitmap and then upscaling it again (bilinear filtering I think), so far the image quality is really poor. I am trying to achieve a nice smooth blur. The code I am currently using is: originalImage = BitmapFactory.decodeResource(getResources(), mImageIds[coverFlow.getSelectedItemPosition()]); xPos = originalImage.getWidth() / 2; zoomedImage = Bitmap.createBitmap(originalImage, xPos / 2, yPos, width, height); (HowTos)