Hi all, I tried to generate a rtf including two images WITHOUT PERFORMING SCALING OPERATION WITH ITEXT.
The generated rtf results different if opened with Word2000 and WordXp, please
verify yourself with files in attachment, obviously you'll have to open
ImWORD2000 with Word2000 and ImWORDXP with word XP to see the differences.
However the differences are:
- Both two images in Word2000 appear very very small, instead in WordXp appear
with the correct size.
- ImWORD2000 was opened and saved with Word 2000.
- ImWORDXp was opened and saved with Word XP.
The two images used for this generation are also in attachment.
The very simple code I used is the following:
...
document.open();
Image image = Image.getInstance("test/images/iText.bmp");
document.add(image);
image = Image.getInstance("test/images/iText4x.bmp");
document.add(image);
...
Thank you very much.
P.S.: Does Word XP use the same RTF specification of Word2000 (that is RTF 1.6)
?
Raffaele
<<documents.rar>>
documents.rar
Description: documents.rar
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
