remove the debug code
- ID
65e94b6- date
2023-05-22 03:02:36+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
53fd213- message
remove the debug code- changed files
1 file, 20 deletions
Changed files
images/kn_cover_image (4716) → images/kn_cover_image (4121)
diff --git a/images/kn_cover_image b/images/kn_cover_image
index bad85cf..f07976e 100755
--- a/images/kn_cover_image
+++ b/images/kn_cover_image
@@ -143,23 +143,3 @@ if __name__ == "__main__":
print(out_path)
assert cropped_im.width == cropped_im.height * 2
-
- outline_im = Image.new("RGBA", im.size)
-
- for (x, y) in white_pixels:
- outline_im.putpixel((x, y), (255, 0, 0, 255))
-
- for (x, y) in corner_pixels:
- outline_im.putpixel((x, y), (0, 255, 255, 255))
-
- for x, y_coords in column_corners.items():
- for y in y_coords:
- outline_im.putpixel((x, y), (0, 0, 255, 255))
-
- for y_coords, x_coords in rectangles.items():
- for x in x_coords:
- for y in y_coords:
- # print(x, y)
- outline_im.putpixel((x, y), (255, 0, 255, 255))
-
- outline_im.save("outline5.png")