[Jprogramming] High quality graphics files (& glfile)

Shaw, Ewart Ewart.Shaw at warwick.ac.uk
Thu Oct 25 00:40:29 HKT 2007


Many thanks.  I can convert the BMP files to PNG using Paint Shop Pro,
so (space willing) it's a good alternative to producing PNG directly,
though I'd still prefer some form of vector graphics format.

The EMF files produced by plot still look low resolution (e.g. dashed lines
have individual segments interpolated beautifully between crudely placed endpoints),
so I think I'll need to use low-level graphics.  Did you (Devon) get glfile to work?

Regards, Ewart Shaw

J.E.H.Shaw      http://www.warwick.ac.uk/statsdept 
Ewart Shaw      http://www.ewartshaw.co.uk



-----Original Message-----
From: programming-bounces at jsoftware.com on behalf of Devon McCormick
Sent: Wed 24/10/2007 16:08
To: Programming forum
Subject: Re: [Jprogramming] High quality graphics files (& glfile)
 
Mr. Shaw -

you can save arbitrarily large plots by specifying (width height) when
saving as a bitmap, e.g.
   pd 'save bmp \amisc\bigpic.bmp 2000 2000'
(you do have to "pd 'show'" before saving as I just discovered.)

The EMF format seems to work in J6.01 for the simple test I just did.  This allows
one to look at the file in an arbitrary size when opening it.  So, far I haven't been
able to figure out if this handles fine resolution well as I can only open an image of
2458 by 1912 (a multiple related to my screen size) before running into memory
limitations.

Hope this helps,

Devon McCormick
...

-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list