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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rmm
Posts: 4
Joined: 2011-06-07T22:45:49-07:00
Authentication code: 8675308

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

try intstalling a different (older) libjpg
rmm
Posts: 4
Joined: 2011-06-07T22:45:49-07:00
Authentication code: 8675308

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

Post 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!
rmm
Posts: 4
Joined: 2011-06-07T22:45:49-07:00
Authentication code: 8675308

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

Post 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.
Post Reply