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 = 44613
interpreted = N
texte = Why not just use [text]foo= [shell] identify [myfilename][/shell][/text]-Jason TylerOn 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/ > ------------------------------------------------------------- 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)
Why not just use [text]foo= [shell] identify [myfilename][/shell][/text]-Jason TylerOn 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/ > ------------------------------------------------------------- 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/ Jason Tyler

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:

summ=T (2003) Need relative path explanation (1997) [sendmail] on NT? (1997) [WebDNA] Error 500 with SUMM=T (2017) POSTing to a secure server ... (2000) Re1000001: Setting up shop (1997) [WebDNA] MD5 Hash issue (2009) sort (2000) Sorting error (1997) problem with dates, NT version (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCatalog complains that the service is not running. (1998) my price won't move (1997) Delete context run amok (2005) WebCatalog2 Feature Feedback (1996) oops private message leaked into talk list (1997) Replace context (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) pc (1997) Forms Search Questions (1997)