adding a new icon and lena.png; adding openCamera() method manually to src/GUI.py after merge

This commit is contained in:
vb
2025-11-03 21:50:14 +01:00
parent 1c5eeef8ad
commit b219fa72a5
3 changed files with 5 additions and 0 deletions

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
lena.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

View File

@@ -56,6 +56,7 @@ class GUI:
file_menu = tk.Menu(menu, tearoff=0)
menu.add_cascade(label="File", menu=file_menu)
file_menu.add_command(label="Open Image", command=lambda: self._openImage())
file_menu.add_command(label="Open Camera", command=lambda: self._openCamera())
file_menu.add_command(label="Save Image", command=lambda: self._saveImage())
file_menu.add_command(label="Exit", command=root.quit)
@@ -441,3 +442,7 @@ class GUI:
canvas_left, canvas_top, canvas_right, canvas_bottom,
outline="red", width=3, fill=""
)
def _openCamera(self):
camera = CameraWindow()
camera.run(self)