On Feb 23, 2006, at 12:34 PM, Robert Citek wrote:
> I'm beginning to think that the solution is to break the two-page
> tiff into single-page tiffs using tiffutil, then open the single-
> layer tiffs with gimp, resize them, save them as tiffs, then
> concatenate them with tiffutil.  I'll see if that works.

That worked.  I lost some tag information and the process is a pain  
in the neck, but it worked.  Command sequence on OS X:

for i in $(jot $(tiffinfo array.tif | grep TIFF | wc -l) 0) ; do
   tiffutil -extract $i array.tif -out array.$i.tif
   # resize array.$i.tif with the gimp
   # save as array.$i.400x524.tif
done
tiffutil -cat array.*.400x524.tif -out array.400x524.tif

To see the smaller two-page tiff:

   http://cwelug.org/~rwcitek/array.400x524.tif

  400 x  524 =  0.42 MB
2738 x 3586 = 40.00 MB

That's a sizable difference.

BTW, the image is a scan from a two-color microarray scanner.  The  
images are scans of a glass slide with literally thousands of dots of  
DNA.  One image is the scan at one wavelength, while the other image  
is the scan of the exact same slide at a different wavelength.

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent

 
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to