Add support for bitmap rendering
ivantishchenko opened this issue · comments
ivantishchenko commented
Thank you for your work on plutovg.
Would it be possible to add support for rendering bitmaps?
Samuel Ugochukwu commented
Could you provide more details about the specific requirements or use cases you have in mind for rendering bitmaps in plutovg?
ivantishchenko commented
Thank you for your reply @sammycage
The requirement is to load a PNG using stb image into an RGBA bitmap and then draw every pixel of this bitmap on a canvas along with other geometrical shapes.
A use-case is to use PlutoVG in lunasvg to render a composition of geometrical vector shapes combined with raster images. Many SVGs use embedded raster images inside a tag encoded in base64.