[Image-SIG] Storing tkinter canvas as PNG file.........
Suresh Kumar
suresh_vsamy at rediffmail.com
Thu Jun 26 11:26:21 EDT 2003
Hi,
Thanks Fredrik. I got it. I converted my cansvas to
Postscript
format. I need one more solution that could complete my
project.
How can i convert a postscript file to PNG or BMP file in
Python?
The problem with Postscript format is we need Ghostscript
viewer
to view the Postcript image which we have to install
separately.
Since most of the systems running under Windows OS have
"Microsoft
Photo Editor", it would be nice to have a PNG file rather than
PostScript file. I tried with "Image" module to open a ".ps"
file
and save it in ".png" format. But i didnt work and i got some
errors. Now how can i convert a postscript file to PNG or BMP
file
in Python?
With regrads,
V.Suresh Kumar
___________________________________________________
Click below to experience Sooraj Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik Roshan,
Abhishek Bachchan & Kareena Kapoor http://www.mpkdh.com
More information about the Image-SIG
mailing list