Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Manhandling image files (TIFFs) quickly

by MrCromeDome (Deacon)
on Sep 08, 2003 at 20:35 UTC ( [id://289857] : note . print w/replies, xml ) Need Help??

in reply to Manhandling image files (TIFFs) quickly

I attempted the exact same thing you are trying to accomplish here, and had much similar results. I was greatly dissatisfied with the performance of TIFF compression offered by Image::Magick (it is worth saying that I was greatly satisfied at the ease of working with images however). I ended up being left with one of two choices:
  • If space isn't a consideration, turn off compression and watch Image::Magick scream
  • Rewrite the application with another toolkit and/or another language
Space was a huge concern for me, so I rewrote the application in C++ using LeadTools. It's an expensive (Windows-only) alternative, but in my case we fortunately had a licensed copy lying around.

Hope this is more helpful than discouraging. Good luck to you!

  • Comment on Re: Manhandling image files (TIFFs) quickly

Replies are listed 'Best First'.
Re: Re: Manhandling image files (TIFFs) quickly
by JPaul (Hermit) on Sep 08, 2003 at 22:23 UTC
    I would be very interested to know what kind of speed benefits you found in moving to your own solution with LeadTools over ImageMagick; Was it profound, or simply "enough" to make it worth the time in development?

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

      Leadtools is ridiculously fast, and I was using a version that was about 5 years old or so. I imagine newer releases are faster yet. You pay for the speed though. Last time I checked, their price for the document imaging toolkit was around $2000. If you're going to use this for other projects, I highly recommend it. Or, if your client has deep pockets and is willing to pay, then I'd recommend it too ;)

      Hope this helps. Let me know if there's more I can do.