Open hepiyellow opened 3 years ago
FWIW, the code specifies that --scale 50%
and --fuzz
only work if the --trim
option is enabled as well.
from [spritesheet.js/lib/generator.js:
exports.trimImages = function (files, options, callback) {
if (!options.trim) return callback(null);
I run
spritesheet-js --scale 50% [my files]
and not scaling is applied.For any value of
scale
that i provide, the resultingspritesheet.png
andspritesheet.json
are the same size.spritesheet-js version 1.2.6