Thursday, June 13, 2024

Wikipedia's Image of the Day: Automated

Hello, kooper here.


While trying to think about what to post here, I suddenly realised that I didn't have any images to present.

In the last post, I hinted about using images from Wikipedia's Image of the Day, however I didn't have a way of parsing Wikipedia to get the images.


Until now!

I have created a Python script which, when run, will do the following:

  • Print the URL of the current Image of the Day
  • Display said image on a Tkinter window

Not only that, but you can also modify the code to specify a custom width and height for the Tkinter window (if you want to do that).


Requirements

  • At least Python 3.10 (this program uses f-strings)
  • 'pillow' module

 

Samples

Below is the image of the day for 13th June 2024 in both its original size and upscaled to 800x600:



 

 

 Download

You can download the script here.

Thursday, April 25, 2024

Uhh...

It has been a long time since I last posted on this blog.

There are many reasons why I just left this site, one of the main reasons being that I had school work to deal with.


Anyhow, I'll try to post more on this website in the coming weeks.

Besides, this blog might as well be my main website 😬


Also, here's another image:

In this case, I just posted a background I had lying around.

I'm not sure of what to put as the images, so I'll come up with something soon.



- dskooper

(p.s. I might just select the Image of the Day from Wikipedia if I can't make up my mind.)

Thursday, November 2, 2023

The beginning

hallo 🙂

my (online) name is kooper, and welcome to my blog

the purpose of this blog is to serve as somewhere to publish whatever i am interested in (or working on) at the moment

there is no dedicated schedule atm (i post whenever i have the free time to post)

have this image


 thats it, bye

- kooper