You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Naveen M V <na...@trigent.com> on 2004/03/15 10:07:06 UTC
can I place Overlapping images in fo
Hi ,
I would like to place one image (jpeg-CMYK) over a another like a pack of
cards spread. Or do we have anything like the layers of Netscape in fo.
Using SVG like this <image xlink:href="image_cmyk.jpg" x="0.1in" y="0.1in"
width="1.1in" height="1.1in"/> gives
sun.awt.image.ImageFormatException: Unsupported color conversion request
at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)
S i need a way to make layers using
<fo:external-graphic src="image_cmyk.jpg" width="0.37in" height="0.37in"/>
Thanks In advance.
Regards/Naveen
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: can I place Overlapping images in fo
Posted by Chris Bowditch <bo...@hotmail.com>.
Naveen M V wrote:
> Hi ,
> I would like to place one image (jpeg-CMYK) over a another like a pack of
> cards spread. Or do we have anything like the layers of Netscape in fo.
There is z-index in XSL-FO, but this is not implemented in FOP. You can
set the background image for a region and overlay an image on top. But I
dont think you can achieve what you want using FOP 0.20.5.
> Using SVG like this <image xlink:href="image_cmyk.jpg" x="0.1in" y="0.1in"
> width="1.1in" height="1.1in"/> gives
> sun.awt.image.ImageFormatException: Unsupported color conversion request
> at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
> at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
> at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
> at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
> at sun.awt.image.ImageFetcher.run(Unknown Source)
If the SVG fails then you need to ask why it doesnt work on the Batik
list. I suspect it has something to do with CMYK images. If you can
solve this issue, then SVG may be the best approach to get what you want.
> S i need a way to make layers using
> <fo:external-graphic src="image_cmyk.jpg" width="0.37in" height="0.37in"/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org