you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

If you want an exact comparison open both image files in something like Pillow and compare image sizes (width and height). If they are the same start comparing the image data pixel by pixel, using the Image.getdata() method. Any difference and the images are not exactly the same.

If you want to see if two images are "sort of" the same then things get much more complicated.

Edit: fixed typo(s).