You can create gradient files (.grd) in Adobe Photoshop using the gradient editor, formerly known as Adobe Image Ready. The source can be any bitmap image, including GIFs, but you will also need to tweak the gradient and set color stops, opacity and other settings. Probably works the same manner in other programs using gradients.
Updated: October 28, 2021