MangoByte
MangoByte copied to clipboard
Fix emoticon gif opacity
Sometimes gifs generate without correctly doing opacity:
This is from dota: http://dotabase.dillerm.io/dota-vpk/panorama/images/emoticons/teamfancontent/season_2/7390454/emoticon2_png.png This is what mango makes: https://cdn.discordapp.com/attachments/296488162643935232/895272812036640798/fandom_QCY_2_2.gif
See more examples above the referenced discord message
https://discord.com/channels/296486417197170688/296488162643935232/895370581233500181
I looked at this for a while and couldnt make any progress. Command you can run is ?emoticon fandom_QCY_2_2, and the place in the code that calls gifsicle for this is in drawdota.py, in create_dota_emoticon.