On Tue, Feb 17, 2009 at 9:21 PM, Michal Hocko <mstsxfx@gmail.com> wrote:

I think I understand what do you mean by that now. But, however, I am
afraid that this is not possible with PDFedit inherently.

The main idea behind PDF editing with PDFedit is in so-called
incremental update document changing. This means that each new saved
state of a document is stored behind the last one (more precisely only
changes to the previous state) forming a new revision.

This means that you can get to any of previous revisions anytime later!

That makes sense then, why the file size grows when I delete things. But if I use pdftk to uncompress a PDF; delete things from the uncompressed PDF; use pdftk to re-compress the file; I wind up with a file smaller than the original. I guess the compression step throws away the previous revisions?

It might take a few extra steps but it seems like it can be done. Maybe that functionality can be incorporated into pdfedit but as long as it can be done with other tools my wish-list for pdfedit remains:
 1) search and replace / search and delete (scriptable!)
 2) redaction
 2) search and redact


Thanks!