Open MatteoVella opened 11 months ago
Hi @boazsegev, can you help me, please?
Hi @boazsegev, any news from this issue?
Let me know, thanks
Hi @MatteoVella
Did you try allowing optional content (see Known Limitations)?
filename = 'pdf_test.pdf'
CombinePDF.load(filename, allow_optional_content: true).
For me it works fine once that option is enabled.
thank you @boazsegev we're using both methods
CombinePDF.load
to load file from a local path and
CombinePDF.parse
to load a file via http
can we use allow_optional_content: true
with both methods?
Yes, the extra options are passed through to the parse
method.
Essentially load
is just parse
with an IO.binread
.
After uploading some PDF files, during the process of combining two pdfs, the process crashes and returns the following error:
I attach below one of the files that returned the error: pdf_test.pdf
While other PDF files like the following completed the process without any errors: pdf_test_2.pdf
What could the error be related to?