[sane-devel] Sugg: frontend to scan and append to pdf

Karl Heinz Kremer khk at khk.net
Sun Dec 14 22:40:45 GMT 2003


On Dec 12, 2003, at 10:13 AM, Jonathan Buzzard wrote:
[ ... ]
>
> The trick is not to finalise the PDF (i.e. write out the XREF table) 
> till
> you are done adding the pages. Something of a limitation, but one
> that most people could live with in at least the short to medium term.
> Something like the Panda PDF library is just fine for this sort of
> application.
>
Actually, you can write out the XREF table after every image. PDF allows
incremental updates. Such an update leaves the original PDF intact (even
the original XREF table is not modified). You just add another XREF 
table
with the new/updated elements at the new end of the document.

Karl Heinz





More information about the sane-devel mailing list