I have a client who needs a piece of software to take a random number of TIFFs and put them together into a TIFF Directory (multipage TIFF).
Currently I have proffered a script using ImageMagick/PerlMagick which simply creates a new image object, reads in all the other TIFFs in order, and writes. Thanks to ImageMagicks... well, magic, everything works and I have a perfect TIFF Directory.
Unfortunately the client is processing some 10s of thousands of TIFFs at a time, and ImageMagick through perl simply isn't quick enough - some 8 hours on a 1GHz box. I'd like to tell the client that doing that many freakin' TIFFs is just going to take some time, whether they like it or not - but I have no doubt there is a faster way to do it.
Again, unfortunately, while I'm not so shabby with perl - I generally wrestle with C.
Is anyone famaliar of a faster, perhaps more dedicated, TIFF manipulation library than I could use?
I suspect the solution is to write this in C, but with my skill in the language I'm probably asking for trouble.
My thanks for all your thoughts;
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.