[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Ralf Berkvens

7/23/2003 6:58:00 AM

Not sure if this helps, but a GIF generally begins with the signature GIF in
the data stream. This is then followed by either 87 or 89 (possibly 89a)
defining the type of GIF you are dealing with (old, newer).

Ralf


"Lloyd Dupont" <lloyd@RemoveIfNotSpamming.galador.net> wrote in message
news:esTb4Y5TDHA.1912@TK2MSFTNGP12.phx.gbl...
> I get some bitmp through some which might create it in many different
ways.
> later on I need to write it to a stream (in fact it's from an Httpserver)
> and I need to specify the image type.
>
> my problem is: I should specify an ImageFormat, mainly .Jpeg or .Gif work
> well, but they are mutually exclusive, .gif is transparent (and jpeg is
not)
> and but it has less color.
> whatever I choose I have bad result I didn't find, yet, a way to know if
my
> picture was originally created via a .jpg or .gif.....
> any tip ?
>
>