Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pdfcpu split failed via API but succeeds via cmd #87
Related to #80 . Split works with cmd CLI but fails via API call.
Output via cmd:
but when using the API it seems to fail
Am I missing anything? Confirmed the validation is in Relaxed mode
Output via API:
same problem here.
It seems it works when calling api.Process(cmd) instead of api.ExtractPages(cmd) .
If you follow the tests in
I prefer to use the idiom
because there is less stuttering.
Both ways are going to work in the next release so you can choose however you want to call into pdfcpu.