Any tips for speeding up GhostScript?

前端 未结 5 888
渐次进展
渐次进展 2020-12-13 00:54

I have a 100 page PDF that is about 50 MBs. I am running the script below against it and it\'s taking about 23 seconds per page. The PDF is a scan of a paper document.

5条回答
  •  抹茶落季
    2020-12-13 01:04

    I may be complete out of place here, but have you given a try to the Djvu file format ? It works like a charm for scanned documents in general (even if there are lots of pictures), and it gives much better compressed files: I get a factor of two lossless gain in size in general on B&W scientific articles.

提交回复
热议问题