Resizing tilesets

Talk about things that are not making games here. But you should also make games!

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
lennyhome
Slime Knight
Posts: 115
Joined: Fri Feb 14, 2020 6:07 am

Resizing tilesets

Post by lennyhome »

I did some experiments with pamdice/pamscale/pamundice from netpbm to see if I could get a 32x32 tileset to resize to 20x20 without bleeding edges.

The general idea is that instead of attempting to resize the whole tileset at once, I first split it into single tiles, then resize each tile, then re-assemble, then split it again into 320x200 panels.

Still requires some manual trimming sometimes when transparency is involved but I don't think there's any solution to that. I'm not ready to publish any code at this time because it involves some convoluted bash scripting but if you want to give it a test...

Image
Image
Image
Image
Image
Image

Comes from some free set called "hyptosis". If there's any interest I think it would be possible to make some standalone utility eventually.
Post Reply