pdfcpu / pdfcpu

A PDF processor written in Go.

Home Page:http://pdfcpu.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api.PageCount Fails on PDF/A Compliant PDFs

yyoshiki41 opened this issue · comments

I encountered an issue when using the api.PageCount function.
Below is the error message I received.

DereferenceStringOrHexLiteral: unsupported in version 1.4
This file could be PDF/A compliant but pdfcpu only supports versions <= PDF V1.7

I am looking forward to any guidance or updates on this issue.

Environment:

  • pdfcpu version: 0.8.0

Thanks

You are NOT on the latest release!

Sorry, I have updated to the latest version 0.8.0 of pdfcpu and the issue has been resolved.
Thank you for the support and continuous improvement of the library.