Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG icons #105

Open
pmiess opened this issue May 16, 2017 · 4 comments
Open

SVG icons #105

pmiess opened this issue May 16, 2017 · 4 comments

Comments

@pmiess
Copy link

pmiess commented May 16, 2017

please support SVG files as icons.

@bastianeicher
Copy link
Member

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.

@pmiess
Copy link
Author

pmiess commented May 18, 2017

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.

@bastianeicher bastianeicher self-assigned this May 23, 2017
@bastianeicher
Copy link
Member

I have added image/svg to list of known icon MIME types in b36060a. 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.

@bastianeicher
Copy link
Member

Zero Install Publishing Tools 2.13.1 have been released which include this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants