Open maodes opened 6 years ago
You code works as expected. The only thing is that ...
The regular page append and merging function of hummus copy only the graphic content of the page without any interactive fields. There are some considerations as to why its done that way. let's just assume that this is a given.
So you will not see any annotation to be copied when using appendPDFPageFromPDF
Hi @chunyenHuang, thanks for the response but unfortunately the content itself, the text and images, are missing and there is no annotation in the pdf. Can I send you via email an image containing the result? It is not totally blank, it only has lines.
little78926@gmail.com I will see what I can do.
Hi Gal,
I am trying to copy a pdf and upload it. The code is working for some pdfs In some pdfs, it copies only lines (horizontal and column lines) and the text and images are not included. I'm not sure if the
appendPDFPageFromPDF
has issues or maybe the way we implement the pdf copy or the pdf that was being copied is the issue.This function is for copying the pdf. I omitted the code that we do to the pdf before and after the original pdf has been copied. This is the important one to describe the issue.
This function is for the stream: