Importing custom 2D image in three.js

I am currently working with a project that involves “Virtual Jewellery Try On”. It basically involves finding facial points and superimposing a 3D object to that points.
The question is : "Is there any way we could include a .gif or .jpeg codec file instead of using 3D object(say .gltf or .glb) and do the later stuffs ". Since its a difficult task to make 3D object for each jewellery, it would be good if it uses a 2D structure.
Thanks in Advance

Yes, absolutely! There are many free codecs available online that you can use to encode .gif or .jpeg files. Some of the most popular include GIFT and MJPEG, which both offer high-quality encoding results. Simply install the appropriate codec, add your desired file(s), and hit “encode” to start converting. If you have any questions or problems along the way, be sure to consult a guide or review a website like Gifmania for more information on encoding techniques.