07-07-2020, 11:24 PM
On both Mac and Windows, the resource type name for PNG images is "PNGI"; similarly, for SVG images it's "SVG_"
Try using that in your *.r and *.rc files
It's worth noting that we found some limitations in SVG rendering at this time, so you might want to retain your PNG images just in case you need to fallback. We will likely look for another SVG rendering solution in the future that hopefully does not have the same limitations.
Before you ask, I don't remember all the limitations off the top of my head, but one was that rendering SVGs very early in the startup process didn't work very well. I would advise setting them as late as possible in your plugin (post)startup cycle, for now at least.
Try using that in your *.r and *.rc files
It's worth noting that we found some limitations in SVG rendering at this time, so you might want to retain your PNG images just in case you need to fallback. We will likely look for another SVG rendering solution in the future that hopefully does not have the same limitations.
Before you ask, I don't remember all the limitations off the top of my head, but one was that rendering SVGs very early in the startup process didn't work very well. I would advise setting them as late as possible in your plugin (post)startup cycle, for now at least.