ImageMagick can do the trick very simply ``` convert test.tif -depth 16 outfile.png ```
ImageMagick can do the trick very simply