[Rd] png and resolution (PR#8066)

kkrueger@einthal.de kkrueger at einthal.de
Mon Aug 15 16:25:53 CEST 2005


Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)


In the png function the value res seems to be inactive:

bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result: 
witdh/heigth  = 1920  <> 20.32 mm
ppi=2400
Results as expected


png(filename = "c:/r/Rplot%03d.png", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)

witdh/heigth  = 1920  <> 20.32 mm
ppi=150
Result not as expected.



More information about the R-devel mailing list