Apply transparent background in GIMP
- Select Layer → Transparency → Add Alpha Channel
Select the background using the Fuzzy Selection Tool (Magic Wand)
and press the Del key.
GIF will allow you single-color transparency, while PNG has full alpha channel support.
- Open the image and choose Select > By Color from the menu.
- Click on the color you'd like to remove.
- Select Colors > Color to Alpha from the menu and click OK.
This will result in the transparent, checkered background that you're looking for. If the background is made up of multiple colors, just repeat these three steps as necessary.