reduce-image
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -164,3 +164,3 @@ 'use strict'; | ||
mkdirp( | ||
path.join( reducer.options.destPath, fileInfo.relativePath ), | ||
path.join( reducer.options.destPath, fileInfo.relativePath, fileInfo.basename ), | ||
function( err ) | ||
@@ -287,3 +287,3 @@ { | ||
var finalFile = fileInfo.targetFile + '.gz', | ||
gzip = zlib.createGzip(), | ||
gzip = zlib.createGzip( { windowBits: 15, level: 9, memLevel: 9 } ), | ||
inp = fs.createReadStream( fileInfo.fullPath ), | ||
@@ -290,0 +290,0 @@ out = fs.createWriteStream( finalFile ), |
{ | ||
"name" : "reduce-image", | ||
"version" : "0.0.1", | ||
"version" : "0.0.2", | ||
"description" : "Lossy recompression and resizing tool for images when file size is more important than quality", | ||
@@ -5,0 +5,0 @@ "author" : "Aleksi Asikainen <aleksi.asikainen@gmail.com>", |
Sorry, the diff of this file is not supported yet
53770