raqn Posted February 11, 2007 Share Posted February 11, 2007 I have a problem with displaying PNG or GIF image in RTF formats, its getting displayed good in PDF but not in RTF. Anybody knows a solution? Regards, Link to comment Share on other sites More sharing options...
meha4692 Posted February 27, 2007 Share Posted February 27, 2007 Did you find a solution to this? I am having the same problem with both RTF and HTML formats where they look real blurry. Link to comment Share on other sites More sharing options...
pmaslov Posted March 17, 2007 Share Posted March 17, 2007 I have the same problem: my images appear distorted in RTF and XLS. Please, could someone tell me if there is a way to turn off an intermediate image compression that happens somewhere during RTF exporting?Also is there a way to specify which format ImageServlet returns images in? Or any parameters that affect quality of images when exporing in HTML, RTF, XLS ? I would greatly appreciate any reply, even if it is to confirm there is no such parameters. Regards Pavel Link to comment Share on other sites More sharing options...
edikk Posted March 22, 2007 Share Posted March 22, 2007 I had the same problem with barcodes in Excel. The only solution wich i found is to rewrite JExcelApiExporter class (attached) [file name=jexcelapi.zip size=9171]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/jexcelapi.zip[/file] Post edited by: edikk, at: 2007/03/22 09:28 Link to comment Share on other sites More sharing options...
mhorner Posted May 3, 2007 Share Posted May 3, 2007 This problem has been fixed since v1.3.2 (more info here). For me that worked not as good as I hoped. I am trying to generate a report that can be exported in RTF and PDF formats. I have created some charts and passed them to the report as JCommonDrawableRenderer objects. The chart in PDF output is far better than the RTF one (it is better than before, but not as good as PDF). I have a lot of tables in my report, and after Jasper version update the cells borders don't end up togheter. The tables are really messed up. As sanda zaharia says here,the RTF generation was radicaly changed. In my case this change have not worked very well. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 3, 2007 Share Posted May 3, 2007 Hi, The graphic looks better in PDF because it is not drawn as an image, but rather is rendered directly in the PDF context as a series of vectors. You could zoom in very deep and you would still see very accurate lines there.In RTF, we need to produce an image out of the graph and no matter how good we are at choosing the image encoder and stuff (PNG images work better than JPG for graphics), that image still has a given resolution. If you zoom too deep in RTF, you will see it is made out of individual pixels. Others suggested we increase the resolution of the images in RTF, but I'm sure they would not be happy with huge RTF files due to the big images that would result. Thanks,TeodorPost edited by: teodord, at: 2007/05/03 13:41 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now