URI: [url]http://www.pythonchallenge.com/pc/return/mozart.html[/url]
Username: huge; password: file
说明:
—
解题方法:
过关答案:
romance
Username: huge; password: file
说明:
—
解题方法:
import Image, ImageChops
# Download the image from: http://www.pythonchallenge.com/pc/return/mozart.gif
image = Image.open("mozart.gif")
magic = chr(195)
for y in range(image.size[1]):
box = 0, y, image.size[0], y + 1
row = image.crop(box)
bytes = row.tostring()
i = bytes.index(magic)
row = ImageChops.offset(row, -i)
image.paste(row, box)
image.save("new.gif")过关答案:
romance
本篇介绍了一个Python挑战谜题的解决过程。通过使用Python的PIL库操作mozart.gif图片文件并应用特定的图像处理技巧,成功揭示了隐藏信息。最终通关答案为“romance”。
817

被折叠的 条评论
为什么被折叠?



