That sounds like the config file is not loaded at all. Have you tried
running the document from the command-line using the -c parameter? If
the config file is malformed, something like this can also happen but
you've already posted your config and that seems to be fine. Please also
check FOP's log output for possible hints.

On 10.10.2010 22:17:28 paulnnosh wrote:
> 
> Hi,
> 
> I have attached a copy of my generated TIFF. Note, if I remove
> <transparent-page-background> from my config it makes no difference.
> 
> If I set the resolution and compression via the code (via TIFFRenderer),
> rather than via a config file the image quality is much improved. I can't
> explain this!
> 
> Thanks
> 
> 
> Jeremias Maerki-2 wrote:
> > 
> > I've produced the attached TIFF image with FOP Trunk (pretty much
> > equivalent to FOP 1.0) with practically the same configuration as you,
> > except for the
> > <transparent-page-background>true</transparent-page-background>
> > which you should remove.
> > 
> > If by poor quality you mean the bi-level rendering by using a lightness
> > threshold,
> > that could be improved by rendering the bitmap internally in gray scales
> > and then rasterize it using Bayer or error-diffusion rastering. We have
> > code for that but it's not tied into the bitmap renderers and it would
> > also cost a lot of performance and allow much poorer compression levels.
> > 
> > Maybe you should post an image to demonstrate what you consider poor
> > quality.
> > 
> > On 05.10.2010 00:25:27 paulnnosh wrote:
> >> 
> >> To add some additional information. I have now downgraded to 0.95 and
> >> while
> >> the black pages have gone the image quality is still very bad. I noticed
> >> that the log output states:
> >> 
> >> 04-Oct-2010 21:30:56 org.apache.fop.render.java2d.Java2DRenderer
> >> getPageImage
> >> INFO: Rendering Page 1 (pageWidth 595, pageHeight 842)
> >> 
> >> Which if I'm not mistaken is only 72dpi for an A4 page. I have set the
> >> target-resolution to 200dpi so I don't understand why the image is so
> >> bad.
> >> 
> >> Thanks again...
> >> 
> >> 
> >> paulnnosh wrote:
> >> > 
> >> > Hi,
> >> > 
> >> > I'm using FOP 1.0 with Java 1.4 (I know, I know! I'm stuck with it for
> >> > now). 
> >> > 
> >> > I'm using FOP to convert XML into a CCITT T.6 compressed TIFF.
> >> > 
> >> > With the config file below the output TIFF files are just coloured
> >> black.
> >> > 
> >> > I can remove the transparent-page-background tag and that produces an
> >> > image but the quality is very very poor. 
> >> > 
> >> > I have Imageio version 1.1 on my classpath. 
> >> > 
> >> > My config is as follows:
> >> > 
> >> > <fop version="1.0">
> >> >     <source-resolution>72</source-resolution>
> >> >     <target-resolution>200</target-resolution>
> >> >     <renderers>
> >> >         <renderer mime="image/tiff">
> >> >   <transparent-page-background>true</transparent-page-background>
> >> >   <compression>CCITT T.6</compression>
> >> > </renderer>
> >> >     </renderers>
> >> > </fop>
> >> > 
> >> > Can anyone shed any light on what the problem is here please? Any help
> >> > much appreciated.
> >> > 
> >> > Many Thanks
> >> > 
> >> 
> >> -- 
> >> View this message in context:
> >> http://old.nabble.com/FOP-1.0-TIFF-Image-Black-Pages-and-Poor-Image-Quality-tp29881437p29882800.html
> >> Sent from the FOP - Users mailing list archive at Nabble.com.
> >> 
> > 
> > 
> > 
> > Jeremias Maerki
> > 
> >  
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> > 
> http://old.nabble.com/file/p29929378/C25C%2B-%2Bpoor%2Bquality.tiff
> C25C+-+poor+quality.tiff 
> -- 
> View this message in context: 
> http://old.nabble.com/FOP-1.0-TIFF-Image-Black-Pages-and-Poor-Image-Quality-tp29881437p29929378.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to