Textures in DirectDraw surface format (.dds) can be created from all kinds of raster graphics, including GIF format. Usually this done either in a graphics editor like Photoshop with a special plugin installed, or with some kind of dedicated modding tool for certain engine.
Updated: May 3, 2022