Vector icons
Closed this issue · 5 comments
Other extensions don't appear at all on high dpi computers https://code.google.com/p/chromium/issues/detail?id=412459
It seems page actions are allowed to use 19x19 icons as well as 38x38 icons for high dpi displays: https://developer.chrome.com/extensions/pageAction#manifest
The icons are currently 10x17 pixels, so I suppose that would mean re-rendering them at 20x34.
@rauchg, do you have the original graphics?
I believe I don't, but we can probably use a similar icon from The Noun Project?
It's not possible to use a vector icon for this, but the proper approach is to recreate all icons as 19x19 and 38x38 (to avoid stretching, see https://bugs.chromium.org/p/chromium/issues/detail?id=161618 + https://groups.google.com/a/chromium.org/d/topic/chromium-extensions/7As9MKhav5E/discussion)
The absolute proper way to do this would be to have a monochrome template and render the icon dynamically (color + "badge") via canvas. But 38x38 scale icons are a good first step.