Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: [Tool] Texture resizer
- Original author: kentaromiura
- Original date: November 21, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/tool-texture-resizer.51154/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugins In Development
Summary
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
Archived First Post
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!
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...