Ask coding questions

← Back to all posts
Images in Python?
DuncanVaughan5 (5)

I am wondering how I can make an image show up in python on I found code that did this, but it produced the image in black and white, and I don't want that because they also had it create red, blue, and green filtered images, while I just want one with color. Is this possible?

RyanRana (233)

This link allows you to use it with PIL library:

This link allows you to do it with Tkinter library:

This link allows you to do it with Pygame:

If this post helped you leave an upvote, please!

keshav1401 (1)

Hi Duncan, can u pls post the code you used to do this. That would be greatly appreciated!

mwilki7 (1134)

I tested something like this out using pygame
Hope this may help:

taylorboyers (0)

I was only able to find it for HTML I was wondering too