Drawing and perling
Aug. 30th, 2004 11:16 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Exercise yesterday, drawing today, I almost feel human again.

I’ve also thrown together a quick perl script to build IMG tags with HEIGHT and WIDTH attributes, so I don’t have to keep going through BBEdit. The Image::Size module does all the heavy lifting. Here, in case you need something along those lines:
Edit the green part so it points to the server and directory where you host your images.
I ran into
jcb coming out of Ground; he said I look like the weight’s pouring off me, and was surprised when I told him I’d been gaining the past few months. Testimony to the power of belly-tightening abdominal exercise, I guess. Or of wearing dark shirts with light pants.

I’ve also thrown together a quick perl script to build IMG tags with HEIGHT and WIDTH attributes, so I don’t have to keep going through BBEdit. The Image::Size module does all the heavy lifting. Here, in case you need something along those lines:
#!/usr/bin/perl -w use Image::Size; while (<@ARGV>) { my $url = "http://www.yourdomainhere.com/path/$_"; my ($width, $height) = imgsize($_); print "<img src='$url' alt='AltTextHere' height='$height' width='$width' />\n\n"; }
Edit the green part so it points to the server and directory where you host your images.
I ran into
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)