Skip to content

Cannot list annotations (version error) #680

@little-flag

Description

@little-flag

Getting this error:

> pdfcpu annot list test.pdf
dict=annotDict entry=NM: unsupported in version 1.3
This file could be PDF/A compliant but pdfcpu only supports versions <= PDF V1.7

The PDF in question is v1.3, produced by macOS (13.5.1) Quartz PDFContext. It's very simple, just some placeholder text and an underline annotation.

Is this a known/intended limitation? (Using pdfcpu CLI v0.5.0, though I had the same problem with previous version too.)

My use case is that I'd like to use pdfcpu to replace a bunch of non-Go code that I need to extract annotations (particularly pdfannots, which relies on pdfminer.six/Python). Just testing to see how plausible this is.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions