netlify-plugin-image-optim
netlify-plugin-image-optim copied to clipboard
Optimize images as part of your Netlify build process. Optimizes PNG, JPEG, GIF and SVG file formats.
This enables the progressive option on jpegtran. Should improve visual perception of download speed for processed jpegs and marginally reduce filesize with no loss of quality.
Hello I tried to install image optim on `Hugo v 0.69.2` and I tried to deploy it I got the error bellow also I tried to install it manually then...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...
Is it possible to supply a configuration option that will allow to use `imagemin-jpegtran`'s progressive option? https://github.com/imagemin/imagemin-jpegtran I'll gladly supply a PR if you concur!
I'm using the plugin on my site and found it removes some of the CSS animations in my SVG files there is an open thread on the Netlify community form...
`imagemin` can fail when images are invalid. For example: ``` Error in file: _site/images/dev-notes/louyang_give_random_options.gif gifsicle:/tmp/dc6ecfb2-8c1d-42e0-885b-21156391edb5:#91: read error: missing 48918 pixels of image data gifsicle:/tmp/dc6ecfb2-8c1d-42e0-885b-21156391edb5:#91: fatal error: too many missing pixels,...
I have noticed this now on two sites and it's not because I've achieved all the reduction I could have locally. It doesn't work with big images: ![Screenshot_2020-07-21 Deploy details...
Right now, it optimizes images too much, they become unenjoyable. It would be great to be able to control how much we want to optimize them.
The following error is happening in some builds: ``` Cannot create property 'message' on string 'Error in parsing SVG: Unbound namespace prefix: "xlink" Line: 0 Column: 456 Char: >' /opt/buildhome/.netlify-build-plugins/node_modules/imagemin-keep-folder/index.js:48:16...
The following error happens in some builds: ``` Error in file: build/static/media/animated_logo.52e0714e.svg Cannot read property 'each' of undefined /opt/buildhome/.netlify-build-plugins/node_modules/svgo/lib/css-tools.js:26:31 Object.enter /opt/buildhome/.netlify-build-plugins/node_modules/css-tree/lib/walker/create.js:11:16 Object. /opt/buildhome/.netlify-build-plugins/node_modules/css-tree/lib/walker/create.js:160:19 List.walkNode /opt/buildhome/.netlify-build-plugins/node_modules/css-tree/lib/common/List.js:158:12 List.each /opt/buildhome/.netlify-build-plugins/node_modules/css-tree/lib/walker/create.js:106:29 Object.StyleSheet /opt/buildhome/.netlify-build-plugins/node_modules/css-tree/lib/walker/create.js:163:37 walkNode...