Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Creating tokens

I ran into an issue where I had a bunch of large (full page size) images with lots of little images that I wanted to use for tokens within them. So that I wouldn't go insane I put together this python-fu script for Gimp 2.6 which does 99% of the work. <a href="https://www.dropbox.com/s/zaiah2liql7gh38/create_token.py" rel="nofollow">https://www.dropbox.com/s/zaiah2liql7gh38/create_token.py</a> To use: Stick the script linked above in ~/.gimp-2.6/plug-ins/ Start Gimp Open your large image Select the area you want to use as a token (needs to have a consistent background color) Go to the "My Scripts > Create Token" menu Enter the file name Hit OK The script will create a new image from the selection, autocrop it to fit the actual token and replace the background with a 50% transparent white fill.
If you've never used it, I highly recommend TokenTool, from <a href="http://www.rptools.net" rel="nofollow">www.rptools.net</a>. It's designed specifically for token creation - you drag an image onto it, and it provides a frame to "punch out" the token from the image and save it as a PNG file. You can drop a large image, such as one with multiple tokens, into it and then just move it around and hit "File->Save Token" for each one. It offers multiple frames (square, round, hex, etc.) and transparency options. There's a screenshot attached: