Bulk resize / compress TIFF files

Aron

We support and host an EMR for several medical practices; these practices scan images into this software stored as flat files (TIFF mostly). Due to poor user training (people scanning text pages as full color images...), and other factors, we are facing a storage issue due to the size and number of images scanned.

Without going into too much detail, I have been tasked with finding a method of reducing existing file sizes without sacrificing too much resolution.

I have done this before using Irfanview's batch file operations - I converted about a million images from JPEG to TIFF Black & White - the process was fast (comparatively speaking), but still took several days.

I am looking at a total of 11,000,000 files totaling about 2 Terabytes of space, but it is growing rapidly.

I couldn't find any posts about re-sizing/compressing this many files - What is the best utility / script to handle a task like this?

Thanks!

johntellsall

I'm a fan of GraphicsMagick (aka ImageMagick)

Here's an example of resizing images, putting the new ones in a separate directory:

cd public_html/images/thumbs
mogrify -resize 16x12 -quality 100 -path ../new-thumbs *.jpg

Here's how to convert images into a different format -- but it'll zap the originals:

mogrify -format tiff *.jpg

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related