Android : Renderscript: ScriptIntrinsicConvolve on very large images

on Wednesday, August 6, 2014


I have a JPEG image on the sdcard that's 4096x3072. I want to apply a sharpening convolve matrix using ScriptIntrinsicsConvolve3x3. I've been able to load my image into a bitmap and then use Allocation.copyFrom(Bitmap) to get the script working, but the maximum bitmap size that I can load on the device is 2048x2048, so I end up losing quality and having to shrink my image. Is there a way to run the script on the whole image?


0 comments:

Post a Comment