- Joined
- Nov 1, 2015
- Messages
- 46
- Reaction score
- 26
- First Language
- English
- Primarily Uses
I made a little tool to resize any texture by a 1.5x ratio
the tool uses the xbrz algorithm (http://www.vogons.org/viewtopic.php?t=34125), which should provide a better result than a standard bicubic resizer
Unfortunately it's not possible to resize by 1.5 so I had to resize by 3 then scale down by half
I've tested this tool on OSX, depending from the input the result may look perfect or ok with some imperfection,
I'm not sure if it compiles on Windows/linux as the node extension I've made
may require a different build configuration, it would be nice if anyone could test it
in order to do so just clone this repo https://github.com/kentaromiura/vx-to-mv-texture-resizer
and run
`npm install`
you can then test it with
`node index.js --input "./input/**/*.png" --output output`
the command above will create an output folder if it doesn't exists,
then find any png inside input or any subfolder in a recursive way, apply a 1.5 scale and saving in the result in the output folder
if you have a ./input/foo/bar.png you should find a output/input/foo/bar.png
Let me know of any problem you may find, Thank you and enjoy!
the tool uses the xbrz algorithm (http://www.vogons.org/viewtopic.php?t=34125), which should provide a better result than a standard bicubic resizer
Unfortunately it's not possible to resize by 1.5 so I had to resize by 3 then scale down by half
I've tested this tool on OSX, depending from the input the result may look perfect or ok with some imperfection,
I'm not sure if it compiles on Windows/linux as the node extension I've made
may require a different build configuration, it would be nice if anyone could test it
in order to do so just clone this repo https://github.com/kentaromiura/vx-to-mv-texture-resizer
and run
`npm install`
you can then test it with
`node index.js --input "./input/**/*.png" --output output`
the command above will create an output folder if it doesn't exists,
then find any png inside input or any subfolder in a recursive way, apply a 1.5 scale and saving in the result in the output folder
if you have a ./input/foo/bar.png you should find a output/input/foo/bar.png
Let me know of any problem you may find, Thank you and enjoy!