This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Images and pdf again


camille@mandrakesoft.com wrote:
> 
> Hi all,
> 
> I've been searching through the archives of the list, found some threads
> about images for PDF, but nothing solving my problem:
> 
> first of all, resizing of images does not work. Using that:
> <imagedata fileref="image.gif" format="gif" width="3in" scalefit="1">
> has strictly no effect on the rendered size of the image.
> 
> Secondly, I've read that one may use the epdf format, but which
> format="" option should I use? The list of supported formats does not
> include EPDF.
> 
> My problem is that I have high res images for which I don't want to
> perform a resizing, just change the resolution as in EPS files for
> postscript output.
> 
> Thanks, Camille.

You want a "pdftex.cfg" file which contains "imageresolution
<something">

Here is mine:

----------------
% Thomas Esser, 1998, 1999, public domain.
output_format 1
compress_level 9
decimal_digits 3
page_width 210truemm
page_height 297truemm
horigin 1truein
vorigin 1truein
% pdftex.map is set up by texmf/dvips/config/updmap
map pdftex.map
% This shows how to add your own map file.
% Remove the comment and adjust the name:
% map +myfonts.map
image_resolution 115 
----------------------

All the lines apart from the "image_resolution" come from the defaullt
pdftex.cfg.

Getting a decent resolution figure is hard work - there is no right way.
It depends on the resolution the images were created at the resolution
you are viewing them at. The above figure gives reasonable results for
screenshots created at 800x600 screen resolution and printed from
"acroread" to A4 paper.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]