Niels Steen Krogh
2003-Nov-19 12:50 UTC
[R] howto improve sharpeness of fonts in a jpg-image producedby R ?
My original question had the subject of making jpg-image files with the bitmap-function. Firstly I was told, that the problem was in my ghostscript-installation which is called by the bitmap-function - not in R itself. I got a lot of good suggestions (also off-list) about what problems in my ghostscript-installation might give some low-quality font-sharpeness in my jpg-grafics produced by bitmap. I tried options like (res=150, point=15....) - and substituted jpeg with png - but wasn't able to find out why ghostscript selects the bad fonts (or what might be the problem) when producing a png/jpg-image through the bitmap-function. I was actually able to produce nice-looking png's doing the steps: 1. Using bitmap to produce a pdf-file 2. invoking ghostscript from my bash-shell and converting the pdf-file produced by the bitmap-function into a png-image. ( gs -sDEVICE=png256 -r150 -dBATCH -sOutputFile=barplotx_normal.png /usr/share/ghostscript/7.05/examples/barplotx_normal.pdf) In the end the best suggestion was to try another approach using the png-function in R instead of the bitmap-function. /Niels R1.8.0 Linux redhat 9 GhostScript version 7.05 Cand. Polit. Niels Steen Krogh Solsortvej 44 2000 F. Tlf: 3888 8613 ZiteLab / EmpoweR youR data with R, Zope and SOAP
Maybe Matching Threads
- howto improve sharpeness of fonts in a jpg-image produced by R ?
- sorting with criteria that are "out of order"
- centile reference chart / clildren growth chart - what package/method to use
- regression - cluster option in STATA - what in R?
- danish characters - installing R - linux redhat 8.0