diff options
author | Leonard Kugis <leonard@kug.is> | 2023-03-22 04:22:29 +0100 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2023-03-22 04:22:29 +0100 |
commit | a747254ece9da9af1517dd7dfdb4d16949b0eabb (patch) | |
tree | 9999a22523c2dc9a4473efb200b823943e3ca155 /gui.py | |
parent | 7c635fed24bba638f10a73fe39134519ecd675bf (diff) |
Implemented detail scanner with multithreading
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ class GuiImage(object): self.__image = ImageTk.PhotoImage(image=self.__image_pil) Label(self.__master, text="Index: {}".format(index)).grid(row=0, column=0, columnspan=4) Label(self.__master, text="File: {}".format(file)).grid(row=1, column=0, columnspan=4) - self.__label = Label(self.__master, width=800, height=800, image=self.__image) + self.__label = Label(self.__master, width=img.shape[1], height=img.shape[0], image=self.__image) self.__label.grid(row=2, column=0, columnspan=4) Entry(self.__master, textvariable=self.__tags).grid(row=3, column=0, columnspan=4, sticky="we") Button(self.__master, text="↺", command=self.__handle_rotate_90_counterclockwise).grid(row=4, column=0) |