Re: Convert PNG files to BMP files using PIL

2006-12-04 Thread Soni Bergraj
Craig wrote: > Can this be done using PIL or is there another library that can be used > to fulfil the task. If you could let me know that would be great. > Thanks and good luck. Not sure if this solves your particular problem, but have you considered ImageMagick? There are python bindings at htt

Re: Convert PNG files to BMP files using PIL

2006-12-04 Thread Fredrik Lundh
Craig wrote: > I'm trying to convert some PNG files to bitmap files which can then be > converted to X11 bitmaps using the im.tobitmap() function. But the > error I get when using the im.tobitmap() function on the PNG files I > get the following error: > im.tobitmap() tobitmap() only works

Convert PNG files to BMP files using PIL

2006-12-04 Thread Craig
Hi there, I'm trying to convert some PNG files to bitmap files which can then be converted to X11 bitmaps using the im.tobitmap() function. But the error I get when using the im.tobitmap() function on the PNG files I get the following error: >>> im.tobitmap() Traceback (most recent call last):