> same2-from-jpg.png PNG 640x400 640x400+0+0 8-bit DirectClass 1.64KB 0.010u 0:00.000Ībove we convert the jpg back to png and then compare it with the original, and it still differs.Īnyway, maybe this will give you some insight. $ compare -identify -metric MAE same2.png same2-from-jpg.png null This is definitly not my area, but I don't think converting the pictures to the same format would make any difference since the compression (or whatever makes the pictures different) already is applied to the image. So, when comparing against jpeg we get a difference, even though the pictures "look" the same. $ compare -identify -metric MAE same1.png same2.jpg null $ compare -identify -metric MAE same1.png same2.bmp null > diff.png PNG 640x400 640x400+0+0 8-bit DirectClass 6.01KB 0.000u 0:00.009Įdit, good point by DigitalTrauma, comparing between different formats/compression algorithms may be a problem, $ compare -identify -metric MAE same1.png same2.xcf null $ compare -identify -metric MAE same1.png diff.png null I'm not that familiar with comparing images, but I tried creating some samples and ran following snippets, $ compare -identify -metric MAE same1.png same2.png null Available for mac and all modern Linux distributions. How about using compare from the ImageMagic software-suite ( ).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |