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

Ability to set compression level #5

Open
davidwolfpaw opened this issue Jan 5, 2023 · 2 comments
Open

Ability to set compression level #5

davidwolfpaw opened this issue Jan 5, 2023 · 2 comments

Comments

@davidwolfpaw
Copy link

I have been testing out the workflow, and I greatly appreciate something that takes a menial task that I regularly perform and streamlines it.

I must have something different setup than default in the app, as my optimizations via the ImageOptim app versus the workflow are a lot more compressed.

I'm curious if an option could be added to adjust the level of optimization that is done.

@AlexanderWillner
Copy link
Owner

Thanks, mh, the workflow basically runs all image optimisers it can find - so what might happen here largely depends on the type of image (JPEG is assume?) and the installed app (jpegtran and jpegoptim are supported). Can you elaborate?

@davidwolfpaw
Copy link
Author

Apologies for the delay; I did not see the notification for your quick update!

I installed as many of the optimizers listed as I could find through homebrew, which are the following:

jpegoptim
gifsicle
pngcrush
oxipng
pngquant

These ones were unavailable via homebrew:

jpegtran
svgcleaner
advpng
zopflipng
pngout

I grabbed a folder of a handful of jpgs, pngs, and gifs to test. The results are better than prior to the additional installations, though still not the same:
Unoptimized - 34.8MB
ImageOptim - 12.4MB
Alfred Workflow - 15.9MB

Either way, it's an improvement!

My hope was to have preferences that could be set, as the ImageOptim app itself as, for things like which optimization tools are used, as well as the quality settings for the output images.

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