Character Vault
Any Concept / Any System
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools


From Roll20 Wiki

Jump to: navigation, search
API ScriptAuthor: Robin Kuiper
Version: 0.0.9
Last Modified: 22-04-2018
Code: Resizer
Dependencies: None
Conflicts: None

Resizer lets you easily resize graphics and pages with a simple menu.

See screenshots on the code page (right side menu).


Command Description
 !resizer [width] [height] Resizes the selected graphic(s).
 !resizer page [width] [height] [?pixels] Resizes the page (add pixels add the end to resize in pixels instead of units).
 !resizer Shows the Resizer menu (if there are graphics selected it also shows there current sizes).
 !resizer page Shows the pages current size.
 !resizer scale [amount] [up/down] Scale the entire page (with everything on it) by amount and up or down, eg. `!resizer scale 2 up`.
 !resizer fit [?keep_ratio] Makes the selected graphic fit the page (handy for maps), add `keep_ratio` to the end to keep the graphics ratio.
 !resizer center [?horizontal] [?vertical] Center the selected graphic(s), add `h`, `hor` or `horizontal` for horizontal and `v`, `ver` or `vertical` for vertical centering.

Installation and Configuration

Copy the script's code, available from the menu on the right. Paste the code into a new script in your campaign's API Script Editor. Save the new script and it will be available inside your campaign.


v0.0.9 (22-04-2018)

  • Scale entire page