Use GIMP to make the background transparent.
1. Use GIMP to open the graphic file
2. Use Fuzzy Select tools and click on the background
3. In the menu bar, select "Colors" - "Colors to alpha"
4. Export to gif or png (Both support transparency)
Below is two images
jpg
gif