On Wed, January 21, 2009 14:46, Cristian RodrÃguez wrote:
Amedee Van Gasse escribió:
If you take two screenshots of a browser window with the address bar visible, in each case with a different url, then of course the image files will be different. That's only logical. Also if you save to a file format that saves the modification date+time in some metadata like EXIF, then your md5sum will be different too.
Does not matter, for the webserver a image file is binary content, different md5sum --> should not expect indentical results, period.
No, I'm afraid that you are wrong. Or at least you misunderstood. The two screenshots were taken by the topicstarter to illustrate the differences in what he saw in his browser. The fact that the screenshots were also hosted on the same webserver does not matter. You are simply talking about files. I'm talking about what's inside the files. Take one of the screenshots and convert it to PNG. That will result in a file of about 700 KiB, compared to the original 170 KiB. Your test with md5sum will fail. But the two images are still identical when you do a pixel-by-pixel RGB comparison. Subtract one from the other and you'll get a black image. It's the same when you have an audio fragment in WAV and convert that to FLAC. It's a different media encoding so the files will be different according to md5sum, but the actual sound inside them is identical. Subtract the two soundwaves and you get silence. -- Amedee -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org