Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image format not supported #9

Open
lodgerz opened this issue Aug 23, 2018 · 3 comments
Open

Image format not supported #9

lodgerz opened this issue Aug 23, 2018 · 3 comments

Comments

@lodgerz
Copy link

lodgerz commented Aug 23, 2018

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.

@NitroNils
Copy link

I have the same issue, though error code 45.

@lodgerz
Copy link
Author

lodgerz commented Jun 28, 2022

I have the same issue, though error code 45.

Use img2pdf, is better

@zvezdochiot
Copy link

zvezdochiot commented Jun 28, 2022

Use img2pdf, is better

Hi @lodgerz .

Img2pdf for JPG is not better. Better - jpeg2pdf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants