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 option to control output jpeg quality #7

Open
mandys opened this issue Aug 18, 2021 · 1 comment
Open

add option to control output jpeg quality #7

mandys opened this issue Aug 18, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mandys
Copy link

mandys commented Aug 18, 2021

Thank you for this utility :-)

Question:

When I try to convert the image on your app
https://catdad-experiments.github.io/heic-app/

It takes in a 294KB heic image and outputs a 645KB image.

However, when I use the command line -

node bin < sample1.heic > sample1.jpg

sample1.jpg is 2.2 MB.

I guess quality is hardcoded to 1 ?

Any plans on giving an option to override it ?

@catdad
Copy link
Member

catdad commented Aug 20, 2021

I have no immediate plans to work on this module. This is a great idea, however. I will leave this open in case anyone wants to contribute.

@catdad catdad added the good first issue Good for newcomers label Aug 20, 2021
@catdad catdad changed the title How to control quality of jpeg image add option to control output jpeg quality Aug 20, 2021
@catdad catdad added the enhancement New feature or request label Aug 20, 2021
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