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 fileextension in this case. There are still one or two Windows computers outthere on the web, and apparently their browsers just set the MIME typeaccording to the file extension anyway.Can't you just open the files with some graphics application and seewhat it makesout of them?(If you use a Mac, Graphic Converter is by far the best program forthis. It knows *all* graphics formats and with its built-in scriptingfeatures ought to be ideal for doing this work automatically.)Frank Nordberghttp://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:
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 fileextension in this case. There are still one or two Windows computers outthere on the web, and apparently their browsers just set the MIME typeaccording to the file extension anyway.Can't you just open the files with some graphics application and seewhat it makesout of them?(If you use a Mac, Graphic Converter is by far the best program forthis. It knows *all* graphics formats and with its built-in scriptingfeatures ought to be ideal for doing this work automatically.)Frank Nordberghttp://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)