reddit-place-script-2022
reddit-place-script-2022 copied to clipboard
Transparency
To prevent conflicts, please leave a comment on this issue if you are working on this.
Currently we try to treat (69,42,0) as a transparent pixel. This is from when we only supported .jpg.
Now we support .png we should exclusively use the alpha channel for transparency .
All images are already converted to RGBA in load_image so we shouldn't need to treat jpg any different to png
Makes sense.
transparency with RGB (R,G,B) value (69,42,0) does not work
transparency with RGB (R,G,B) value (69,42,0) does not work
If you want to use this value, you will need to use jpg and "legacy_transparency" set to true
If you want to use png alpha transparency (recommended), set "legacy_transparency" to false.