Closed SammyVimes closed 10 years ago
Yes it was obviously a bug. Fixed it. https://github.com/suckgamony/RapidDecoder/commit/2a044eaae71b4c090064d81063dd2607faea1fc9
Thanks!
I'm using this library to get a bitmap from Inputstream. I'm using the below lines: decoder = BitmapDecoder.from(content.getPanelNav().getImageStream(index)).scaleBy(0.5f); bitmap = decoder .scale(getDeviceWidth(), getDeviceHeight()) .useBuiltInDecoder(true) .decode(); It is always giving "OutOfMemoryError", even if the image is in large size(6 MB)or small size(1-3MB). Can you please suggest me what is the issue here.
Any updates from this?
Say I have 690*10700 image. I want to show it's top part (0;0) - (690;1200). I have variable "regional" in executeDecoding method of BitmapLoader set to false. But it is obviously wrong.