PDF to HTML
PDF to HTML
Posted Dec 22, 2014 7:37 UTC (Mon) by kleptog (subscriber, #1183)In reply to: PDF to HTML by anselm
Parent article: Plug-and-play sanitization of USB thumb drives
Indeed. I've used ghostscript to postprocess PDFs generated from other sources to do things like resample images and subset embedded fonts, mostly to make the resulting PDF smaller and load faster. But as a side-effect it'll toss out any scripts and other crap lurking in there.
This actually rerenders the PDF to PDF, which seems safer then trying to strip stuff out.