Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
gulp-imagemin-quiet
Advanced tools
the only difference between this Fork and the original repository is that nothing gets logged to the console when the verbose
option is not set.
Minify PNG, JPEG, GIF and SVG images with imagemin
Issues with the output should be reported on the imagemin issue tracker.
$ npm install --save-dev gulp-imagemin
var gulp = require('gulp');
var imagemin = require('gulp-imagemin');
var pngquant = require('imagemin-pngquant');
gulp.task('default', function () {
return gulp.src('src/images/*')
.pipe(imagemin({
progressive: true,
svgoPlugins: [{removeViewBox: false}],
use: [pngquant()]
}))
.pipe(gulp.dest('dist/images'));
});
Comes bundled with the following lossless optimizers:
Unsupported files are ignored.
Options are applied to the correct files.
Type: number
Default: 3
Select an optimization level between 0
and 7
.
The optimization level 0 enables a set of optimization operations that require minimal effort. There will be no changes to image attributes like bit depth or color type, and no recompression of existing IDAT datastreams. The optimization level 1 enables a single IDAT compression trial. The trial chosen is what. OptiPNG thinks it’s probably the most effective. The optimization levels 2 and higher enable multiple IDAT compression trials; the higher the level, the more trials.
Level and trials:
Type: boolean
Default: false
Lossless conversion to progressive.
Type: boolean
Default: false
Interlace gif for progressive rendering.
Type: boolean
Default: false
Optimize svg multiple times until it's fully optimized.
Type: array
Default: []
Customize which SVGO plugins to use. More here.
Type: array
Default: null
Additional plugins to use with imagemin.
MIT © Sindre Sorhus
FAQs
Minify PNG, JPEG, GIF and SVG images
The npm package gulp-imagemin-quiet receives a total of 11 weekly downloads. As such, gulp-imagemin-quiet popularity was classified as not popular.
We found that gulp-imagemin-quiet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.