Re: png exported from command line has low density



Hi Andrey,

On Sun, Mar 4, 2012 at 5:39 AM, Andrey Repin <anrdaemon freemail ru> wrote:
Greetings, shiraz hashim!

When I use dia gui to export a diagram in png (pixbuf) format, I get following

$ identify -verbose ex.png | egrep -i "resol|geom|pri"
 Geometry: 306x346+0+0
 Resolution: 72x72
 Print size: 4.25x4.80556

but when I export the same diagram from command line, as following

$ dia -t png -e ex.png ex.dia

I get,

$ identify -verbose ex.png | egrep -i "resol|geom|pri"
ÂGeometry: 304x344+0+0
 Resolution: 20x20
 Print size: 15.2x17.2

Why the Resolution (density) is low Âusing command line ?

P.S. I have selected pixbuf png as the preference for png format.

This could happen, if Dia is using different export filter from command line,
than one you're using from UI.

I would cross check on this. Can I choose explicitly (in command-line) one among
several png type available ?

Also, please don't multipost.

Ohh. Sorry. Actually this happened because my first email was held
up as I didn't subscribe.

-- 
regards
Shiraz Hashim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]