godot icon indicating copy to clipboard operation
godot copied to clipboard

thorvg: Disable webp loader if corresponding module is disabled

Open akien-mga opened this issue 1 year ago • 2 comments

Fixes #91873.

akien-mga avatar May 13 '24 11:05 akien-mga

This should fix the logic, but further work seems needed (in a follow up).

From a quick test, I can't get SVG with embedded <image> bitmaps to be loaded in Godot, whether I use PNG, JPG or WebP.

They also don't show up in the ThorVG web viewer which seems to outright fail loading those SVGs.

Edit: It seems to work if the images are linked, but not embedded (base64). Judging by the ThorVG code there's no support implemented for embedded images? Need further investigation.

akien-mga avatar May 13 '24 11:05 akien-mga

@akien-mga hello, do you have a issued svg to test? thorvg basically supports the embedded images.

hermet avatar May 14 '24 01:05 hermet

I have posted a image sample to thorvg.

fire avatar May 16 '24 13:05 fire