Open pmiess opened 7 years ago
Thanks for your feature request. Can elaborate on your use-case to help better plan when and how to implement this?
Zero Install currently uses
.png
files in the browser view of feeds as well the Zero Install for Windows main GUI. PNG is directly supported in all (relevant) browsers as well as .NET WinForms..ico
files for Windows desktop integration. .ico
files can store multiple versions of an icon in different resolutions. They can be directly referenced from Windows .lnk
shortcut files and various places in the Windows Registry.Supporting SVG icons would probably require automatic conversion to .png
and/or .ico
in some places.
http://gfxmonk.net/dist/0install/vim-custom.xml contains an svg icon. They would be good for the zero install app UI, and for looking at the feed in the browser, and for KDE and gnome desktop integration. My use case is I want to be able to specify in the publishing tool that the icon type is SVG. It would also be nice if it could download, display and validate the icon.
I have added image/svg
to list of known icon MIME types in b36060a9. This will allow you to select the type in the drop-down box in the next release of the feed editor. However, displaying SVG icons in the Windows GUI will probably have to wait a little, since it would require the use of an external library.
Zero Install Publishing Tools 2.13.1 have been released which include this change.
please support SVG files as icons.