Nender wrote:I'm getting this when I try to run it:
- Code: Select all
File "/Users/nathan/Desktop/convert.py", line 104, in <module>
(r,g,b) = data[xofs+x,yofs+y]
IndexError: image index out of range
Any wisdom?
I'm sorry you're having trouble with this. It really should be less troublesome than what you're dealing with.
What can you tell me about the source image? Resolution, color depth? Was it generated by my GIMP script? Also, what command-line options are you using?
Offhand, I'd say that the rows and columns selected are too wide/tall for your source image. This util doesn't do any bounds checking

, so that could be problem.