View previous topic :: View next topic |
Author |
Message |
ndiel
Joined: 24 Aug 2011 Posts: 3
|
Posted: Mon Aug 29, 2011 4:42 pm Post subject: PNG Image Size problem |
|
|
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 |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Mon Aug 29, 2011 6:10 pm Post subject: |
|
|
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 |
|
|
ndiel
Joined: 24 Aug 2011 Posts: 3
|
Posted: Mon Aug 29, 2011 6:42 pm Post subject: |
|
|
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 |
|
|
|