posamylife.blogg.se

Tinypng compress
Tinypng compress







tinypng compress

If your source is the same as your destination (images are written over themselves), and you want to use the signature checking feature, set this to true Signatures are based off the unminified source image, so that when the source changes it will be re-minified and re-written to the destination file. When an image is minified, the md5 signature is determined from the unminified source image and written to the file at options.sigFile (a suggested location would be somewhere under your source control). When the signatures match, the file is skipped from being minified again, allowing you to better stay within your API request limits. If set to a filename, it will compare existing source file md5 signatures against those found in the file's json data. Your TinyPNG API key to use for requests options.sigFile

tinypng compress

If type is not object, string presumed (the API key) options.key Sets options described below from its properties. Returns Stream containing compressed images options task ( 'tinypng', function ( ) ) API tinypng() Var gulp = require ( 'gulp' ) var tinypng = require ( 'gulp-tinypng-compress' ) gulp.









Tinypng compress