Re: getting images' width/height

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17245
interpreted = N
texte = Thanks, Christer. That's exactly the sort of solution I was looking for. At 3:33 AM 4/24/98, Christer Olsson wrote: >>Does anybody know of a way within WebCat, or via AppleScript, to get the >>width and height of an image (jpeg and/or gif)? > >Get clip2gif from your favourite InfoMac mirror and embed an Applescript like: > >tell application clip2gif > set f to YourFilePathHere > set m to measure f > set width to item 1 of m > set height to item 2 of m >end tell > >in your [Listfiles context]. A good idea is to put a check for filetype >somewhere. > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Art director S-211 37 Malmoe Fax +46 40 97 99 77 > Ljusa Ideer AB Sweden http://www.ljusaideer.se o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: getting images' width/height (Dave MacLeay 1998)
  2. Re: getting images' width/height (Christer Olsson 1998)
  3. Re: getting images' width/height (Brian B. Burton 1998)
  4. Re: getting images' width/height (PCS Technical Support 1998)
  5. getting images' width/height (Dave MacLeay 1998)
Thanks, Christer. That's exactly the sort of solution I was looking for. At 3:33 AM 4/24/98, Christer Olsson wrote: >>Does anybody know of a way within WebCat, or via AppleScript, to get the >>width and height of an image (jpeg and/or gif)? > >Get clip2gif from your favourite InfoMac mirror and embed an Applescript like: > >tell application clip2gif > set f to YourFilePathHere > set m to measure f > set width to item 1 of m > set height to item 2 of m >end tell > >in your [Listfiles context]. A good idea is to put a check for filetype >somewhere. > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Art director S-211 37 Malmoe Fax +46 40 97 99 77 > Ljusa Ideer AB Sweden http://www.ljusaideer.se o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

if else problem (2003) too many nested [xxx] (1997) Moving files from one server to another... (2001) New Guestbook Source (1997) WebCatalog2 Feature Feedback (1996) Extended [ConvertChars] (1997) RE: Purchased cart being overwritten (1997) Frames and WebCat (1997) WEBCAT with SQL backend. Help please! (2000) Special characters in field names (1998) Major problem (1999) Search wbrk (repost) (2001) Databases inside [SHOWIF] (1998) Webcat no longer supported? (2006) math on date? (1997) Bug alert! (1997) Re[2]: Weird [blank] interpretation (1999) No Wanna Duppys (1998) form crasehes server (1997) Buying sans cart (1997)