Graphical output to jpeg?

Ellis Golub ellis at biochem.dental.upenn.edu
Sat Oct 14 09:10:57 EST 1995

In article <45nfa8$7h3 at galaxy.ucr.edu>, rlucas at galaxy.ucr.edu (robert lucas) writes:
|> 	Can anyone tell me how to get the graphical output of routines like
|> helicalwheel to make a jpeg, gif or some other common picture format? 
|> (preferably something that works on a IBM compatable).
|> Thanks,
|> rlucas at galaxy.ucr.edu

I use two different methods.  If I'm connected as an Xterminal, I copy the image on the screen to the Windows
clipboard and then paste it into a Windows graphics program, such as Corel Draw or Photopaint.

If I'm  connected as a text only terminal, I set the gcg graphics output to HPGL.  When GCG asks how the plotter
is connected, I enter a filename.  After the GCG graphics program is done, I download the graphics file to my PC.
I use kermit and set file type to binary, because although HPGL is a largely ASCII file type, there are a few
control characters which don't come over well in a text only transfer.  To use the HPGL file on your PC, you need
a program which will import it.  I've had the best luck with Corel Draw.  The advantage of HPGL over any bitmaped
format is that it is much easier to edit on you PC.  Once you get the drawing to look the way you want, you can save 
it in any format your graphics program will handle.

Hope this helps

Ellis Golub                            Phone: (215) 898-4629
Biochemistry Department                FAX:   (215) 898-3695
University of Pennsylvania             ellis at biochem.dental.upenn.edu
School of Dental Medicine             
4001 Spruce Street
Philadelphia, PA 19104-6003

More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net