-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
How do I use the imageAlpha functionality? #2
Comments
Okay, I just tried |
Thanks a lot @joeldbirch, here are some responses;
Thanks again, anything else you spot please raise an issue. |
Hey @joeldbirch, I'll close this as the other issues you mentioned are tracked elsewhere. Thanks. |
Great, thanks. :) |
This is amazing because optimising pngs is one of the parts of my process that still requires manual effort. Thanks for your work.
I could easily be mistaken, but grunt-contrib-imagemin seems to do what imageOptim does, but I'm really keen on grunt-imageoptim for its apparent imageAlpha integration. I'm imagining a perfect scenario where it allows me to set a default imageAlpha options (eg. 32 colours, Median Cut, Dithered) and have those applied to pngs before running imageOptim.
However, I'm having a trouble figuring out how to get imageAlpha to work at all. Are there any undocumented options I should add to its grunt config? I tried to get imageAlpha to happen via raw command line (just to see it work) via
imageOptim -da 'assets/img'
but that just brings up the usage info. However,imageOptim -d 'assets/img'
does run imageOptim on the images, so that seems to be installed okay.I'm probably missing something here, but if anyone could enlighten me on this I'd be most appreciative.
The text was updated successfully, but these errors were encountered: