scml-image-rescaler

1.0.1 • Public • Published

scml-image-rescaler

Node.js command line tool for replacing an image referenced by an Spriter SCML file with a resized/rescaled version of the same image, rescaling the SCML references as necessary.

Useful if you made an SCML file based on large source images but then later decided to switch to using smaller, resized-down versions of the images in a finished version of your animation.

Usage

Prerequisite: Install Node.js LTS

npx scml-image-rescaler --help

npx scml-image-rescaler --verbose --input-file ./animation.scml --original-image-name source-image-4000x3000.png --new-image-name smaller-image-200x150.png

Readme

Keywords

none

Package Sidebar

Install

npm i scml-image-rescaler

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

26.3 kB

Total Files

7

Last publish

Collaborators

  • dbjorge