Originally Posted by Artha
Hmm, ghostscript does flaten and linearize without the issues of your method and keeping the bookmarks and metadata too. But the bold preaching was cute.
My method has no particular issues except those common to any and all methods. That a method works for one particular PDF never means it will work for any other PDF. There is such a massively wide range of characteristics possible with the PDF format that any manipulation will always be a trial-and-terror situation. Hence, the preface to my first reply.
If you frequently have to either convert or alter PDFs you will want to collect a range of tools. When one doesn't work well simply try another.