in reply to Simple RGB Graphics in Perl

Sounds like a perfect application for the up and coming Imager module.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: Simple RGB Graphics in Perl
by Anonymous Monk on Apr 29, 2003 at 17:08 UTC
    I second this. Imager is an excellent module that gives you a lot of the major functionality you find in GD or ImageMagick, without all the associated bloat.
Re: Re: Simple RGB Graphics in Perl
by Evanovich (Scribe) on Apr 29, 2003 at 21:34 UTC
    Imager definitely looks like the way to go for me. However, I have one other thing I hope someone can help me with: I installed imager but is says that it only can support .bmp and .ppm (along with some other useless image types). I'd really like to have .jpg and .tif support. Can someone help me figure out how to do this? Do I need to find a jpeg and tiff library? And will I need to reinstall Imager.pm? The module seems great, but the documentation is a little spotty at the moment....
      Imager is really nice. If you want support for reading/writing JPEG, PNG, GIF and TIFF you'll need to install a couple of extra libraries. Check the README file that comes with Imager to see where you can download them. To support drawing text, you'll also need t1lib and/or freetype(2) unless you're on Win32 where Imager can take advantadge of GDI.

      On some platforms, I've found some struggle installing Imager but on linux it usually justs DWIMS. Environment IM_LIBPATH and IM_INCPATH are your friends when installing. And yes, you need to rebuild and reinstall Imager when you add support for these libraries.

      If you want to find out what formats your Imager installation supports, there is a %Imager::formats hash that contains the different filetypes and font-lib support

      /Claes