How to get a JPEG from a favicon file?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Apr 3 10:02:02 EDT 2007


Mark,

Yes you are right: people often use gif, png or jpeg files for  
favicons but this can be known parsing the html code where you can  
find something like:
<link rel="icon" href="images/favicon.png" type="image/png">

My problem is with '.ico' files.

Le 3 avr. 07 à 15:43, Mark Schonewille a écrit :

> Hi Eric,
>
> This means that you are dealing with an actual ico format.  
> Sometimes, people use a png, jpg or gif file and change the  
> extension into .ico, sometimes people know how to make a real ico  
> file and use that.
>
> Looking at the binary contents of an arbitrary ico file, I see that  
> it contains an embedded PNG picture (I assume this could also be a  
> different format). Maybe you can simple pull that out?
>
> Best,
>
> Mark

Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list