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 = 44614
interpreted = N
texte = Because that would be too easy! and because I haven't sleep for a long time :)Thanks, that does it.DaleOn Thursday, October 31, 2002, at 12:44 AM, Jason Tyler wrote:> Why not just use [text]foo= [shell] identify [myfilename][/shell][/text] > > -Jason Tyler > > On Wednesday, October 30, 2002, at 06:41 PM, dale's stuff wrote: > >> 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:01 >> >> Now 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)
Because that would be too easy! and because I haven't sleep for a long time :)Thanks, that does it.DaleOn Thursday, October 31, 2002, at 12:44 AM, Jason Tyler wrote:> Why not just use [text]foo= [shell] identify [myfilename][/shell][/text] > > -Jason Tyler > > On Wednesday, October 30, 2002, at 06:41 PM, dale's stuff wrote: > >> 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:01 >> >> Now 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:

Revisit: speed test (2002) same product in cart (1997) [shell] command (2000) Upgrade to 3.07 problems (2000) Calculating multiple shipping... (1997) Running 2 two WebCatalog.acgi's (1996) I give up!! (1997) [include ...] behavior (1997) Redirect and passing more than one variable... (2002) [ot] Any One Want A WebDNA Billing Program? (2003) Sorting by date (1997) Multiple servers and Webcat (1998) RE: WebDNA-Talk searchable? (1997) appending to my last post (1999) Sort Order on a page search (1997) Robots fill event log (1997) Log-in Scheme (2003) Introduction/Tutorial/QuickStart (1997) [include ...] behavior (1997) Emailer Set Up (1997)