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

Select Image OOME #33

Open
Genie0228 opened this issue Dec 30, 2015 · 4 comments
Open

Select Image OOME #33

Genie0228 opened this issue Dec 30, 2015 · 4 comments

Comments

@Genie0228
Copy link

Hi,

i choose my photos,

and it's crush by oome...

how to fix this???

@shivanraptor
Copy link

Verified the issue using the demo App provided. When choosing up to 3 ~ 5 photos, memory footprints become significant and the App becomes laggy. The App crashes with Out of Memory Exception (OOME) finally.

How to resolve this issue?

@1gravity
Copy link
Owner

1gravity commented Jan 6, 2016

There's not fix for this except to scale down the images

@shivanraptor
Copy link

Do you mean I have to scale down the images first, before adding to the editor? How can I do so? I directly pick images from device's album.

@1gravity
Copy link
Owner

1gravity commented Jan 6, 2016

Yes.
The scaling would have to be added to the rich text editor component. Some of the functionality is already in place when taking pictures (not picking a picture from the album).
I think what makes sense is a dialog that allows the user to scale the image to certain given sizes (e.g. 10%, 25%, 50%, 75%).
You're welcome to submit a pull request for this.

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

No branches or pull requests

3 participants