Open amhndu opened 5 months ago
Right now, bitmaps decoding is done on the resvg side, but your change would require to move it to usvg. This would be a pretty serious change.
I know that bitmaps handling is somewhat restrictive right now, but I don't have time to rework it right now.
Currently, only JPEG, PNG and GIF are supported. A
FormatKind::Custom
orFormatKind::Pixmap
would allow for greater flexibility and the clients can provide their own image decoding.I'll be happy to make a PR if this seems like a good idea.