Re: how to determine the actual file format of an image file?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44570
interpreted = N
texte = dale's stuff wrote: > > Rob, > > Thanks for the info, I was actually starting to go that route but then did > some testing by uploading for example a bmp file that had a file extension > of .jpg and the browser told me it was a .jpg file instead of .bmp which is > what the file really was.Unfortunately the MIME type won't be much more reliable than the file extension in this case. There are still one or two Windows computers out there on the web, and apparently their browsers just set the MIME type according to the file extension anyway.Can't you just open the files with some graphics application and see what it makes out of them?(If you use a Mac, Graphic Converter is by far the best program for this. It knows *all* graphics formats and with its built-in scripting features ought to be ideal for doing this work automatically.)Frank Nordberg http://www.musicaviva------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: how to determine the actual file format of an image file? (Rob Marquardt 2002)
  2. Re: how to determine the actual file format of an image file?- done (dale's stuff 2002)
  3. Re: how to determine the actual file format of an image file? (dale's stuff 2002)
  4. Re: how to determine the actual file format of an image file? (Jason Tyler 2002)
  5. Re: how to determine the actual file format of an image file? (dale's stuff 2002)
  6. Re: how to determine the actual file format of an image file? (Rob Marquardt 2002)
  7. Re: how to determine the actual file format of an image file? (Glenn Busbin 2002)
  8. Re: how to determine the actual file format of an image file? (Frank Nordberg 2002)
  9. Re: how to determine the actual file format of an image file? (Brian Boegershausen 2002)
  10. Re: how to determine the actual file format of an image file? (Alain Russell 2002)
  11. Re: how to determine the actual file format of an image file? (dale's stuff 2002)
  12. Re: how to determine the actual file format of an image file? (Rob Marquardt 2002)
  13. how to determine the actual file format of an image file? (dale's stuff 2002)
dale's stuff wrote: > > Rob, > > Thanks for the info, I was actually starting to go that route but then did > some testing by uploading for example a bmp file that had a file extension > of .jpg and the browser told me it was a .jpg file instead of .bmp which is > what the file really was.Unfortunately the MIME type won't be much more reliable than the file extension in this case. There are still one or two Windows computers out there on the web, and apparently their browsers just set the MIME type according to the file extension anyway.Can't you just open the files with some graphics application and see what it makes out of them?(If you use a Mac, Graphic Converter is by far the best program for this. It knows *all* graphics formats and with its built-in scripting features ought to be ideal for doing this work automatically.)Frank Nordberg http://www.musicaviva------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Frank Nordberg

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Running subtotal? (1998) Delete only one duplicate record? (2003) E-Mail Preferences in Admin Folder (1997) Re:2nd WebCatalog2 Feature Request (1996) Problem (1997) [WebDNA] IIS 7.5 (2015) Location of Browser Info.txt file (1997) Nested tags count question (1997) MacFinder -- a new WebDNA web site (1998) 4.5 on Apache 2 (2005) WebCat2b15MacPlugin - showing [math] (1997) Search design (1997) 5.0 feature request: Multiple Server Support (2001) Practice runs ? (1997) Re[2]: Shopping Cart Directory (2000) StoreBuilder Q's (2003) Reversed words (1997) Great product and great job ! (1997) WebCat2 - [format thousands] (1997) Need help with emailer- 2 issues (1997)