[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML Editor
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?
--
frodo@sharat.co.il \/ There shall be counsels taken
Stanislav Malyshev /\ Stronger than Morgul-spells
phone +972-2-6245112 /\ JRRT LotR.
http://sharat.co.il/frodo/ whois:!SM8333