After using the Pdf2htmlEX
command to convert my PDF to HTML, I translated my HTML and then used the wkhtmltopdf
command to convert this HTML to PDF, it gave me the PDF file correctly but the problem was that it became extremely large since the old PDF was 116.4K and the new converted PDF is 3.4MB.
Here are my HTML and PDF files on Github.
Here’s the command I used to convert PDF to HTML with Pdf2htmlEX
:
pdf2htmlEX --fit-width 1024 --space-as-offset 1 ss4.pdf ss4.html
Here’s the command I used to convert HTML to PDF with Pdf2htmlEX
:
xvfb-run -a wkhtmltopdf --no-images --quiet --dpi 150 --disable-smart-shrinking ss4.html fss4-fr.pdf
What can I do to reduce the size of this PDF file? I’m confuse i dont what do i do…
Richardson OGE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.