I couldn't find an existing issue or PR for webp support in the library, so I decided to tackle the task myself. It was really easy to add it — provided i didn't overlook anything. It is tested and working locally with both gpu (vulkan on linux) and cpu rendering.
@samizdatco just wondering if you will ever take a look at this PR or if I should just close it. It's been over 2 months and no comment and/or any other kind of reply. 🙂
I couldn't find an existing issue or PR for
webp
support in the library, so I decided to tackle the task myself. It was really easy to add it — provided i didn't overlook anything. It is tested and working locally with both gpu (vulkan on linux) and cpu rendering.It might need some extra handling for dpi scaling in https://github.com/samizdatco/skia-canvas/blob/main/src/context/page.rs, but I'm not too familiar with either this code-base or rust in general, so I'll let all of you — the maintainers — determine that.