-depth 8 does not match Photoshop
Posted: 2014-09-23T11:18:43-07:00
Trying to adjust -depth conversion from 16 bit to 8 bit for TIFF to match Photoshop, for some reason values does not end up the same. Can't say for sure why AND I haven't tried all operators with -depth so I'm asking for some help here. Take a look at the attached screenshot.

What we see is edges being compared, the values are printed out along with the type of conversion to the right. The first example does it well, preserves values after conversion to 8 bit, the second and the third one comes from convert using -depth 8 only from 16 bit input. The forth is the 16 bit input, original values. The last one is a JPG converted from the -depth 8 bit converted file.
How can I tweak the -depth scaling to better match Photoshop, will keep digging but hoping for a quick push in the right direction
Thanks!

What we see is edges being compared, the values are printed out along with the type of conversion to the right. The first example does it well, preserves values after conversion to 8 bit, the second and the third one comes from convert using -depth 8 only from 16 bit input. The forth is the 16 bit input, original values. The last one is a JPG converted from the -depth 8 bit converted file.
How can I tweak the -depth scaling to better match Photoshop, will keep digging but hoping for a quick push in the right direction

Thanks!