Page 1 of 1

TIFF images got fom Image Pro Plus and convertion

Posted: 2012-09-01T20:24:47-07:00
by mauriciorubik
Original image got from Image Pro Plus: http://uploads.boxify.me/89236/prueba_1.tif?1346433567
I tried to open it in GIMP 2.8 but didn't work. Photoshop does open it.

If I use IM convert with -verbose got:

Image: prueba_1.tif
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 1392x1040+0+0
Resolution: 300x300
Print size: 4.64x3.46667
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
Endianess: MSB
Colorspace: RGB
Depth: 12-bit..........

So, if the original image is in 12-bit depth and that's the reason it doesn't open in any image editor and I want to resize it for example to 200% which commands I have to use for the best quality possible (I don't matter the time spent) the images I will use are taken from a microscope (human and animal cells)

depth 8 or 16?

Lanczos or Mitchell?

force -quality 100?

Should I convert it from TIFF to JPG or PNG? from RGB to CMY?

Re: TIFF images got fom Image Pro Plus and convertion

Posted: 2012-09-03T09:17:01-07:00
by rich2005
bump

Can someone help this guy out, he originally posted in a Gimp mailing list. Of course Gimp will not open a 12 bit image so a IM '-depth 8' command works..but

Then the scaling question comes up and I am an engineer, so photo-micrographs of cells are a bit out of my league. AFAIK in Gimp using sinc(lanczos3) might produce halos. So what to use?

Any help I am sure will be gratefully received.

Re: TIFF images got fom Image Pro Plus and convertion

Posted: 2012-09-03T10:36:53-07:00
by fmw42
This works for me on IM 6.7.9.2 Q16 Mac OSX Snow Leopard.

convert prueba_1.tif -auto-level -depth 16 prueba_1_new.tif

If you want to resize for sharpness, but can accept jaggies and other artifacts then use -filter catrom -resize or -filter lagrange -resize. If you want to avoid jaggies and artifacts and can accept less sharpness when enlarging, then see viewtopic.php?f=1&t=21703&start=15#p89213