Open kerolos opened 6 years ago
I have the same problem . do you resolve it ?
Here is what I did for the code inside function load_dir
, I need a larger container for my (832, 832) size image.
self.img = Image.open(imagepath)
self.tkimg = ImageTk.PhotoImage(self.img)
width = max(self.tkimg.width(), 832)
height = max(self.tkimg.height(), 832)
self.mainPanel.config(width = width, height = height)
self.mainPanel.create_image((width/2, height/2), image = self.tkimg)
@kerolos @juzhitao
I added scrolling in my fork to get around the issue: here Hope this helps! @kerolos @juzhitao
any solution please for this problem because I have the same ????
@toobaimt this takes me to the same repo. Can you please point me to the forked repo that you mentioned with the aforementioned fix.
Thanks @toobaimt but the issue still persists, not able to view the entire image of resolution 2346 × 186
@Shomitg the scrollbar doesn't help?
You might have to edit code a bit to accomodate bigger images
@toobaimt yeah I guess I'll have to edit the code. the scrollbar doesn't seem to be working.
@toobaimt The scrollbar isn't working. @Shomitg Could you give the edited code to accomodate high res images?
@toobaimt Thanks!
@toobaimt scroll bar is working but the next button isn't working. Can't go to the next image :p
I have images with those size 1944, 2592. which part of the code should I modify for displaying the whole image? thanks in advance.