diff --git a/src/gui/imgview.py b/src/gui/imgview.py --- a/src/gui/imgview.py +++ b/src/gui/imgview.py @@ -29,8 +29,7 @@ class ImgView(ResizableCanvas): self.delete("all") if self._img: - img=self._img.copy() - img.thumbnail((int(self._width),int(self._height))) + img=self._img.resize((int(self._width),int(self._height))) self._tkImg=ImageTk.PhotoImage(img) # just to save the image from garbage collector self.create_image(self._width//2, self._height//2, anchor="center", image=self._tkImg)