Im working on a facebook game that retrieves user photos from the facebook graph api - all images come as .JFIF format which throws “format not recognized” on Playcanvas if using the loader.
So far I’ve been working on a hack where I load the url into an img, draw it into a canvas, turn it into a base64, and then turn into a texture… and now researching how I apply the texture to an UI element… but is there a better way?
From a quick search, it’s basically a jpg so it’s possible to add a new asset loader to handle this extension. I think I have an example on the forum somewhere where I did this