in reply to Re: Re: TIFF Perl Module needed
in thread TIFF Perl Module needed

This sounds eerily like a program I wrote for a client a few years ago (but no longer have access). I called it "the butcher." Trim the fat margins, find the best cutting strategy to give some overlap on each tiled page.

That said, I'd have you look at ImageMagick, which has some support for the basic operations, and works very well with TIFF files. You may find you can script everything from the command line, or you may find the PerlMagick bindings to be useful.

TIFF isn't the problem, it's just an implementation detail. The problem is deciding what to do with those big images to make them into something your users can use.

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

Replies are listed 'Best First'.
Re: Re: Re: Re: TIFF Perl Module needed
by monsieur_champs (Curate) on Jun 04, 2003 at 19:34 UTC

    First of all, congratulations for such a wise comment.

    In fact, I've tried to use PerlMagick's bindings, without a big success. My main troubles are:

    1. I don't know exactly what to do. This is my first time handling images in all my life, and this is strange to me yet;
    2. The PerlMagick Module trashes my processor. I think that this could be related to my poor image-handling strategy;
    3. I still have a BIG problem reading the resolution and the size of the image (in points) and determining what's the image size (in milimeters) so I can decide what to do with the image

    I can publish some code here, if you feel this useful. I didn't do that before because I want to annoy nobody with this.

    Thank you very much again, and may the gods bless you, fellow.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Just Another Perl Monk