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 Eric SCHAEFFER <ES...@Techmetrix.net> on 2001/01/07 14:54:53 UTC

Changes in image support

Hi,

I don't have time to work on image. Maybe in a few days or months...
It would be great if someone could work on it (I could help him).

Here is what I thougth about:

The image package should be here for giving image properties needed during
the layout process (essentially width and height). It should return the
image data using Java native classes (I know, it can introduce JDK versions
dependencies), or unchanged (like just reading the image file). I've changed
the FopImage interface.
Renderers should then be responsible for transforming the image data in the
format used for their output.

For the PDF renderer:

I've tried to write the transform function (Java image classes -> PDF image
format), but I've got some problems. The Java class I used was a Raster, but
it's not so easy to get the image data (I get pixels as int, but the RGB or
CYMK values order is not always the order used in PDF, plus ColorSpace
problems, ...).

If you're interrested in working on the image package, just tell me. I can
give you what I've done and help you.

Eric.

Cordialement,
Eric SCHAEFFER

Consultant TechMetrix Research
http://www.techmetrix.net
Groupe SQLi
http://www.sqli.com
Créateurs de sites intelligents depuis 1995

FOP, the first XSL:FO processor
http://xml.apache.org/fop/