in reply to Concatenating Images with Perl

Image::Magick can do what you need. I had to solve a problem where a spammer was sending an image chopped up into equal pieces, each piece attached to the email as an attachment. He used html and inline css to piece the fragments together to display the composite image in the email. I called him 'Mr. Puzzle'.

I was able to use Image::Magick to put the pieces back together, then another library to OCR the resulting image and run the text through a spam checker. Granted, the API for Image::Magick can be frustrating, but it is pretty fast. Keep at it, you'll get it.

Replies are listed 'Best First'.
Re^2: Concatenating Images with Perl
by halley (Prior) on Dec 17, 2007 at 19:29 UTC
    Er, wouldn't this have been easier?
    $cells = scalar s{(</td>)}{$1}g; $spam += COMPLICATED_TABLE if $cells > 4;

    --
    [ e d @ h a l l e y . c c ]