hello_imgui icon indicating copy to clipboard operation
hello_imgui copied to clipboard

SVG import support

Open leavittx opened this issue 1 year ago • 1 comments

Hello! I've recently found out that HelloImgui::ImageFromAsset method doesn't support SVG image type (at least on windows). I think such format is really must have in many scenarios, e.g. when you have to scale you app UI for different displays, only vector formats can be rasterized into textures of different sizes without quality loss

leavittx avatar Oct 20 '24 09:10 leavittx

Hello,

The branch https://github.com/pthom/hello_imgui/tree/image_from_asset_svg tries to add support for this. It will not be merged to master at the moment, since it does not support all svg flavors (see https://github.com/sammycage/plutosvg/issues/16)

pthom avatar Nov 07 '24 18:11 pthom