2001.06.19 21:41 "Re: Image manipulation package based on libtiff?", by Brent Foster
But by the time you do all that work, you'd probably be better off creating a new file, with all the pages in some sort of logical order.
Seems incredibly messy, in my opinion, and would probably take longer than an entire file rewrite.
We've tried this previously in our code, and yes, you're right - it is generally significantly slower than an entire file rewrite. It also requires extremely complicated code to do.