Re: png renderer and multiples page

2006-11-12 Thread Jeremias Maerki
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

Re: png renderer and multiples page

2006-11-12 Thread Olivier Mansour
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:

Re: png renderer and multiples page

2006-11-09 Thread Olivier Mansour
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

Re: png renderer and multiples page

2006-11-08 Thread Olivier Mansour
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

Re: png renderer and multiples page

2006-11-08 Thread Jeremias Maerki
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

Re: png renderer and multiples page

2006-11-06 Thread Olivier Mansour
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

png renderer and multiples page

2006-11-04 Thread Olivier Mansour
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.