[ New data was added and other objects and things were incorporated. It shouldn't be a big difference in size... ]
Actually I noticed that the contents of the file has been modified. When I open the generated file in Notepad, I can see some ascii values (the original file has non-printable binary characters .. which is expected). [ >2) Is it possible to write/change the metadata on the same file >without having to save it as another file ? Not with iText, but there are many utilities that can be used to do modify PDF metadata in place. ] Are you saying that iText cannot modify just the MetaData without modifying the Contents. Can you point me to any such APIs that can do this ? Thanks in advance. Kishore -----Original Message----- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:50 PM To: Kishore Subramanian; '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: [iText-questions] Modifying Metadata At 1:39 PM -0800 3/19/03, Kishore Subramanian wrote: >1) Is it possible to write/change the Metadata without affecting the >contents of the original PDF file ? Yes, that is what you should be doing... >I found that after writing the metadata with >the sample code, the file size is now different. Is it related to >some encoding scheme on the writer ? New data was added and other objects and things were incorporated. It shouldn't be a big difference in size... >2) Is it possible to write/change the metadata on the same file >without having to save it as another file ? Not with iText, but there are many utilities that can be used to do modify PDF metadata in place. Leonard -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax) ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions