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.
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 File("D:/out.png"));
HTH
On 04.11.2006 18:00:09 Olivier Mansour wro
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 File("D:/out.png"
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 File("D:/out.png"
Le 8 nov. 06 à 09:42, Olivier Mansour a écrit :
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 str
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 is
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 tha
Hey again
I have a question for PNG rendering. Is it possible to render just a
given page from a multipage fo file ?
If yes, can you provide an example ?
Thanks a lot
Olivier
Le 9 nov. 06 à 15:40, Olivier Mansour a écrit :
Le 8 nov. 06 à 15:33, Jeremias Maerki a écrit :
The NullPointer
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 fro
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: B
10 matches
Mail list logo