Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith

José Matos

Except, I am only using screen grabs when I need to illustrate what the
screen looks like. Looking at my original post I should probably have
had a comma after "screen grabs".
  


With "screen grab" do you mean a screen shot of R's output?
  
No, when I said that I need to illustrate what the screen looks like, I 
literally meant what the screen looked like with multiple windows open, 
menus, toolbars etc.


In fact, in terms of Lyx the solution seems to be grabbing the screen as 
a png rather than a PDF.  the PNGs are a up to 25%  the size of the PDFs 
and Lyx seems to be able to re-size these with little loss of quality. 
Not as good as the PDF, but much smaller.  However, given that Lyx seems 
to do some optimisation anyway, whether it makes any difference to the 
size of the final document.


Graham




Re: Optimising PDF file size - graphics management

2009-12-19 Thread José Matos
On Saturday 19 December 2009 14:55:51 Graham M Smith wrote:
> Paul
> 
> > A suggestion Graham: try to produce vectorial graphics with R (and not
> > screen-shots); this will reduce the size of your graphics and improve
> > dramatically their quality.
> 
> Mmmm, yes :-)
> 
> Except, I am only using screen grabs when I need to illustrate what the
> screen looks like. Looking at my original post I should probably have
> had a comma after "screen grabs".

With "screen grab" do you mean a screen shot of R's output?

Why not to use program listings? You can configure the insets to use the R 
syntax highlighting.

> All the charts and graphs are exported from R as PDFs.
> 
> Graham
> 

-- 
José Abílio


Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith

Paul

A suggestion Graham: try to produce vectorial graphics with R (and not
screen-shots); this will reduce the size of your graphics and improve
dramatically their quality.
  

Mmmm, yes :-)

Except, I am only using screen grabs when I need to illustrate what the 
screen looks like. Looking at my original post I should probably have 
had a comma after "screen grabs".


All the charts and graphs are exported from R as PDFs.

Graham




Re: Optimising PDF file size - graphics management

2009-12-19 Thread Paul Smith
On Sat, Dec 19, 2009 at 10:40 AM, Graham M Smith
 wrote:
> Not really a Lyx question, but it has spawned from using Lyx, and Lyx users
> are likely to have an appropriate approach.
>
> I have a 20 page Lyx Beamer document that I am compiling as an article (A4)
> and a presentation. Both PDFs end up at 2.7Mb.
>
> The bulk of the documents are screen grabs and graphics produced from R.
> File sizes for the graphics range from a few kb to almost 1Mb (all PDFs) for
> the screenshots.
>
> First question is whether there is any optimisation of file sizes during the
> compiling to PDF and the original file sizes don't really matter. This seems
> to the case to a certain extent as the total file size for all the graphics
> exceeds the 2.7Mb of the final file.
>
> But should I still be trying to reduce the size of the original files. If so
> is there a best way of doing this, and is there guidance somewhere on target
> sizes and resolutions for different purposes.
>
> It seems an obvious and recurring question that people might have, but
> googling seems to just throw up lots about web pages. So I would be
> interested if any Lyx users have established some routine for managing this
> problem.
>
> I am using Ubuntu 9.1, most of the time.

A suggestion Graham: try to produce vectorial graphics with R (and not
screen-shots); this will reduce the size of your graphics and improve
dramatically their quality.

Paul


Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
Not really a Lyx question, but it has spawned from using Lyx, and Lyx 
users are likely to have an appropriate approach.


I have a 20 page Lyx Beamer document that I am compiling as an article 
(A4) and a presentation. Both PDFs end up at 2.7Mb.


The bulk of the documents are screen grabs and graphics produced from R. 
File sizes for the graphics range from a few kb to almost 1Mb (all PDFs) 
for the screenshots.


First question is whether there is any optimisation of file sizes during 
the compiling to PDF and the original file sizes don't really matter. 
This seems to the case to a certain extent as the total file size for 
all the graphics exceeds the 2.7Mb of the final file.


But should I still be trying to reduce the size of the original files. 
If so is there a best way of doing this, and is there guidance somewhere 
on target sizes and resolutions for different purposes.


It seems an obvious and recurring question that people might have, but 
googling seems to just throw up lots about web pages. So I would be 
interested if any Lyx users have established some routine for managing 
this problem.


I am using Ubuntu 9.1, most of the time.

Many thanks,

Graham


--
--
Graham M Smith