My understanding of how this works is as follows: All 'save' commands currently copy the pixel buffer from an existing isigragh window. It is possible to set the size of the isigraph window using pd 'isi 640 480' So essentially the size of the image to be saved is set then (unless window manually resized by user?). I imagine that a gtk option for saving images would work similarly - draw image, in gtk window (visible or not) then copy to file. If so then it seems to me that the [w h] options are unnecessary for the save commands.
Please excuse typos; composed on a handheld device. -----Original Message----- From: bill lam <[email protected]> Sent: Tuesday, 15 June 2010 15:50 To: [email protected] <[email protected]> Subject: Re: [Jprogramming] Output fonts Втр, 15 Июн 2010, Sherlock Ric писал(а): > That would be nice! It would finally remove the dependency on wd > (gl2) and enable creating plot images directly from jconsole. > > Another option would be to use the platform-specific graphic engine > covers for the gl2 commands defined in platimg to draw the plot > before saving the image of it, but using the same graphics engine > (cairo via gtk) to draw the plot on all platforms may ensure that > the output is more consistent? I would think so. BTW wh for png,jpg should be doable but why is this option needed in the first place. Will it be ok to remove this option in j701 plot? -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
