Re: PNG resolution [Was: Is there a way to prin in multiple pages?]
From: Lars Clausen <lrclause cs uiuc edu>
To: dia-list gnome org
Subject: Re: PNG resolution [Was: Is there a way to prin in multiple pages?]
Date: 29 Jan 2003 09:49:36 -0600
On 29 Jan 2003, Lars Clausen wrote:
> On Wed, 29 Jan 2003, ed hunter wrote:
>> On Tue, Jan 28, 2003 at 08:35:15AM -0600, Lars Clausen wrote:
>>> On Tue, 28 Jan 2003, Leonardo Javier Belén wrote:
>>> > In the mean time, a thing that really drives me crazy is the fact
>>> > that, when I need to print know the diagram in specially big paper
>>> > (using a sort of plotter) I, according with the printer's, need to
>>> > give them a raster image, so I try to give them .pngs, in which the
>>> > resolution is 96x96, which is clearly unsufficient, so how can I
>>> > change that value?.
>>>
>>> In 0.90, you are asked for the size of the PNG when you export. Just
>>> set this up to however much you need.
>>
>> I think he means *resolution*. The printers need to know it (or at least
>> are accustomed to think in these terms, which is the same :-)
>
> Oh, I see. I guess when the size is changed, the resolution ought to
> change correspondingly. The 96x96 resolution is actually just an
> arbitrary libpng default that has nothing to do with what we write. We
> do 20 DPCM, i.e. 50 DPI, by default. We should change the resolution
> setting to fit the scaling. Please file us a bug report so we don't
> forget.
Looked into it, and it was real easy to fix. Won't change the dialog to
allow resolution setting rather than pixel setting just now. The default
is indeed 50 DPI.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?