From: Robert X. <nne...@gm...> - 2009-10-18 18:10:07
|
Turning on full-screen view (scene.fullscreen = True) usually gives a good enough bitmap resolution for most purposes. Robert 2009/10/18 Bruce Sherwood <Bru...@nc...> > And there is PIL, the Python Imaging Library, which can do lots of image > conversions. But the fundamental problem is that you'll have a > low-resolution > bitmap image, which isn't good for many applications. > > Bruce Sherwood > > Stanley Sokolow wrote: > > Bruce is correct that there are screenshot functions in the operating > > systems, including LInux. In Ubuntu Linux and probably most > > distributions, there's a widget that can be added to the desktop panel > > for taking a screenshot. On Windows, I use the Shift-PrintScrn key > > combination, then open the accessory program called Paint and paste > > (Ctrl-V) the clipboard onto the canvas. Using Paint you can crop and > > make other changes, then save as jpeg or other formats. I've used this > > to make step-by-step instruction manuals for using software, with a > > screenshot of each important step. > > > > Another useful program is the ImageMagick library, which is available > > for many programming languages, including Python: > > http://www.imagemagick.org/script/index.php. It can do lots of image > > conversions. > > > > Stan > > > > ------------------------------------ > > On Sun, Oct 18, 2009 at 8:00 AM, Bruce Sherwood <Bru...@nc... > > <mailto:Bru...@nc...>> wrote: > > > > That could be useful; perhaps the reason it's not there is that > > there hasn't > > been much need expressed for such a facility. Note that on Windows > > and Mac (and > > maybe on Linux?) there are facilities built-in to get screen shots. > > For example, > > Alt-Print Screen on Windows captures a bitmap image of the active > > window, which > > can then be pasted into various applications, including Word. > > > > Converting to jpeg is NOT a small job. A jpeg is extremely different > > from a > > bitmap image. Any easily-implemented screen capture will necessarily > > be a bitmap > > image, and therefore necessarily low-resolution for print purposes. > > > > For many purposes one wants something much better than a bitmap > > image. In the > > contributed section of vpython.org <http://vpython.org> the > > povexport utility generates a file that > > can be read by the freeware POV-ray application to generate a > > high-resolution > > ray-traced image of a VPython scene. > > > > A separate issue is that it would be very useful, and probably not > very > > difficult, to generate a PostScript file from a (two-dimensional) > > graph in order > > to produce high-resolution prints of graphs. > > > > Bruce Sherwood > > > > Anders Wallin wrote: > > > Hi all, > > > > > > Why is there no screenshot function in visual? > > > > > > I've looked a bit at SDL/OpenGL in C++ under Ubuntu, and it's > about a > > > 5 min job to google for the correct screenshot code and get it > > > working. It saves a 24-bit TGA-file, but I imagine changing that > to > > > bmp or jpeg or similar is not a big job either. I must be missing > > > something? > > > > > > thanks, > > > > > > Anders > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart > your > > developing skills, take BlackBerry mobile applications to market and > > stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > <mailto:Vis...@li...> > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |