PDA

View Full Version : resizing tokens to a standardized size



marcus_egan
May 2nd, 2010, 08:50
What is the fastest way to do this? I can't do them one by one, as I will go insane.

Zeus
May 2nd, 2010, 09:31
If you have a decent graphics package like Photoshop or GiMP you can use their batch/automation engines to apply transformations (including resizing) across a collection of image files.

Alternatively you can download something like ImageMagick (https://www.imagemagick.org/script/index.php) which also happens to be free. :)

tdewitt274
May 2nd, 2010, 16:42
If you have a decent graphics package like Photoshop or GiMP you can use their batch/automation engines to apply transformations (including resizing) across a collection of image files.

Alternatively you can download something like ImageMagick (https://www.imagemagick.org/script/index.php) which also happens to be free. :)

Using ImageMagick, you can use the below code in a BAT file. Change the first line to the location of ImageMagic, change all references of "?x?" to your pixel size that you want (ex, 50x50).


PATH=%PATH%;c:\program files\ImageMagick-6.5.7-1
for %%f in (*.jpg) do mogrify -format png -fuzz 10%% -transparent white -gravity center -filter lanczos -resize ?x? -background rgba(255,255,255,0) -extent ?x? "%%f" "%%f"


If you are looking for something that resizes D&D and Star Wars figures, there's a couple of scripts online that will pull from WotC's website.

marcus_egan
May 2nd, 2010, 17:54
excellent. glad to hear this.

I use GIMP but I haven't noticed the batch processor. I'll give that another gander this afternoon.


Thanks dudes