Not sure of the details, but in 601 the intent is that you would get the
pixel you want (glqpixels x y w h) and the use bmp utilities (open'bmp') to
write the bmp file.
----- Original Message -----
From: "Devon McCormick" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 24, 2006 5:40 PM
Subject: [Jbeta] Saving OpenGL image?
In version 5.04, I could save a plot image as a .BMP by using
a sequence of commands like:
glfile_jgl2_ 'C:\amisc\pix\graphs\Lorenz1.bmp'
glsavebmp_jgl2_ 1280 980
e.g. to save the current plot as a 1280x980 bitmap file.
In version 6.01, this fails on the first step with a domain error.
Is there a better way to do this that will work in old and new versions?
Failing that, what do I need to do in 6.01 to save an image of a plot?
Thanks,
Devon
--
Devon McCormick
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm