Like pdflatex and podofoimg2pf it seems that econvert is able to embed JPEG images into PDF directly without re-encoding but when given other file formats stores them just using flate compressen,…
Ah okay, I understand. Yes, I'll add some more docs to explain this. Thanks for pointing this out!
Your observation is absolutely correct. The reason why /etc/resolv.conf and /etc/hostname is copied in, is because debootstrap is doing the same and thus I think that's what users expect. You are…
I reported this as https://github.com/pikepdf/pikepdf/issues/329
Thank you @Gistix for reporting this, @tpurves for investigating further an @mara0004 for insisting I look into this. :)
It's pikepdf. Minimal reproducer:
import pikepdf
for i in range(100000):
with pikepdf.new() as pdf:
pdf.add_blank_page()
I think it's the engine. Compare this (the original example):
import img2pdf
with open("./src/tests/input/normal.jpg", 'rb') as f:
for i in range(100000):
…
I think you are right. I think I want to add another command line option called --include-thumbnails
. By default, thumbnails will not be included because they are redundant. So with the new…