Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting file type
Message
From
13/08/2005 12:59:03
 
 
To
13/08/2005 12:41:11
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
01040691
Message ID:
01040697
Views:
14
>Tore,
>
>... and BMP files begin with "BM".
>
>Thanks for the JPG, GIF, and PNG file headers.
>
>Does anyone know if there's a consistent file header for WMF, EMF, TIF formats?
>
>Malcolm

As far as I could find out with a hex editor:
EMF: substr(yourfile,42,3)='EMF'
TIF: starts with 4D-4D-00-2A (hex()
WMF: starts with D7-CD-C6-9A (hex()javascript:MessageSubmit()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform