Here is my use case: A multipage document is scanned and mailed in hardcopy to be signed. The last page with the signatures is signed, scanned somewhere else and then mailed back to me. I want to scan the signed page, and then replace the unsigned last page in the document with the new signed version of that page, WITHOUT rescanning the entire document, and then using xsane's multipage document feature to save the new version
But no matter what I try, XSane seems to persist its view of what the document is in some mysterious place, and even though there is a directory containing all the files properly numbered and a xsane-multipage-list file correctly listing all the files, it seems that XSane retains its view of what pages are contained in the multipage file and will not produce the pdf I expect it to. Is there some metadata preserved in the .pnm files themselves that prevents this from working?
This is the xsane-multipage-list file I am using
Project changed@@@@@@@@@@@@@@@@
image-0001.pnm
image-0002.pnm
image-0003.pnm
image-0004.pnm
image-0005.pnm
image-0006.pnm
xsane-multipage-list
All of the files listed are present in the directory where this file lives. The name of this directory is the name of the XSane "project" I'm trying to save.
Of course, I realize that I could avoid this hassle and just rescan the document with the page I want, but I am the sort who would rather waste time trying to understand this than "just getting the job done."
What is going on here? It doesn't make sense to me. Thanks.