现在我通过 pdf2htmlEx 将 pdf 转换为 html,
源文件pdf 21MB,转换后的html近900MB,转换命令:
pdf2htmlEX --no-drm 0 --embed-image 1 --dest-dir ./output09 ./b.pdf ./b.html
有什么办法可以提高输出 html 的大小吗?
现在我通过 pdf2htmlEx 将 pdf 转换为 html,
源文件pdf 21MB,转换后的html近900MB,转换命令:
pdf2htmlEX --no-drm 0 --embed-image 1 --dest-dir ./output09 ./b.pdf ./b.html
有什么办法可以提高输出 html 的大小吗?
我已经通过以下命令解决了它:
pdf2htmlEX --embed-image 1 --embed-css 0 --embed-font 1 --embed-javascript 0 --embed-outline 0 --no-drm 0 --dest-dir ./output0928 ./a.pdf ./a.html
参数含义如下:</p>
--embed-css <int> embed CSS files into output (default: 1)
--embed-font <int> embed font files into output (default: 1)
--embed-image <int> embed image files into output (default: 1)
--embed-javascript <int> embed JavaScript files into output (default: 1)
--embed-outline <int> embed outlines into output (default: 1)