Re: [ploticus] Wanted: exact PNG pixel resolution
- Hi, there's currently no direct way to specify pixel size of result PNG.
The method you're using is what I would do. I'll see about adding this
capability for the next release.
On Tue, 18 Dec 2007, esm1342000 wrote:
> Is there a way to specify the exact pixel resolution of an output PNG?
> I need a 320x240 PNG. I've tried the following:
> pagesize 3.2 2.4 => 320x238
> pagesize 3.2 2.40999999 => 320x239
> pagesize 3.2 2.41 => 320x241
> For now I'm using the latter + convert -crop 320x240+0+1, but was
> hoping for a more natural solution.
> Thanks in advance. I'm new to ploticus, and so far like it a great deal.
> Ed Santiago Toolsmith
Stephen C. Grubb scg@... x-6633
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA