|
@@ -152,11 +152,11 @@ if __name__ == "__main__":
|
152
|
152
|
f.write("# size:" + str(d.image.width) + "x" + str(d.image.height) + os.linesep)
|
153
|
153
|
f.write("img_data = [" + os.linesep)
|
154
|
154
|
for y in range(0, d.image.height):
|
155
|
|
- f.write(" [" + os.linesep)
|
|
155
|
+ f.write(" [" + os.linesep)
|
156
|
156
|
for x in range(0, d.image.width):
|
157
|
157
|
s = str(d.image.getpixel((x, y)))
|
158
|
|
- f.write(" " + s + "," + os.linesep)
|
159
|
|
- f.write(" ]," + os.linesep)
|
|
158
|
+ f.write(" " + s + "," + os.linesep)
|
|
159
|
+ f.write(" ]," + os.linesep)
|
160
|
160
|
f.write("]" + os.linesep)
|
161
|
161
|
print()
|
162
|
162
|
except Exception as e:
|