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 = 44612
interpreted = N
texte = Trying this from another angle. As I will be using ImageMagick for some other things down the road a bit, I looked in the docs and found a command/ program called identify. So adding [shell] identify [myfilename][/shell] to a template returns the information (to the screen) in a string that I could then parse.example string: picUploads/103598361218540.gif GIF 90x101+0+0 PseudoClass 256c 8-bit 5524b 0.0u 0:01Now the problem is to get this string back to webcat so I can parse it and proceed to the next step. Any ideas?The only thing I can think of right now is to redirect the output to a text file then read that file and parse it. But that seems a bit overblown way to do things.Dale ------------------------------------------------------------- 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)
Trying this from another angle. As I will be using ImageMagick for some other things down the road a bit, I looked in the docs and found a command/ program called identify. So adding [shell] identify [myfilename][/shell] to a template returns the information (to the screen) in a string that I could then parse.example string: picUploads/103598361218540.gif GIF 90x101+0+0 PseudoClass 256c 8-bit 5524b 0.0u 0:01Now the problem is to get this string back to webcat so I can parse it and proceed to the next step. Any ideas?The only thing I can think of right now is to redirect the output to a text file then read that file and parse it. But that seems a bit overblown way to do things.Dale ------------------------------------------------------------- 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/ dale's stuff

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:

Word search (1997) Problem searching bw & ne of a word (1999) Getting Total Quantity (1997) Re:no [search] with NT (1997) Playin Tricks (2006) Beginning Documentation (2002) Removing [showif] makes a big difference in speed (1997) SSL and reg web*L and reg web* (1997) Million product store (2003) Error Messages Returned to User (1997) Whats up with emailer? (1998) Suffix Mapping (1997) back button loses cart (2000) Username for Admin Group (1997) Summing fields (1997) FormVariable (1999) Multiple SSL Keys (1998) Link with [cart] in db field (1999) Re:2nd WebCatalog2 Feature Request (1996) [WebDNA] WebDNA restart script (2015)