Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Node CLI tool for replacing an image referenced by an SCML file with a resized version of the same image, rescaling the SCML references as necessary

License

Notifications You must be signed in to change notification settings

dbjorge/scml-image-rescaler

Repository files navigation

npm version badge build status badge

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

About

Node CLI tool for replacing an image referenced by an SCML file with a resized version of the same image, rescaling the SCML references as necessary

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published