I would need to "chunk process" some Bitmaps of any size in Android. I can easily use BitmapRegionDecoder to create smaller chunks for processing, but once done, I need to reassemble them into one file. Because the final image can be any size, creating the corresponding Bitmap in memory and writing on it using a Canvas is not an option.
I have seen this thread but I would like to do this without external library (I am limited with these as using Android). Ideally I am after some kind of BitmapRegionEncoder. I do not really care about the output format as long as it is image (PNG, JPG or even BMP). I am also happy to do it in C using JNI if not possible in Java.