Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory #3

Open
ghost opened this issue Nov 6, 2014 · 5 comments
Open

Out of memory #3

ghost opened this issue Nov 6, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 6, 2014

Hi all,
I using regional decoding as:
Bitmap bitmap = BitmapDecoder.from("abc.jpeg")
.region(0, 0, 1080, 1920)
.scaleBy(1)
.decode();
This for image has high solution (14400 × 9600). App is crashed. How to fix it?
Thanks

@skgmn
Copy link
Owner

skgmn commented Nov 6, 2014

I think it's a same bug with #2.
Check if you are using the latest version.

@ghost
Copy link
Author

ghost commented Nov 6, 2014

Yes, it is latest version

@danielgomezrico
Copy link

Any updates on this?

@skgmn
Copy link
Owner

skgmn commented Apr 30, 2015

I still don't know what the problem is but some bugs have been fixed which are related to jpeg regional decoding. It's still in the develop branch and I will release a new version soon so that you can test the case.

@pba-cra
Copy link

pba-cra commented Sep 6, 2016

you load a too big image,I think when you load a big bitmap,you should load justBounds caculate the bitmap size with ARGB8888.if too big should decode insimpleSize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants