PIL how to display multiple images side by side

Alf P. Steinbach alfps at start.no
Sun Jan 10 00:51:58 EST 2010


* Lie Ryan:
> On 1/9/2010 8:43 AM, suresh.amritapuri wrote:
>> Hi,
>>
>> In PIL, how to display multiple images in say m rows and n colums when
>> I have m*n images.
>>
>> suresh
> 
> Tkinter has PhotoImage widget and PIL has support for this widget:
> http://www.pythonware.com/library/pil/handbook/imagetk.htm

Maybe I've misunderstood something (in that case glad to learn!), but I believe 
PhotoImage is not a widget, and that a PhotoImage has to be presented in e.g. a 
Label widget or some other widget that's able to display images.


Cheers,

- Alf



More information about the Python-list mailing list