There are probably many other ways, but this worked for me. Open your file, click ‘Save As’, then choose .gif as the filetype. Click on the ‘Options’ button
Then select ‘Index Transparency’ in the dropdown box on the lower left.
Save your file and done!
If anyone has a better method that deals with anti-aliasing better, please let me know!