It is a little late to suggest this but never work on an original file, always edit copies of the original.
As to that error, it is saying no End Of File found. Unfortunately I don't know enough about file formats to tell you what the EOF character should be more so I'm a bit confused about the error message as I'm not sure if it is complaining about the image file or the Python code. I wold try opening another image file to verify which is broken. If it is the image file you may be in tough shape as those are compressed files.
taiden wrote:Hey all,
I was setting an image up in image-to-gcode when my power supply quit halfway through, right before I told it to convert.
Now when I try to open an image file I get this message.
Any ideas?