PIL

Matteo Landi landimatte at gmail.com
Tue Aug 3 04:55:25 EDT 2010


I don't think yours is a permitted conversion[1]. It seems that PIL supports
xpm format only for reading, but I could be wrong.

Regards.


[1] http://www.daniweb.com/forums/thread260074.html

On Tue, Aug 3, 2010 at 10:45 AM, Navid Parvini <parvini_navid at yahoo.com>wrote:

> Dear All,
>
> I want to convert a .png file to .xpm using PIL. I used the following
> command:
> Image.open( "t1.png").save("a1.xpm"). But it doesn't work and I could not
> convert it.
>
> Would you please help me and let me know that how can I convert/save .xpm
> files in PIL.
>
> Thank you in advance.
>
> Thanks.
> Navid
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
Matteo Landi
http://www.matteolandi.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100803/34dd8f97/attachment.html>


More information about the Python-list mailing list