How to get a JPEG from a favicon file?
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Apr 3 09:37:12 EDT 2007
Hi Mark,
Thanks for the pointer.
Unfortunately, an ico file is not recognized as an image file by Rev
and does not seem to have any specific header :-(
I'm stuck...
Le 3 avr. 07 à 14:37, Mark Schonewille a écrit :
> Hi Eric,
>
> If you're lucky, the format of the favicon file is in a well-known
> picture format, like PNG, GIF etc. You should be able to check the
> headers of the file and treat it accordingly. Just set the
> imagedata of your image object to the data of the ico file.
>
> If you're not lucky, the file is really in ico format. It is
> possible to analyse it and eventually display it in an image
> object, but I haven't done that myself. I would be interested
> though...
>
> 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