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

Allow big image files #91

Open
martinstingl opened this issue Sep 12, 2021 · 6 comments
Open

Allow big image files #91

martinstingl opened this issue Sep 12, 2021 · 6 comments

Comments

@martinstingl
Copy link

My phone makes photos with 9248x6936 pixels in default mode which results in files > 25 MByte.
I failed to upload a picture with that size, the Upload button does not work.
If necessary please shrink them automatically.

@xlcrr
Copy link
Member

xlcrr commented Sep 12, 2021

Hi, thanks for letting us know. 25mb seems like a lot of data. Is there any way you could decrease that when collecting data? It will probably take a long time to upload. We can and do resize the images during upload, but they have to be uploaded first. Down-sampling is needed on the device before uploading I think

@martinstingl
Copy link
Author

martinstingl commented Sep 12, 2021

Couldn't the shrinking been done by the app before upload if necessary?

@xlcrr
Copy link
Member

xlcrr commented Sep 16, 2021

@martinstingl I'm not sure. 25mb seems incredibly large. Can you decrease quality? @sudoDeznit do you know or do you have any ideas?

@sudoDeznit
Copy link
Collaborator

We can try to compress images on the app. for the start we can just compress images that are larger than our upload limit.
But will have to look into performance, we can give it a try.

@martinstingl
Copy link
Author

Using the camera function inside OpenLitterMap there is no way to decrease the image resolution for me.
I got no error message that the upload does not work with that image, the button simply does not work.

@xlcrr
Copy link
Member

xlcrr commented Oct 17, 2021

Thanks for the report @martinstingl. OpenLitterMap is in development, we will try to address these issues in the next update

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