Re: Handy PUD bitmap maker.
« Reply #10 on: September 16, 2018, 04:39:35 AM »
OK I have finally done a little bit more on PUDPIC.
You can get the new version HERE
I wrote an ASM image resize/blend procedure so it can produce a pic of the size you want. Also has a jpeg save option.
PUDPIC /s:500 MyMap.pud
will make a 500x500 32 bit blended bitmap
Without the /s switch it will default to producing a full size 8bit bitmap with the original game palette (the current behavior).
PUDPIC /j:80 ThisMap.pud
will save the full size 8 bit image as a quality 80 jpeg
PUDPIC /s:1024 /j:90 Maposaurus.pud
will resize to 1024x1024 and save as quality 90 .jpg file
^- THESE SETTINGS SEEM TO BE PRETTY GOOD FOR A GENERAL PURPOSE POST ON FORUM/DISCORD ETC IMAGE
( give you around a 300KB file that looks ok if you dont zoom in too close)
... also if you want you can just rename the exe file to include the size/quality.
i.e. if you rename it to "PUDPICs500.exe" it will automatically make a 500x500 bitmap any time you drop a file on it.
or if you rename it to "PUDPICs1024j90.exe" it will automatically make a 1024x1024 quality 90 jpeg any time you drop a file on it.
You can even have multiple copies of the exe file with different sizes you use and just drop your pud file on the one you want.
I *think* the command line switches will work in a UNICODE environment - but please let me know if you have any problems.