Re: [PyOpenGL-Users] Creating a postscript image of a scene : how do I use openglutil ?
Brought to you by:
mcfletch
From: gabor <ga...@z1...> - 2003-05-19 16:59:12
|
On Mon, 2003-05-19 at 18:41, Mike C. Fletcher wrote: > You can=20 > see samples of saving images linked off the glReadPixels manual page here= : >=20 > =20 > http://pyopengl.sourceforge.net/documentation/manual/glReadPixels.3G.html >=20 > AFAIK all of those save to png or jpeg, but PIL does (apparently)=20 > support writting EPS from an image, so it should work fine. i'm not sure if he wants the same as me,but: when i wrote my master thesis ( i used pyopengl -)), i needed to make a lot of screenshots. and i also wanted to be able to make eps screenshots. i mean vector-based eps screenshots. that means if there is a line on the screen i want it to be described as a line in the eps file. not as a series of dots. i know that eps is able to handle vectorial data. reason: when printing the master-thesis, all the screenshots look a little ugly, because the resolution of the monitor is a lot smaller than the resolution of the printer. with a vector-based image i wouldn't have that problem. hope this helps, gabor |