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

Adding compression quality as parameter of ResizeOption. Fixes #41. #42

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

shtolik
Copy link
Contributor

@shtolik shtolik commented Jan 11, 2024

Adding compression quality as parameter of ResizeOption. Fixes #41

@onseok
Copy link
Owner

onseok commented Jan 12, 2024

Hey @shtolik, overall, your contribution looks good to me – really appreciate your work on adding the JPEG compression rate along with the resize options.

I've left a code review with one small request: could we add a validation check to ensure that the compression quality value remains between 0 and 1? If a user inputs a value above 1.0, it might lead to issues since the compression quality in JPEG format is typically defined within this range. Implementing this safeguard will help maintain the robustness of the library.

@onseok onseok self-requested a review January 15, 2024 07:51
Copy link
Owner

@onseok onseok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a brief review. I'd appreciate it if you could check it and make any necessary changes. Thank you, @shtolik

@shtolik
Copy link
Contributor Author

shtolik commented Mar 7, 2024

Pushed changes fixing suggestions.
Sorry for late fix

gradle/libs.versions.toml Outdated Show resolved Hide resolved
Copy link
Owner

@onseok onseok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your contribution! 👍

@onseok onseok merged commit ad6a20d into onseok:main Mar 10, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

Jpeg compression quatlity as parameter for rememberImagePickerLauncher
3 participants