> From: bill lam
> Sent: Tuesday, 15 June 2010 14:15
> 
> Втр, 15 Июн 2010, Sherlock Ric писал(а):
> >
> > > 2. 'save bmp' works just fine but not 'save png' ... why
> >
> > The different file formats for the save command have different
> options  http://www.jsoftware.com/jwiki/Plot/Commands#Copycommands .
> From that page, only the 'save bmp' format takes a width and height.
> >
> I think wiki needs update, save to png with wh might work a few years
> ago. The bug was introduced when switching image library from image3
> to platimg in Dec 13 08:54:57 2007 as shown in svn log.

AFAICS the wiki page I linked to correctly describes the behaviour of the save 
png command now available? No [w h] option is available for png (or jpg, gif, 
tif, emf). Is there some other location that needs updating?

There is an optional compression parameter that you can give for png, 
specifying how much compression to use. There does appear to be a bug in the 
processing of that option (and the quality option for jpg). I've submitted a 
patch for that to the j6 base library.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to