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

PNG or JPG? #7

Open
marob opened this issue Feb 17, 2016 · 1 comment
Open

PNG or JPG? #7

marob opened this issue Feb 17, 2016 · 1 comment

Comments

@marob
Copy link

marob commented Feb 17, 2016

When succss creates ".png" files, it is in fact JPGs!

A file theFile.png command tells: JPEG image data, JFIF standard 1.01

@FDiskas
Copy link

FDiskas commented Apr 24, 2017

Succss.options = {
    imgType: 'png',
    imgQuality: 100,
...

npm install optipng --save-dev
add script to package.json

"optimize": "./node_modules/.bin/optipng css_test/img/*"

And this will be png at the result.

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