Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by mdxi (4658) on 2004.05.04 10:57 (#30558) Homepage Journal
    You can also do this at the command line with:

    convert -resize 50% -border 1x1 -bordercolor black orig.img new.img

    assuming you have Imagemagick installed. Substitute mogrify for convert if you don't want to keep the originals.
    • Yeah, I was working on installing ImageMagick, but I had some trouble with the freetype headers (which I have noew fixed).

      Eventually this thing is going to end up in another program, but it's good to have the command line option too. Thanks :)
      • Imager is a neat alternative to Image::Magick. I've been playing with it recently and so far it's proving pretty gosh-darned nifty. It's also several orders of magnitude easier to install.