[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: HTML Editor



"Stanislav Malyshev a.k.a Frodo" <frodo@sharat.co.il> wrote:
>  
>  On Wed, 22 Jul 1998, Elisheva Alexander wrote:
>  
>  > netscape is not much of a command line util. :)
>  > i'm looking for something light. so i can do something like:
>  
>  WML knows to measure images, too. If you have GD library (why not, if you
>  are into HTML and gif's? :), you may write perl tool to do this, like 
>  
>  use GD;
>  open(MYGIF,"<$ARGV[0]") || die;
>  $myImage = newFromGif GD::Image(MYGIF) || die; 
>  ($x,$y) = $myImage->getBounds();
>  close(MYGIF);
>  print "${x}x$y\n";
>  
>  
>  Simple, isn't it?

Or just run file(1)...

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________|