Skip to content

Jpeg and pixel

9 messages · thomas.schwander at mvv.de, Alberto Monteiro, Brian Ripley

#
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote:

            
png(), as the help page suggested.  The 'P' in JPEG stands for 
'Photographic', and the format is not intended for text and line diagrams.

  
    
#
Hi Brian,

Thank you for your fast answer. It looks a little bit better now. Nevertheless I see pixels. May it depend on the font used?
In the praeambel I use 
	windowsFonts(Frutiger = windowsFont("Frutiger 45 Light")) 
	par(family="Frutiger")

And later, to create a wide table on the right of the plot
	text(par("usr")[2] + 3.95, ... ,family="Frutiger") 

Regards,
Thomas

-----Urspr?ngliche Nachricht-----
Von: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Gesendet: Dienstag, 11. M?rz 2008 09:28
An: Schwander, Thomas, KS.R
Cc: r-help at r-project.org
Betreff: Re: [R] Jpeg and pixel
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote:

            
png(), as the help page suggested.  The 'P' in JPEG stands for 'Photographic', and the format is not intended for text and line diagrams.

  
    
#
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote:

            
These _are_ bitmap formats: of course you will see pixels if you look 
closely enough!

But beware that many of the artefacts people see are from their viewer and 
not from the file R produces.

  
    
#
Thanks again,

but I see the pixels on my print... The width is set to 1560, the height to 566.

Is the assignment to use Frutiger correct?

Regards

-----Urspr?ngliche Nachricht-----
Von: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Gesendet: Dienstag, 11. M?rz 2008 10:08
An: Schwander, Thomas, KS.R
Cc: r-help at r-project.org
Betreff: Re: AW: [R] Jpeg and pixel
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote:

            
These _are_ bitmap formats: of course you will see pixels if you look closely enough!

But beware that many of the artefacts people see are from their viewer and not from the file R produces.

  
    
#
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote:

            
How would I know?  If you doubt this, try it with a standard font and 
compare.

Note what I said about artefacts: something other than R is involved when 
you print.  This is the sort of thing which happens if bitmap images are 
not printed at their native resolution.

  
    
#
Prof Brian Ripley wrote:
I saw that R can write in SVG format, using the RSVGTipsDevice
library. I think SVG is the closest format to losslessness 
when printing.

Of course, my ecological motivation would ban all formats that
make printing easy, to save the environment by saving a few trees :-)

Alberto Monteiro
#
I'll try it. thx 

-----Urspr?ngliche Nachricht-----
Von: Alberto Monteiro [mailto:albmont at centroin.com.br] 
Gesendet: Dienstag, 11. M?rz 2008 12:24
An: Prof Brian Ripley; Schwander, Thomas, KS.R
Cc: r-help at r-project.org
Betreff: Re: [R] Jpeg and pixel
Prof Brian Ripley wrote:
I saw that R can write in SVG format, using the RSVGTipsDevice library. I think SVG is the closest format to losslessness when printing.

Of course, my ecological motivation would ban all formats that make printing easy, to save the environment by saving a few trees :-)

Alberto Monteiro
#
You'll do much better with e.g. PDF, a format designed for printing and 
that used by the printing industry.
On Tue, 11 Mar 2008, thomas.schwander at mvv.de wrote: