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

Add the abilitity to include ResizeOptions with either rememberPeekabooCameraState or PeekabooCamera #94

Open
DevinDuricka opened this issue Jul 16, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DevinDuricka
Copy link

It would be nice to include the resize options with the image capture. Ideally I would like to share the same resize options between the camera and the gallery selector.


[Background]
I was running into an issue when viewing captured images in a lazy grid. The scroll effect was pretty choppy because it was rendering the full size images.
I found a workaround to the scroll issue, using Coil v3's AsyncImage to handle the caching and display of the image. Much smoother now.
I did realize though, that when I upload these images to a server, especially in a low bandwidth area, I would like to pre-compress the images, but I haven't found a good utility for that yet (hence this issue). I have a max size for an image for the server, so it would be nice to just set the global resize option for both sources of images.

@onseok onseok added enhancement New feature or request good first issue Good for newcomers labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants