Skip to content

Instantly share code, notes, and snippets.

@jamesnvc
Created October 12, 2010 02:51
Show Gist options
  • Save jamesnvc/621593 to your computer and use it in GitHub Desktop.
Save jamesnvc/621593 to your computer and use it in GitHub Desktop.
# Line 254
if x < media.get_width(picture2) and y < media.get_height(picture2):
pixel2 = media.get_pixel(picture2, x, y)
else:
pixel2 = media.get_pixel(picture2, media.get_width(picture2)-1, media.get_height(picture2)-1)
sum_of_difference = sum_of_difference + distance(pixel, pixel2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment