Lossless TIFF->DNG conversion isn't lossless?
I have a bunch of uncompressed 48 bit .TIFF files from a film scanner (Epson V850), and I used Adobe Lightroom to losslessly convert them to DNG to save space. I wanted to confirm that Lightroom created pixel-perfect conversions before deleting the originals, so I tried to compare them using a technique that has worked fairly well for me in the past, via ImageMagick:
convert a.tiff a.mpc
shasum -a 256 a.cache
convert b.dng b.mpc
shasum -b 256 b.cache
Unfortunately, the hashes don't match, suggesting that something changed along the way. Differences can also be seen if I use Photoshop to open both files and overlay them on top of each other, then subtract. I assume this is something as simple as a color profile being added to the DNG file, or some other information that Adobe DNG Converter is picking as a default because it's missing from the original TIFF. Is there any way to determine why these files look visibly different after conversion? Lossless conversion definitely shouldn't be altering the visible image data, so I'm curious if this is actually a bug.
