donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
292 stars 56 forks source link

Add Pillow support #444

Closed donkirkby closed 1 year ago

donkirkby commented 2 years ago

Make Image.show(), or ImageShow.show() display the image on the live canvas. It looks like you can register a new display method.

Also look for some tutorial ideas.

donkirkby commented 1 year ago

Until then, you can use space-tracer to display a Pillow image like this:

live_image = LivePillowImage(image)
live_image.display()
mtkalms commented 1 year ago

Working on it.

donkirkby commented 1 year ago

Thanks for the help, @mtkalms. I wrote up issue #532 about the problem you had with installing Python support on the community edition of IDEA. If you have time, could you try it again and make sure you're trying to install the community edition?

mtkalms commented 1 year ago

Hey @donkirkby, I didn't have that problem, as you told me it would not work with IDEA CE. I'll try it out and comment on issue #532.