How savvy is IM about favicon.ico's?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
charlie

How savvy is IM about favicon.ico's?

Post by charlie »

Greetings,
I was wondering how savvy IM is about favicon.ico's.
Point being; Gecko browsers have been very fortunate about them, in that
they can view favicon's as: favicon.png, favicon.gif, and so on. That means that
they get to enjoy animated gif/png icons that IE users can only dream
about. But speaking of IE, and Windows. Windows has supported animated
icons for nearly as long as I can remember. So I was wondering if it was possible to
use IM, or convert to convert an animated icon sized gif into an animated Windows icon, that IE will understand. So that it can be used as a favicon.ico.
Is it possible? How can it be done? Does IM, or convert know how to do it natively?

Thank you for all your time and consideration.

--Chuck
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: How savvy is IM about favicon.ico's?

Post by anthony »

It should be savvy enough for .ico files. I used it to generate one for IM Usage Examples.

Other formats like GIF animation should be okay too.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
charlie

Re: How savvy is IM about favicon.ico's?

Post by charlie »

Hello anthony. Thank you for your reply!
It should be savvy enough for .ico files. I used it to generate one for IM Usage Examples.
Of course. I didn't mean to imply otherwise. My point was more of a:
Is there an standard option to convert that will emit favicon icons?
If so, is it possible to take an animated GIF that has the correct dimensions, and
emit an animated favicon that is consistent with the Windows understanding
of an icon (animated)? If so, how might one go about doing it?

Sorry for not being more concise in the first place. :(

Thank you again for taking the time to reply.

--Chuck
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: How savvy is IM about favicon.ico's?

Post by anthony »

No there is no special options. A favicon.ico file usally has a number of different sized and types of images in it. There was another recent discussion about ICO files in which I gave a command that could generate all the differently scaled images appropriate for an ICO file.
Though in that command the files were just being written to disk, as teh user was using a special ico generating command.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply