[Image-SIG] Korean/unicode strings in PIL

2010-01-17 Thread Joris Vankerschaver
Dear all, I would like to use PIL to generate thumbnails with Korean characters. Unfortunately, the code that I use doesn't produce the correct output. Here is a small snippet, based on some PIL example code. code = u'\uAC00' letter = code.encode('UTF-8') i = Image.new("RGB", (25,25)) d =

[Image-SIG] Printing Matplotlib (MPL) Graphs in PIL?

2010-01-17 Thread Wayne Watson
I've used MPL a bit, and am wondering if there's a facility in PIL for sending graphic images to a printer, or putting them in some format like png? I don't necessarily want the graphics to appear in a window, but would like to print them directly once they are ready. Can one put in a page feed