You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by cl...@tjgroup.com on 2002/05/08 13:45:17 UTC

External-graphic

Hi

I have some questions regarding the external-graphic tag.

What part of the fop implementation is it that decides which image formats
that is supported?
Is it the Jimi lib or is it in the fop engine?

When you embed an image with external-graphic does it get encoded in a
different format in the PDF?
(E.g. is it any difference in XObject for different file types)

If I try to include a JPG file the encoding works fine and the image
displays in all viewers I have tested.
If I try to include a EPS file the encoding works fine but the image does
NOT display in any viewers at all. BUT vieweng the PDF in a hex editor
shows that the corresponding XObject is in there.

Hope I made any sence, thanks

Claes



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: External-graphic

Posted by Jeremias Maerki <je...@outline.ch>.
> I have some questions regarding the external-graphic tag.
> 
> What part of the fop implementation is it that decides which image formats
> that is supported?

The build process looks which image libraries are in the classpath and
compiles adapter classes accordingly.

> Is it the Jimi lib or is it in the fop engine?

jimi.jar must be in the lib directory during build.

> When you embed an image with external-graphic does it get encoded in a
> different format in the PDF?
> (E.g. is it any difference in XObject for different file types)

JPEG is embedded as JPEG images, EPS as XObject, SVG as PDF instructions
and other bitmap formats as (compressed) bitmaps.

> If I try to include a JPG file the encoding works fine and the image
> displays in all viewers I have tested.
> If I try to include a EPS file the encoding works fine but the image does
> NOT display in any viewers at all. BUT vieweng the PDF in a hex editor
> shows that the corresponding XObject is in there.

Acrobat reader can't display embedded EPS files, but if you print the
PDF on a PostScript printer it will we shown.

> Hope I made any sence, thanks

You did. I hope this helps.

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org