Skip to content

Commit 54c1ff0

Browse files
committed
it works here!
1 parent 3f77663 commit 54c1ff0

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

Image-Dict/convert.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
red, green, blue, alpha = pix[column, row]
1111
print (str(red) + " " + str(green) + " " + str(blue))
1212

13-
if blue > 0 and green < blue and red < blue:
13+
#if blue > 0 and green < blue and red < blue:
14+
if blue < 30 and green < 30 and red < 30:
1415
output_color = "Blue"
1516
output_file.write("\"" + str(column) + " " + str(row) + " " + output_color + "\", ")
1617
output_file.write("]")

Image-Dict/image.png

-44.6 KB
Loading

Image-Dict/output.txt

Whitespace-only changes.

Image-Dict/snhu.png

115 KB
Loading

0 commit comments

Comments
 (0)