Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Greetings all;

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;
JP,

-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --


In reply to Manhandling image files (TIFFs) quickly by JPaul

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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> <u> <ul>
  • 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 intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found