diff --git a/pysollib/images.py b/pysollib/images.py index e875a2aa..86d95753 100644 --- a/pysollib/images.py +++ b/pysollib/images.py @@ -147,7 +147,6 @@ class Images: r = max(self.CARDW / 40.0, self.CARDH / 60.0) r = max(2, int(round(r))) # im2 = PIL_Image(image=im1.subsample(r)) - print(type(im1)) im1 = PIL_Image(image=im1) im2 = im1.subsample(r) self._back.append(ImagesCardback(len(self._back), name, im1, im2)) diff --git a/pysollib/ui/tktile/svg.py b/pysollib/ui/tktile/svg.py index 870b9c33..7d0931a5 100644 --- a/pysollib/ui/tktile/svg.py +++ b/pysollib/ui/tktile/svg.py @@ -50,7 +50,7 @@ class SVGManager: return None d = self.d d.set_card_width(width) - print("wh", d.get_card_width(), width, d.get_card_height(), height) + # print("wh", d.get_card_width(), width, d.get_card_height(), height) # d.set_card_height(height) image = Image.fromqpixmap( d.get_card_pixmap( diff --git a/pysollib/ui/tktile/tkutil.py b/pysollib/ui/tktile/tkutil.py index 97ba4eea..cd4f26ba 100644 --- a/pysollib/ui/tktile/tkutil.py +++ b/pysollib/ui/tktile/tkutil.py @@ -261,7 +261,6 @@ if Image: if isinstance(image, type(self)): assert 0 image = image._pil_image - print(type(image)) # if not isinstance(image, ImageTk.PhotoImage): ImageTk.PhotoImage.__init__(self, image=image) self._pil_image = image