You need to set this in the fop.xconf file:
<!-- Target resolution in dpi (dots/pixels per inch) for specifying
the target resolution for generated bitmaps, default: 72dpi -->
<target-resolution>600</target-resolution>
600 is a suggestion, but if you don't set it, as the comment says, you
get 72dpi...
Take a look at the PNGRenderer and TIFFRenderer in the
o.a.fop.render.bitmap package. A JPEGRenderer would be implemented
similarly.
On 12/5/13, 9:31 PM, Chris Cartlidge wrote:
Hi Guys,
So attached are the files to re-create the issue. I am using a
standard FOP configuration that you get when running through the
examples directory. You may also note that the colour of the PDF
images changes and looks like it's not retaining the profile as well
as the quality of the image being poor.
I'm running on FOP 1.1
Any helpers or pointers would be great. Also how do I get into
contributing to this project, I want to builder a JPEG render for FOP...
*From:*A Gian [mailto:a.yan...@hotmail.com <mailto:a.yan...@hotmail.com>]
*Sent:* 04 December 2013 14:10
*To:* fop-users@xmlgraphics.apache.org
<mailto:fop-users@xmlgraphics.apache.org>
*Subject:* RE: External-Graphics & PNG Output
Hello Chris,
which fop version are you using ? 1.1? Also, if you could provide
all the necessary resources in order to reproduce the problem (such
as fo file, images etc ) it would be easier for other people to help you.
Thanasis
------------------------------------------------------------------------
From: chris.cartli...@adgistics.com <mailto:chris.cartli...@adgistics.com>
Date: Wed, 4 Dec 2013 12:04:47 +0000
Subject: External-Graphics & PNG Output
To: fop-users@xmlgraphics.apache.org
<mailto:fop-users@xmlgraphics.apache.org>
Hi Guys,
I have a simple fo document that includes a PDF as an
/external/-/graphic. When this is rendered as a PDF the quality is
great as you would expect. However, when I run this through the
standard Bitmap renderer to produce a PNG the quality is awful and the
image is pixelated../
//
/Any idea? /
**
------------------------------------------------------------------------------------
This message and any attachments transmitted with it are confidential
and intended solely for the use of the addressee(s). If you are not
the addressee, you may not disseminate, distribute or copy this
message and you should destroy it and kindly notify the sender by
return. All opinions and conclusions in this message are solely those
of the author and should be understood as neither given nor endorsed
by Adgistics Limited unless specifically stated. Whilst we take
reasonable precautions to ensure this message is free of viruses,
opening and using this message is at the risk of the recipient.
Adgistics Limited: Registered in England and Wales, Company Number:
3859657, Registered Office 5 Copper Row, Tower Bridge Piazza, London
SE1 2LH. Vat Registered Number: 752019256.
------------------------------------------------------------------------------------
This message and any attachments transmitted with it are confidential
and intended solely for the use of the addressee(s). If you are not
the addressee, you may not disseminate, distribute or copy this
message and you should destroy it and kindly notify the sender by
return. All opinions and conclusions in this message are solely those
of the author and should be understood as neither given nor endorsed
by Adgistics Limited unless specifically stated. Whilst we take
reasonable precautions to ensure this message is free of viruses,
opening and using this message is at the risk of the recipient.
Adgistics Limited: Registered in England and Wales, Company Number:
3859657, Registered Office 5 Copper Row, Tower Bridge Piazza, London
SE1 2LH. Vat Registered Number: 752019256.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org