What I expect to be able to do is store an uncompressed TIF as a losslessly compressed PNG, and be able to convert the PNG back to TIF and have the same image as before. But it doesn't seem to be the case. Can anyone explain what is happening and how I may achieve my goal ? Thanks
Code: Select all
W:\png_tif>convert 000025_orig.tif 25.png
W:\png_tif>convert 25.png -strip 25_png_strip.tif
W:\png_tif>convert 000025_orig.tif -strip 25_tif_strip.tif
W:\png_tif>md5sums 25_tif_strip.tif
25_tif_strip.tif 3755906e7bed98db95ccc0106e461b6c
W:\png_tif>md5sums 25_png_strip.tif
25_png_strip.tif 924c9de42959ebefc7b61ba75f848ee0
W:\png_tif>compare 25_tif_strip.tif 25_png_strip.tif diff.png
The last command a compare shows a feint version of the page, like someone upped the brightness of the original scan, which shows that the image data is different, and not just the file data.
Any thoughts ?
im version Version: ImageMagick 6.9.1-2 Q8 x64 2015-04-14 http://www.imagemagick.org Win 7