My computer doesn't load the picture

0xBBA5

masstx
5 years ago

1

How to solve this problem ?

3replies
4voices
190views
Kaldah
5 years ago

1

You just need to download the picture, I think you can save it even if it doesnn’t show it. (It’s intentional)

jd0z
4 years ago

1

from PIL import Image

logo = Image.open(“original.png”)
logo_pixels = logo.load()
keith = Image.open(“extracted.png”)
keith_pixels = keith.load()
difference = Image.new(‘RGB’, logo.size, (255, 255, 255))
difference_pixels = difference.load()

height, width = logo.size
for r in range(height):
for c in range(width):
p = logo_pixels[r,c]
k = keith_pixels[r,c]
new = []
for num in range(3):
temp = p[num] + k[num]
new.append(temp)

    difference_pixels[r,c] = new  
    '''  
    difference_pixels[r,c] = (0 if abs(p[0]-k[0]) > 2 else 255,  
                              0 if abs(p[1]-k[1]) > 2 else 255,  
                              0 if abs(p[2]-k[2]) > 2 else 255)  
    '''  

difference.save(“difference.png”)

whats next?
how do they representing the chess pieces?

playerk3tt0
4 years ago

1

I cannot download crypt 9.
When I open crypt 7, I see an error too…
But I’m able to download DSWii6x.png when I hit Ctrl+S.
I hope it helps.

You must be logged in to reply to this discussion. Login
1 of 4

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss