poppler pdfattach -replace fails ?

Kurt Jaeger poppler at opsec.eu
Wed May 21 15:48:47 UTC 2025


Hi!

> > Another test with pdfseparate:
> > 
> > pdfseparate -f 1 -l 1 old-invoice temp-out.pdf
> > pdfdetach -list temp-out.pdf
> > --------
> > 1 embedded files
> > 1: factur-x.xml
> > --------
> 
> Sorry, but I cannot follow. Embedded files (as opposed to [file]
> attachment annotations) are not anchored in pages (afaIk).
> 
> Then, if old-invoice.pdf has a single embedded file, it will have only a
> single embedded file in all (or each) of its pages.

I hoped that extracting one PDF page would not also copy the embedded file.

I guess the idea of designing a new 'tar'/'zip' file format in 'pdf' causes
some quirks until all operations are similar to the ancient tools  8-}

-- 
In the nightmare of the dark	W.H. Auden, 1940
all the dogs of Europe bark
				pi at opsec.eu            +49 171 3101372                    


More information about the poppler mailing list