Commit f9d0f58e90122f65f56646ce387de9cde080e920
1 parent
bd7261da
merge notes
git-svn-id: svn+q:///qpdf/trunk@1011 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
1 changed file
with
14 additions
and
0 deletions
TODO
| ... | ... | @@ -16,6 +16,20 @@ General |
| 16 | 16 | ../misc/article-threads.pdf. Email Q-Count: 431864 from |
| 17 | 17 | 2009-11-03. See also "Splitting by Pages" below. |
| 18 | 18 | |
| 19 | + * Consider writing a PDF merge utility. With 2.2, it would be | |
| 20 | + possible to have a StreamDataProvider that would allow stream data | |
| 21 | + to be directly copied from one PDF file to another. One possible | |
| 22 | + strategy would be to have a program that adds all the pages of one | |
| 23 | + file to the end of another file. The basic | |
| 24 | + strategy would be to create a table that adds new streams to the | |
| 25 | + original file, mapping the new streams' obj/gen to a stream in the | |
| 26 | + file whose pages are being appended. The StreamDataProvider, when | |
| 27 | + asked, could simply pipe the streams of the file being appended to | |
| 28 | + the provided pipeline and could copy the filter and decode | |
| 29 | + parameters from the original file. Being able to do this requires | |
| 30 | + a lot of the same logic as being able to do splitting, so a general | |
| 31 | + split/merge program would be a great addition. | |
| 32 | + | |
| 19 | 33 | * Provide an option to copy encryption parameters from another file. |
| 20 | 34 | This would make it possible to decrypt a file, manually work with |
| 21 | 35 | it, and then re-encrypt it using the original encryption parameters | ... | ... |