imagemagick iconcatalyst icon

Catalyst and image libraries

Posted in , Wed, 19 Jul 2006 04:05:00 GMT

I just migrated my Catalyst app to use GD instead of ImageMagick based on some reported compatibility issues.

  • Chris Laco reported Apache2/mod_perl2 would core dump with ImageMagick (on FreeBSD). He moved to FastCGI+ImageMagick first and is now using FastCGI+Imager. ImageMagick has been reported to work with Mason+Apache1.x+mod_perl1.3.
  • Andreas Marienborg reported on #catalyst IRC that Imager doesn't work with Catalyst+PAR and has moved to GD.
  • Someone on #rubyonrails IRC mentioned having problems with RMagick and was looking to migrate to ruby-gd

Wanting the best of all worlds, I moved to GD which also has a smaller memory footprint than ImageMagick. I ended up writing my own wrapper for Lincoln Stein's GD module using the Image::Magick API (drop-in replacement for a very limited set of functionality) though something like Image::Thumbnail, which provides a uniform interface to GD, ImageMagick and Imager, is probably better for general use.

Thanks to Chris and Andreas for their reporting issues. Hopefully I'll be all set with GD.

del.icio.us:Catalyst and image libraries digg:Catalyst and image libraries reddit:Catalyst and image libraries spurl:Catalyst and image libraries wists:Catalyst and image libraries simpy:Catalyst and image libraries newsvine:Catalyst and image libraries blinklist:Catalyst and image libraries furl:Catalyst and image libraries fark:Catalyst and image libraries blogmarks:Catalyst and image libraries Y!:Catalyst and image libraries smarking:Catalyst and image libraries magnolia:Catalyst and image libraries segnalo:Catalyst and image libraries

no comments

Comments

(leave url/email »)

   Comment Markup Help Preview comment