T
T
thehighhomie2017-01-28 22:04:04
Node.js
thehighhomie, 2017-01-28 22:04:04

Image compression by npm plugins?

Are there normal plugins or utilities that can compress an unlimited number of images by entering one or more commands in the console? I’m currently using the tinypng.com resource, but it doesn’t take files over 5mb, and it doesn’t take more than 20 at a time, it’s all slow, especially when there are hundreds of images, and a friend said that this image resource compresses normally, but doesn’t clean meta information from files , I don’t know if it’s true or not, but it’s still not convenient for a lot of files to use such resources.
Is there something better and in the console?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton, 2017-01-28
@thehighhomie

gulp.js
gulp-imagemin
imagemin-pngquant

S
Shane Matte, 2017-01-29
@mattedev

webpack

M
Make Now, 2018-03-27
@makenow

If through webpack, then probably this plugin imagemin-webpack-plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question