Open kiddailey opened 1 year ago
I've got this in progress and partially working since SkiaSharp was merged a while back (thanks). It's a little tricky as SVGs can be any size, so technically they always match "PerfectSize," but I have some ideas on how to make it work.
Edit: I ended up abstracting IconImage out a bit since SVG data is not bitmap. Need to clean it up before submitting PR but it works awesome.
A number of sites use SVG (mimeType: SVG+XML) for their favicon as an option. Would be nice if we could use that since it can be resized to our perfect dimensions without loss of quality.
This should come pretty easily since pull request #9 was merged as SkiaSharp already provides the ability to interpret and render SVGs into bitmaps.