As pdf is not easy to be edited, especially the scan generated pdf book, in order to cut the rectangular quadrant out of the page, I used the above manual labor method. Of cource, if I could easily edit scan generated, multipage pdf file, I would never have had to do that way.
When analyzing the working internals of k2pdfopt, I learnt that, with the help of mupdf library, it generates first internally bitmapped images from pdf pages, after processing, reflowing the bitmapped images, it generates back a pdf file.
I need a utility program which can generate multiple bitmap files from a multipage pdf file, and also reverse the process, which generates a multipage pdf file from multiple bitmap files.
What I am thinking about is that, after generating the bitmap files, I can easily edit it and cut out the unnecessary quadrant, then repack it back into a single pdf file. This will save me from the hurdle of editing a scan generated pdf file.
Using the mupdf library, I think it is not very hard to make a utility program with that functionality. Or ot could be added to k2pdfopt as a additional functionality.
Willus, any comment for this?
|