Page 1 of 1

jMagick

Posted: 2015-08-04T22:31:25-07:00
by janci
Hi guys,

i would like to know where i can find newest versions of jMagick for linux and windows .
Last versions are 6.3.9 which is old a bit i guess.

Reason why i have to update ImageMagick is that i want to process PDF files.

Edit:
The issue may be somewhere else.
Im getting "MagickException: Unable to retrieve handle" when i want to parse pdfs on my local PC (windows) .
However on server(linux) with same code is all working fine :/ .
Images (pngs ,jpegs) works great on both enviroments.

Re: jMagick

Posted: 2015-08-04T23:46:59-07:00
by fmw42
What do you get from running

convert -version

and

convert -list configure and look at the line starting with DELEGATES

on both systems? Perhaps you need Ghostscript installed or updated.


See http://www.jmagick.org/

Re: jMagick

Posted: 2015-08-05T06:26:52-07:00
by janci
Thank you for response fmw42.

Meantime i updated on 6.6.5 version .
It is still working with jMagick for 6.3.9 version.

result of convert -version:
Version: ImageMagick 6.6.5-9 2010-11-15 Q8 http://www.imagemagick.org

result of convert -list configure:
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib

I gues you just found the issue! Pdf is missing in delegates. I will need also svg in future.

The question is "how i can put pdf and svg to delegates in windows enviroment?"
Is there some full configured binary or just delegates.xml / configure.xml needs to be updated ?
I added "pdf svg" to configure.xml ,but it doesnt help.

Binary for windows was downloaded from http://ftp.sunet.se/pub/multimedia/grap ... /binaries/
I hope i dont need build binary from source.

Many thanks for help again!

Re: jMagick

Posted: 2015-08-05T07:49:16-07:00
by Bonzo
With a normal Imagemagick install if you have ghostscript installed Imagemagick will find it.