I am working with ImageMagick (Version 7.0.7-36 Q16 x64 2018-05-29) on Windows 7. I am trying to convert a 32 bit tiff to a png.
magick.exe convert a_32bit.tif a.png
However, the resulting image looks darker than the original tiff. I had the same result with jpgs and 8 bit tiffs. Obviously some information has been lost, so I played with the "-gamma" and "-quality" flags to no avail.
I did have good results in Photoshop. I set the bit depth to 8 (Image->Model->8 bits/Channel). A warning dialog popped up stating that reducing the document depth can affect the appearance of layered HDR images. The dialog asked me if I wanted to merge layers before changing depth. I selected "Don't Merge". Then I saved the file out as a jpg. The color was fine.
Any idea how to replicate this in ImageMagick? I want to script converting these tiffs to either a jpgs or pngs.
Thanks.