This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Image and FOP
- From: Deepak Shrestha <d88pak at yahoo dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 17 Nov 2004 11:24:38 -0800 (PST)
- Subject: Re: [docbook-apps] Image and FOP
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=cTlVuwRh5qmgT4DatVhXAAQeogjeTAjmlRz8vOBPrVHoquLFrdV8dGF+ATFza0ymf5WJoYicLtqaWh7hegqox1wwMXCHOEteh8HjpWsiFk287qKUoCp+sccsGDzw+P0CYqKHHiW23Fbl/fv8txv3eVrH3DincZaRwrNYYmfSef4= ;
Yes I have installed JAI as instructed in DocBook
xsl:The Complete Guide. My FOP doesn't complain about
it. I have tried another alternative. since my image
is quite large, I tried to reduce it. Now it is
showing my explicitly) scaled image in PDF. I think
it has something to do with the file size.
Deepak K. Shrestha
--- Jens Skripczynski <skripi-lists@myrealbox.com>
wrote:
> Hi,
>
> have you included any image processing jar's in
> your classpath ?
>
> AFAIK you need to have JAI or jimi.jar installed,
> to have images in your pdf.
>
> Atleast my fop complains about missing support, if I
> add an image without the proper jars.
>
> Deepak Shrestha:
> > Hi list,
> >
> > I have found something strange with FOP 0.20.5.
> > If I put the PNG image( mediaobject > imageobject
> >
> > imagedata ) in a document (single file such as
> small
> > article) it works fine with PDF when processed
> with
> > FOP (even the image scaled through "width" and
> "depth"
> > properties). But image doesn't show up in PDF when
> > docbook consists of several file tied together
> with
> > entity references.
> >
> > ##################
> > eg:
> > book
> > chap1.xml
> > ..
> > ..
> > etc.
> > ##################
> >
> > 1) I tried with same image and all the parameters
> in
> > my "chap1" and tried to process my "book" but this
> > time image doesn't show up in PDF.
> > 2) I converted the image to JPG (without scaling)
> and
> > refernced it. Now it works.
> >
> > By the way I am using saxon and FOP. My question
> is:
> >
> > 1) Is there something wrong with saxon or probably
> bug
> > in FOP?
> >
> > Although its perfectly fine for me to include the
> JPG
> > image in my paper, I am just curious about this
> > strange behavior.
> >
> > Any Clue?
> >
> > Thanks in advance.
> >
> > Deepak K. Shrestha
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
>
> Ciao
>
> Jens Skripczynski
> --
> E-Mail: skripi-lists(at)myrealbox(dot)com
>
> Computers are like airconditioners: They stop
> working
> properly if you
> open windows.
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com