Jeff,

Thanks for the suggestion. I do love SVG, however in this case it won't help me -- I'm building a framework and toolkit for others to use, and they're likely to have PNG, GIF, JPG, etc.

Regards,

David

On 4-May-09, at 9:22 AM, [email protected] wrote:

I gave up and switched to SVG. That resolved the
problem completely. The JPG issue seems to be a
rasterization problem. The original graphic was
produced at one resolution, and FOP/PDF seems to want
to scan it a second time at a different resolution.
I wasn't able to find a way to get the two resolutions
to match and also avoid changes in aspect ratio.
In the end, I just gave up (too many transformations)
and switched to SVG. That image gets created by the
PDF file, so there's not loss or noise introduced
in the final image.

Jeff Griffith
CSSI


Quoting David Green <[email protected]>:

I'm currently attempting to integrate
FOP<http://greensopinion.blogspot.com/2009/04/mylyn-wikitext-produces-pdf.html >with
Mylyn
WikiText <http://www.eclipse.org/mylyn> and I'm having troubles with the quality of images. Images appear to be rendered to their original size, however they are blurry (there is a loss of quality). I've experienced the same problem when using both PNG and JPG images. Any help in resolving this
issue would be greatly appreciated.
I'm using FOP 0.95.  My XSL-FO source looks something like this:

<external-graphic
src="url(file:/Users/dgreen/Documents/mine/workspace-mylyn.wikitext/ org.eclipse.mylyn.wikitext.help.ui/help/images/editor-tabs.png)"
width="100%" content-height="100%" content-width="scale-to-fit"
scaling="uniform"/>

this also has the same issue:

<external-graphic
src="url(file:/Users/dgreen/Documents/mine/workspace-mylyn.wikitext/ org.eclipse.mylyn.wikitext.help.ui/help/images/editor-tabs.png)"/>


My apologies if this topic has already been covered -- I wasn't able to find anything in the mail archives or in the issue tracker. Any help is greatly
appreciated.

Regards,

David




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to