DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PNG Image Size problem

 
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
ndiel



Joined: 24 Aug 2011
Posts: 3

PostPosted: Mon Aug 29, 2011 4:42 pm    Post subject: PNG Image Size problem Reply with quote

Dpot is not outputting PNGs at the correct size for some inputs.

When I use the following parameters:
Width: 3300 pixels
Height: 2550 pixels
Crop white space checked
Resolution: 300 dpi
24 color depth

The outputted PNG is 10288 x 7956 pixels, far from my stated input. Further my dataset is large, 2million+ points.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Mon Aug 29, 2011 6:10 pm    Post subject: Reply with quote

The dpi setting is mostly intended for TIFF output and users of LaTeX that insists that dpi actually means something... when it clearly doesn't before printing.

If you set the resolution to anything less than 100 dpi then you'll get the dimensions you specify minus the area cropped by "Crop white space". If you set it to anything greater than 100 dpi then all dimensions are multiplied by <resolution>/<screen resolution>. (In most cases Windows will report your screen resolution as 96 dpi.)

It's all confusing, I know. If you want the dimensions you specify then set resolution=0.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ndiel



Joined: 24 Aug 2011
Posts: 3

PostPosted: Mon Aug 29, 2011 6:42 pm    Post subject: Reply with quote

My original intention was to create a png that would fit on letter paper (8.5"x11"). That is a perplexing equation to use to create the desired output size. Though thanks for the clarification.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group