Mark Hall wrote: > The question now is which way to change the RtfImage class. Should it always > generate 96dpi native images, which means that the user will have to manually > adjust it down to 72dpi for PDF equality. The other option is always scaling > images to 72dpi, with the side-effect that all unscaled images in Word say > that they are at a scale of 133%. > I think that the second solution is better, due to the improved consistency > between PDF and RTF, but I'm interested in other people's input here.
I agree, PDF equality is the preferable solution. It's also easy to implement you just need to always write \picwgoal,\pichgoal. :) I noted that you convert the raw image data to rtf format when constructing the RtfImage object, why don't you encode while writing? Could save quite a bit of memory. Or even better: Why not just write the binary image data using the \bin keyword? Regards, Thomas ------------------------------------------------------------------------- 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/
