<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Graphics on MarkJacobsen.net</title><link>https://markjacobsen.net/tags/graphics/</link><description>Recent content in Graphics on MarkJacobsen.net</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 03 Sep 2026 22:07:44 -0400</lastBuildDate><atom:link href="https://markjacobsen.net/tags/graphics/index.xml" rel="self" type="application/rss+xml"/><item><title>Convert a png or jpeg to a favicon.ico with ImageMagick</title><link>https://markjacobsen.net/2026/09/convert-a-png-or-jpeg-to-a-favicon.ico-with-imagemagick/</link><pubDate>Thu, 03 Sep 2026 22:07:44 -0400</pubDate><guid>https://markjacobsen.net/2026/09/convert-a-png-or-jpeg-to-a-favicon.ico-with-imagemagick/</guid><description>&lt;p&gt;&lt;a class="link" href="https://imagemagick.org/" target="_blank" rel="noopener"&#10; &gt;ImageMagick&lt;/a&gt; is a sweet command line tool for doing a number of different things with images, but yet another cool discovery I found today is you can use it to convert an image to a favicon.ico file for your website. You can even do it using a URL or file.&lt;/p&gt;&#10;&lt;p&gt;First you need to install ImageMagick if you don&amp;rsquo;t already have it (see also &lt;a class="link" href="https://github.com/cfg2-com/dev-env-win/blob/main/src/install/cli/imagemagick.bat" target="_blank" rel="noopener"&#10; &gt;dev-env-win&lt;/a&gt;):&lt;br&gt;&#10;&lt;code&gt;winget install ImageMagick.ImageMagick&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Then you simply run your command like this for a URL:&lt;br&gt;&#10;&lt;code&gt;magick &amp;quot;https://site.net/images/avatar.jpg&amp;quot; -define icon:auto-resize=64,48,32,16 favicon.ico&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Just replace the URL in the above example with a file path if you already have the file local.&lt;/p&gt;&#10;</description></item></channel></rss>