Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
svg images
-
Has anyone gotten svg images to work in either ui.Image or as PIL images?
I am doing a major rework of gitview and was planning to use some of the github icons to give this a cleaner feel.
But these come as svg, or as truetype. it seems that neither PiL nor ui.Image support svg, though pythonista can quickview these files...
-
https://forum.omz-software.com/topic/1539/are-svg-objects-loadable-viewable-in-the-web-view
Is there a way to create a .action method for a ui.WebView?
-
Put a transparent button on top?
-
I would rather not use a webview (seems very expensive just to show an image). Actually my resl goal is just to save as a png, without having to fire up the laptop...
I did find that ImageFont works, sort of ( I will need to figure out the unicode charatcters that are being used, then i think i will just save the icons I want as png)
-
I am not sure if this is what you want, but it might help. http://stackoverflow.com/questions/27230293/how-to-convert-svg-to-png-using-html5-canvas-javascript-jquery-and-save-on-serve
-
Thanks,
My eventual solution was to bypass the problem and find suitable icons on iconfinder.com.