On Monday 31 July 2006 16:40, David Guest wrote: > I have an increasing number of large raw tiff images (mostly hand > scrawled discharge summaries) that are accessed through the Windows > picture viewer. They are housed on a samba share and are starting to > chew up significant disc space. I would like to shrink them, preferably > with a command line tool. > > I note tiffcp (http://www.die.net/doc/linux/man/man1/tiffcp.1.html) > supports compression but would appreciate advice about the best way to > proceed to get a reduced image that is still visible in Windows.
tiffcfp is not what you want. http://www.imagemagick.org/ probably is. First, give it a thought whether lossy compression is acceptable for your purpose or not. then, choose the appropriate compression algorithm. I found for my scanned practice documents that the PNG container format gives me the best results for black & white or grayscale images, and JPEG for colour images - play a bit first with the compression parameters before settling for what is suitable for your particular purpose Finally, I don't store my images in a file system any more but as blobs within a Postgres database. That does take up a bit more space on the harddisk, but gives me - much better performance when retrieving images from the server, - single platform independent network transparent access method - allows me to apply the same authentication/permission rules as for all other medical records reliably without any extra work - allows me to have one single backup instead of multiple - ensures data integrity Horst _______________________________________________ Gpcg_talk mailing list [email protected] http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk
