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 an option to compress images with lossy minifcations #196

Open
grzegorzkrukowski opened this issue Jun 2, 2023 · 1 comment
Open

Comments

@grzegorzkrukowski
Copy link

Description

Having the option to specify the quality of processed images will be really useful:

CleanShot 2023-06-02 at 18 07 55@2x

Suggested Solution

Right now the --quality parameter affects only ImageAlpha. Adding a few more properties:
--jpeg-quality
--png-quality
--gif-quality
to have control over the quality same as in the ImageOptim application would allow using lossy minification also from the CLI

@taylorkline
Copy link

taylorkline commented May 15, 2024

Not strictly a +1, but it's very confusing that the CLI allows this option without requiring ImageAlpha. It's confusing to keep getting "No size savings" regardless of the --quality param specified.

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