On the Fly rtf to jepg

I am outputing what the user sees to a pdf file using iReport. Part of the output is a richText file. Since it does not look like iReport has a way to display a rtf file. Could I have some java class take the rft file and convert it into jpg so I could display it as an image. This is all dynamic data that is being output to pdf.

[337 byte] By [SLDykea] at [2007-11-27 9:03:34]
# 1
I still need some suggestions on this issue.
SLDykea at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...
# 2
If you're adding the rtf data directly to a pdf, why the need to convert it to an image? Are you having trouble converting the rtf to pdf?
hunter9000a at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...
# 3

The entire PDF is not just the rtf.

This is a complex form with images, textboxes, checkboxes, radio buttons, and the body of the form, which is a description of change for an engineering drawing, is the rtf part.

Maybe I am not understanding your post. Can you explain more in detail? All this has to be done on the fly.

SLDykea at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...
# 4

I've never used iReport, so I don't know how to convert rtf with it, but using an image file as a go-between seems unnecessary. You'll have to worry about scaling the image correctly so the rtf ends up being the correct size in the final pdf. You'll also be making the pdf less useful. One of the cool things about pdf is that the text in it is actual text, so it can be copied, zoomed in on, etc. If it's an image embedded in the pdf, you'll lose those benefits.

Isn't rtf a subset of the doc format? Check if adding the rtf as a doc works for iReport. If you do end up using an image, at least make it a lossless format like png so you don't get compression artifacts.

hunter9000a at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...
# 5
Can you explain 'adding the rtf as a doc'?
SLDykea at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...
# 6
> Can you explain 'adding the rtf as a doc'?I'm assuming that this iReport has the capability to convert other formats to pdfs. Is Word .doc one of them? If so, look into using that functionality on an .rtf file. It's a shot in the dark, but it may work.
hunter9000a at 2007-7-12 21:35:45 > top of Java-index,Java Essentials,New To Java...