RogerioBlanco / PixelCanvasBot

A bot to pixelcanvas.io
63 stars 24 forks source link

Program expects image to be UTF-8 #120

Open henryruss2 opened 3 years ago

henryruss2 commented 3 years ago

When I ran the program, it seems it expects images to be UTF-8. It says this:

SyntaxError: Non-UTF-8 code starting with '\x89' in file C:\Users\Henry\Downloads\pixel-64x64.png on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

TheDarkTiger commented 3 years ago

Weird. Could you post the line you use to run the script? Also, did you try an other image?