Sample Header Ad - 728x90

Convert Webp to PDF

4 votes
1 answer
4511 views
I want to convert a bunch of Webp images to individual PDFs. I'm able to do it with this command: parallel convert '{} {.}.pdf' ::: *.webp or I can use this FFMPEG command: find ./ -name "*.webp" -exec dwebp {} -o {}.pdf \; However during the process of conversion the Webp files are decoded and the resultant PDFs have a much bigger file size. When I use the above commands for JPG-to-PDF conversion the PDF size is reasonably close to the JPG image size. This command works fine with JPGs, but the program img2pdf doesn't work with the Webp format: find ./ -name "*.jpg" -exec img2pdf {} -o {}.pdf \; I also tried Webp-to-PDF conversion with this online service , but the PDF was huge. How can I keep the PDF size down to the Webp file size?
Asked by whitewings (2527 rep)
Jan 15, 2018, 04:43 PM
Last activity: Mar 24, 2022, 01:42 PM