Details
Description
Performance problem in class COSWriter:
Constructor of COSWriter takes 2 args:
COSWriter(OutputStream os, FileInputStream is)
method saveIncremental in class PDDocument:
saveIncremental(FileInputStream input, OutputStream output)
It create COSWriter with this args. If I pass FileInputStream into saveIncremental then signing the document goes quite a long time.
If you pass BufferedInputStream, the signing speed is increases. But alas, this is not possible, because the parameters of the method saveIncremental does not allow to do this.
Attachments
Attachments
Issue Links
- breaks
-
PDFBOX-4312 Signature is not getting inserted into 00000 area
- Closed