No, only the PrintRenderer has something like that. But I think it
should be simple to port this over to the PNGRenderer. You've got the
sources...
On 09.11.2006 16:06:31 Olivier Mansour wrote:
Hey again
I have a question for PNG rendering. Is it possible to render just a
given page from a
Le 12 nov. 06 à 12:32, Jeremias Maerki a écrit :
No, only the PrintRenderer has something like that. But I think it
should be simple to port this over to the PNGRenderer. You've got the
sources...
Thanks
Finally I simply made it with an xsl sheet
Olivier
FoToOnePageFo.xsl
Description:
Le 8 nov. 06 à 15:33, Jeremias Maerki a écrit :
The NullPointerException due to the fact that the code doesn't expect
that no ImageWriter for PNG is found. And that seems to be the case in
your environment. In a perfect world, you'd get a nice message that no
ImageWriter could be found, but
Le 6 nov. 06 à 14:55, Jeremias Maerki a écrit :
Creating multiple PNG files is only supported if output is done to a
file (seems to be the case here). In this case, you have to set the
output file on the user agent in addition to the output stream:
useragent.setOutputFile(new
The NullPointerException due to the fact that the code doesn't expect
that no ImageWriter for PNG is found. And that seems to be the case in
your environment. In a perfect world, you'd get a nice message that no
ImageWriter could be found, but that wouldn't help either in this case.
The question
Le 6 nov. 06 à 14:55, Jeremias Maerki a écrit :
Creating multiple PNG files is only supported if output is done to a
file (seems to be the case here). In this case, you have to set the
output file on the user agent in addition to the output stream:
useragent.setOutputFile(new
Hey
Another beginner question
I use fop 0.92 but I'am consedreing moving to trunk soon
I tried to generate png from a fo file
using command line works fine :
java -jar fop.jar -fo /tmp/test.fo -png ../../../web/uploads/test.png
give severals png test.png, test2.png - one png for each page.