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

PickImageFromGallery image size #23

Open
sa4ek opened this issue Sep 17, 2020 · 1 comment
Open

PickImageFromGallery image size #23

sa4ek opened this issue Sep 17, 2020 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@sa4ek
Copy link

sa4ek commented Sep 17, 2020

I am trying to upload an image a little over 10mb, but unfortunately the application crashes after such attempts. What can be done?
When working with small images, there is no such problem.

@stan-osipov stan-osipov self-assigned this Nov 9, 2020
@stan-osipov stan-osipov added the question Further information is requested label Nov 9, 2020
@stan-osipov
Copy link
Contributor

Hey!
Are you trying to get a bug image from the library but getting a crash instead? I want to make sure that I got you right.

With the plugin API, there are 2 abilities.

  1. You can limit image resolution, exactly for the reason because you do not want 10mb texture in our game. Not all devices can even handle resolution over 4096*4096.
  2. Plugin also provides a local image path so you can still gain access to the full-size user picked image, for example, if you would like to modify it or upload somewhere without loading into Unity.

Hope that helps. But if not please share your code sample so we can look further. I will keep the issue open for some time.
Thanks!

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

No branches or pull requests

2 participants