page when running example class
ExampleFO2JPSPrint.java
Hi.
I tested the trunk version and finally the ExampleFO2JPSPrint.java prints
Hello World!.
I modified the class adding:
*...
transformer.transform(src, res);
BufferedImage image = renderer.getPageImage(0);
ImageIO.write
@xmlgraphics.apache.org
Subject: Re: Printed blank page when running example class
ExampleFO2JPSPrint.java
Please try with trunk.
On 12/3/12 11:26 AM, Massimo wrote:
Hi.
I changed ExampleFO2JPSPrint.java as you recommended and it prints
(Sytem.out.println) values only if i change target
Hi.
I tested the trunk version and finally the ExampleFO2JPSPrint.java prints
Hello World!.
I modified the class adding:
*...
transformer.transform(src, res);
BufferedImage image = renderer.getPageImage(0);
ImageIO.write(image, PNG, new File(./pippo.png));
...*
and the saved image contains
Hi.
I changed ExampleFO2JPSPrint.java as you recommended and it prints
(Sytem.out.println) values only if i change target resolution:
*userAgent.setTargetResolution(200);*
but the printed page is blank yet.
My SO is XP Sp3 and FOP 1.1.
Regards,
Massimo.
--
View this message in context:
: You may need to change line 122 to change the location of where the
helloworld.fo file is being read from.
Regards,
Robert Meyer
Date: Mon, 3 Dec 2012 03:26:58 -0800
From: massimo.iasev...@snai.it
To: fop-users@xmlgraphics.apache.org
Subject: RE: Printed blank page when running example class
Please try with trunk.
On 12/3/12 11:26 AM, Massimo wrote:
Hi.
I changed ExampleFO2JPSPrint.java as you recommended and it prints
(Sytem.out.println) values only if i change target resolution:
*userAgent.setTargetResolution(200);*
but the printed page is blank yet.
My SO is XP Sp3 and FOP
Hi.
I am interested in using the BufferedImage produced by a custom renderer.
I tried to run the example class ExampleFO2JPSPrint.java and it produced a
blank page instead of Hello world.
The method renderer.getPageImage(0) returns an image with raster bytes sets
to -1.
Can anyone help me?
Thanks.
@xmlgraphics.apache.org
Subject: Printed blank page when running example class ExampleFO2JPSPrint.java
Hi.
I am interested in using the BufferedImage produced by a custom renderer.
I tried to run the example class ExampleFO2JPSPrint.java and it produced a
blank page instead of Hello world.
The method
Meyer
Date: Fri, 30 Nov 2012 06:47:14 -0800
From: massimo.iasev...@snai.it
To: fop-users@xmlgraphics.apache.org
Subject: RE: Printed blank page when running example class
ExampleFO2JPSPrint.java
Hi Robert.
Thanks for your quick response.
I already have those referenced, except