PDF file loaded and saved seems to be modified
Posted: Thu Dec 27, 2018 7:15 pm
Hi all,
I noticed that simply opening and saving a PDF file results in a modified file.
Example:
In filePath there is a signed PDF. Opening with Acrobat Reader validate the signature.
Then
GdPicturePDF _oGdPicturePDF = new GdPicturePDF();
_oGdPicturePDF.LoadFromFile(filePath, false);
_oGdPicturePDF.SaveToFile(newPath, false, true);
The saved file seems to be changed and the signature is not verified by Acrobat Reader.
I tried with linearize parameter true or false.
Am I doing something wrong?
Thank you very much
Nazareno
I noticed that simply opening and saving a PDF file results in a modified file.
Example:
In filePath there is a signed PDF. Opening with Acrobat Reader validate the signature.
Then
GdPicturePDF _oGdPicturePDF = new GdPicturePDF();
_oGdPicturePDF.LoadFromFile(filePath, false);
_oGdPicturePDF.SaveToFile(newPath, false, true);
The saved file seems to be changed and the signature is not verified by Acrobat Reader.
I tried with linearize parameter true or false.
Am I doing something wrong?
Thank you very much
Nazareno