3 ms·
Indeed, I was hoping for something smarter, that would remove only the "risky" bits of PDF, but keep the overall structure (and size).
by necovek 7y ago
Indeed, I was hoping for something smarter, that would remove only the "risky" bits of PDF, but keep the overall structure (and size).
- heartbeats 7y agoWhat about converting PDF to PostScript and back? It should keep most of the semantic information while removing the exploits.
- necovek 7y agoYeah, perhaps. The "gruntwork" would be to figure out if that is sufficient. Heck, taking your idea further, perhaps convert to something non-derivative like HP's PCL5 and back. Or SVG or...