Instructions: Download the script and run it in the lua console with dofile("<path to script here>")
Scale:

Element:

By default, non-opaque pixels will be in mixed with black to match the TPT background.
Using this option will make the script use TPT's alpha channel instead, which is mixed with the element color.
Note that fully transparent pixels will always be excluded!


Save generated script
No script generated