klippa-app / pdfium-cli

Easy to use PDF CLI tool powered by PDFium and go-pdfium
MIT License
21 stars 2 forks source link

Will pdfium render produce progressive jpgs? #18

Closed msageryd closed 12 months ago

msageryd commented 12 months ago

Will pdfium render produce progressive scan jpgs? If not, can it be fixed?

I'm guessing this will need to be checked/fixed on two places, go-image and libjpeg-turbo, depending on which lib is used.

jerbob92 commented 12 months ago

I can add this yeah, but it will only be supported by libjpeg-turbo builds, Go jpeg encode does not support it.

msageryd commented 12 months ago

I vote for this feature with turbojpeg =) It would be awesome. With this feature I can remove Sharp from my file conversion chain. Sharp is a great library (using libvips and turbojpeg), but it's always nice with fewer steps.

jerbob92 commented 12 months ago

Released in v0.4.0