mekentosj/podofo

Image format not supported

Opened this issue · 3 comments

Hi,
i want to convert some jpg in one pdf, but podofoimg2pdf says error:

$ podofoimg2pdf pippo.pdf -useimagesize *.jpg
[...]
Error: An error 44 ocurred during processing the pdf file.


PoDoFo encountered an error. Error: 44 ePdfError_UnsupportedImageFormat
	Error Description: This image format is not supported by PoDoFO.
	Callstack:
	#0 Error Source: /build/podofo/src/podofo-0.9.5/src/doc/PdfImage.cpp:233
		Information: -useimagesize

Can I solve?

Example of image:
https://s15.postimg.cc/jys2u8f8b/pag-042_1_L.jpg

If i run it without "-useimagesize" the pdf has too much right margin.

I have the same issue, though error code 45.

I have the same issue, though error code 45.

Use img2pdf, is better

Use img2pdf, is better

Hi @lodgerz .

Img2pdf for JPG is not better. Better - jpeg2pdf.