- Load the image to be framed.
- Channel > New Channel, #2 will be out.
- Select > All.
- Select > Modify > Border. # of pixels is the thickness of the border.
- Edit > Fill. Set mode to Dissolve and color to gray.
- Deselect.
- Image > Adjust > Invert, to invert the border.
- Export with Gif89a. Set Transparency from Channel #2.
- Voila!