Page 1 of 1

Wrong JPEG library version: library is 62, caller expects 70

Posted: 2011-06-07T22:54:53-07:00
by rmm
Good day I am very new in ImageMagick. I have installed version 6.6.4-10.
png-gif, gif-png, png-pdf, etc are working fine except jpg.
I wanted to convert jpg to pdf and vice versa however I cannot get results.

example: convert a.jpg b.pdf

it poses an error "Wrong JPEG library version: library is 62, caller expects 70".
I learned that ghostscript is needed in order to do this. I have the current version 8.7 still the same error.
What should I do in order to correct this error. Please can someone help me. Thank you very much

Re: Wrong JPEG library version: library is 62, caller expect

Posted: 2011-06-08T10:21:46-07:00
by fmw42
try intstalling a different (older) libjpg

Re: Wrong JPEG library version: library is 62, caller expect

Posted: 2011-06-08T18:06:12-07:00
by rmm
thank you very much for the response!
I've been using ImageMagick in my OpenKM,
I had a problem in previewing jpg imges .. so I tried to convert it manually. Unfortunately pdf's are not generated..
the error log in Jboss server says that

15:01:49,920 WARN [DocConverter] Abnormal program termination: {}1
15:01:49,921 WARN [DocConverter] STDERR: Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

I'll have a fresh installation and will let you know if everything works. Thanks again!

Re: Wrong JPEG library version: library is 62, caller expect

Posted: 2011-06-12T22:33:19-07:00
by rmm
fmw42 wrote:try intstalling a different (older) libjpg
sir thank you for your advice! ImageMagick can now convert jpg to pdf. thanks for your help.