Apr-25-2020, 11:25 PM
Apr-25-2020, 11:25 PM
Apr-26-2020, 02:07 AM
I just gave you an answer on other thread: https://python-forum.io/Thread-I-m-Student-help
please don't start new thread on same subject
please don't start new thread on same subject
Apr-26-2020, 03:40 AM
(Apr-26-2020, 02:07 AM)Larz60+ Wrote: [ -> ]I just gave you an answer on other thread: https://python-forum.io/Thread-I-m-Student-help
please don't start new thread on same subject
Dont same subject.... I want to other thing
Apr-26-2020, 04:59 AM
Take a look at the previous thread.
There is a link to an example that shows how to get a full screen image.
I think you want to be using a canvas rather than a label.
You also need to query the size of the display, and calculate aspect ratios before expanding the image to fit in the screen.
all of this is explained in the example.
Also, I made an assumption by looking at your post that you are using Linux, is that correct? Because, I am not sure this solution will work properly on MS windows. Here's the link again: https://stackoverflow.com/a/53643419
There is a link to an example that shows how to get a full screen image.
I think you want to be using a canvas rather than a label.
You also need to query the size of the display, and calculate aspect ratios before expanding the image to fit in the screen.
all of this is explained in the example.
Also, I made an assumption by looking at your post that you are using Linux, is that correct? Because, I am not sure this solution will work properly on MS windows. Here's the link again: https://stackoverflow.com/a/53643419
Apr-26-2020, 10:06 PM
(Apr-26-2020, 04:59 AM)Larz60+ Wrote: [ -> ]Take a look at the previous thread.No. I use Windows. I dont use canvas.
There is a link to an example that shows how to get a full screen image.
I think you want to be using a canvas rather than a label.
You also need to query the size of the display, and calculate aspect ratios before expanding the image to fit in the screen.
all of this is explained in the example.
Also, I made an assumption by looking at your post that you are using Linux, is that correct? Because, I am not sure this solution will work properly on MS windows. Here's the link again: https://stackoverflow.com/a/53643419
Apr-26-2020, 10:13 PM
canvas is part of tkinter!