I'd like to rasterize a PDF to image using Ghostscript with all content preserved except for suppressing fonts. I don't want to convert text to curves (like -dNoOutputFonts), I want the text stripped entirely. (The reason for this is to run OCR on images in the PDF, without running it on any existing text.)Can this be done in Ghostscript? Maybe there's a way to force all fonts to be substituted with a blank font, or issue a PDL command to change all text to render transparent?
Ghostscript: is there a way to suppress all font output?
ghostscript