Re: [xep-support] Image Quality

From: Shane Helland <shelland@salaries.com>
Date: Thu Jan 27 2005 - 09:12:05 PST

I'll field that one. In short, no, 4.0 does not improve the rendering
capabilities for PNG. But you shouldn't be surprised by that either.
Michael's response was very accurate -- your dpi is too low to display
on anything but a web page.

If SVG is simply not an option for you and you need to go with a PNG,
you can try increasing the size of your image. The tools I use for
graphs don't allow me to specify a DPI for PNG either. If you specify
the size of your image to be 300/72 times as big as the original, you
can then set the content-height, content-width and width, height
properties on the external-graphic to the desired size. Then your PNG
image will have the equivalent of 300 dpi, which should be enough.
Unfortunately, you'll also have to scale the fonts in your graphic.
That's where this hack fails miserably. It's just about impossible to
match the font in your graphic to the font elsewhere on your reports.
If you can accept the tradeoff of chunky-looking fonts, you might have
luck with this. At 300 dpi, charts look nice when rendered to PDF. It
might even be overkill -- I'm not a graphic guy.

But unless it's really impossible for you to utilize SVG, I'd highly
recommend going that route.

Shane Helland

Jez Brewster wrote:

>Hello
>
>Thanks for your responses Michael and Jost; I appreciate the speed of your replies.
>
>Does RenderX aim to improve support for PNG images (and other raster types etc) in a later release? We are using version 3.8; does version 4.0/4.1 improve on the rendering capability with these types, PNG in particular?
>
>Thanks
>
>Jez Brewster
>Senior Developer
>eBusiness Development
>Datamonitor plc
>t: +44 20 7675 7835
>f: +44 20 7675 7500
>
>For further information, please visit our website: www.datamonitor.com <http://www.datamonitor.com/>
>
>
>
>
>-----Original Message-----
>From: owner-xep-support@renderx.com
>[mailto:owner-xep-support@renderx.com]On Behalf Of Michael Sulyaev
>Sent: 27 January 2005 00:11
>To: xep-support@renderx.com
>Subject: Re: [xep-support] Image Quality
>
>
>Hello Jez,
>
>PNG image you sent is a raster image created from Excel Chart at 72dpi. This
>is definitely too small for quality printing, and you can do nothing with
>this PNG to make it look better on paper.
>Excel charts should be saved as SVG images (with the help of 3rd party
>tools). Or, better, develope a VB program to create an SVG chart-like
>representation of your worksheet data.
>SVG images are always printed fine in XEP, and you can also scale them
>losslessly.
>
>Best regards,
>Michael Sulyaev mailto:msulyaev@renderx.com
>RenderX
>
>
>----- Original Message -----
>From: Jez Brewster
>To: xep-support@renderx.com
>Sent: Wednesday, January 26, 2005 11:28 PM
>Subject: [xep-support] Image Quality
>
>
>Hello
>
>I am having problems getting XEP to create PDF documents that host small PNG
>images. The images in the created PDFs never have a quality that will be
>acceptable for the purposes that we require.
>
>I have attached a small PNG image and I want to host this image in a PDF
>document. However, when I attempt to do so, the image quality of the output
>is disappointing.
>
>I have attached an extract of XSL-FO that I am using to render the image
>within the PDF, and also a sample PDF representation of the image (created
>via XEP 3.8 developer edition).
>
>I'd be grateful for any advice on how to improve the quality.
>
>Thanks
>
>Jez Brewster
>Senior Developer
>eBusiness Development
>Datamonitor plc
>t: +44 20 7675 7835
>f: +44 20 7675 7500
>For further information, please visit our website: www.datamonitor.com
>
>
>
>_____________________________________________________________________
>This message has been checked for all known viruses through the MessageLabs
>Virus Control Center.
>
>-------------------
>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>in the body of the message to majordomo@renderx.com from the address
>you are subscribed from.
>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
>
>_____________________________________________________________________
>This message has been checked for all known viruses through the MessageLabs Virus Control Center.
>
>_____________________________________________________________________
>This message has been checked for all known viruses through the MessageLabs Virus Control Center.
>
>-------------------
>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>in the body of the message to majordomo@renderx.com from the address
>you are subscribed from.
>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
>
>
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Thu Jan 27 09:35:31 2005

This archive was generated by hypermail 2.1.8 : Thu Jan 27 2005 - 09:35:32 PST