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

Compression Format, Quality #67

Open
cohortor opened this issue Mar 2, 2021 · 1 comment
Open

Compression Format, Quality #67

cohortor opened this issue Mar 2, 2021 · 1 comment

Comments

@cohortor
Copy link

cohortor commented Mar 2, 2021

First, thank you for building this rather useful plugin!!

If I may, I would suggest adding the ability to set at least the quality (maybe even the format) of the output files via the plugin APIs.

As of version 0.3.4 (in Android), bitmap.compress() is called with the hadrcoded params of Bitmap.CompressFormat.JPEG, quality=100.

Looking at any one of the graphs comparing JPG image quality versus output file size, I would argue quite a few (perhaps even most) use cases would benefit from a compression quality value less than the current 100 for the output images generated by this plugin.

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

2 participants
@cohortor and others