[wxPython-users] saving wx output as jpg
Peter Decker
pydecker at gmail.com
Fri Dec 1 05:00:18 PST 2006
On 12/1/06, Ketan C Maheshwari <kmaheshw at science.uva.nl> wrote:
> hi *:
> how can i save the output of a wxprogram say a simple geometrical
> object in a frame, in the form of an image file? from within the program?
If you were using Dabo, it would be a one-liner:
dao.ui.saveScreenShot(obj=frame)
This will prompt the user to select an image file type, and a
name/location for the file. You could, of course, pass those in the
call to saveScreenShot(), and the file would be created without any
intervention by the user.
--
# p.d.
More information about the wxpython-users
mailing list