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]
Other format: [Raw text]

Re: [docbook-apps] excluding image format according to output


By the way, you don't need a customization to select the PDF, you can now
use the role attribute on your imageobjects.  See:

http://www.sagehill.net/docbookxsl/GraphicSelection.html#SelectByRole

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Camille BÃgnis" <camille@neodoc.biz>
To: <davep@dpawson.co.uk>; "apps docbook"
<docbook-apps@lists.oasis-open.org>
Sent: Friday, April 15, 2005 1:26 AM
Subject: Re: [docbook-apps] excluding image format according to output


> Dave Pawson wrote:
> > On Thu, 2005-04-14 at 08:43 +0200, Camille BÃgnis wrote:
> >
> >
> >>Yes that's it: PNG (bitmap) quality in printed material is not
> >>comparable to the vector based format quality.
> >
> >
> > Would you expand on that please Camille.
> > I certainly don't understand.
> >
> > I use SVG for 'vector' diagrams.
> > I don't think I can get bit mapped images
> > from that though.
>
> This is what happens to me: I use PNG for screenshots for both PDF and
> HTML output formats. Then I wanted to insert a diagram exported in EPS
> format from the editor for PDF output, and PNG for HTML. Obviously I
> cannot use the PNG for PDF because it is bad quality.
>
> As PDF can embed vector graphics in it, this is the insurance that best
> possible quality, in terms of resolution, will be achieved at print time.
>
> As I don't want the processor to exclude all PNGs for PDF (because of
> screenshots) I had to use the following:
>
>        <mediaobject>
> <imageobject>
>   <imagedata align="center" fileref="images/animation-fig.pdf"
>   format="PDF" width="15cm"/>
> </imageobject>
> <imageobject>
>   <imagedata align="center" fileref="images/animation-fig.png"
>   format="JPG"/>
> </imageobject>
>        </mediaobject>
>
> and exclude JPG for fo output in customization layer...
>
> Hope it's clear now,
>
> Camille.
>



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