atomic-site icon indicating copy to clipboard operation
atomic-site copied to clipboard

Deploy without ImageMagick?

Open jberkus opened this issue 9 years ago • 3 comments

@tigert, @garrett

I was building an atomicapp for doing deploys. However, the deploy builds a couple icons, and requires ImageMagick, which in Fedora pulls in all of X11. Is there a way around this?

jberkus avatar Apr 08 '16 18:04 jberkus

Well, I think ImageMagick is mainly used for the .ico file. We could disable the favicon building and include a pre-built one instead.

I'm not sure if it is used for determining image sizes. I guess it's easy enough to check.

garrett avatar Apr 11 '16 15:04 garrett

Just for reference, favicons are a de-facto standard originally made by Microsoft — but most other browser vendors thought it'd be a good idea to let websites have icons and adopted the idea and basic implementation. Favicons are supported in .ico format for all browsers, but most also accept PNGs now. However, PNGs only support one size and .ico files support multiple.

More info @ https://en.wikipedia.org/wiki/Favicon


It would only be necessary to update the favicon when the logo changes for whatever reason. As I don't see that happening any time soon, it should be fine to just have use precompiled version.

Even still, it's easy enough to edit the .ico in The Gimp or a favicon generator website if the time ever arises.

garrett avatar Apr 11 '16 15:04 garrett

More browser-specific info @ http://caniuse.com/#search=favicon — because of Safari, Opera Mini, and older IE (<11), .ico files are still needed. We can't just use PNGs.

Also: Sadly, only Firefox properly supports .svg favicons. (They should be optimized for 16×16 if that were the case.)

garrett avatar Apr 11 '16 15:04 garrett