| Author |
Message |
ravensrest

Joined: 22 Feb 2008 Posts: 298 Location: Hood Canal, WA
|
Posted: Mon 21 May 2012, 16:15 Post subject:
Imagemagick error |
|
I installed ImageMagick6.6.2-6-w5 in Wary 5.3 from the Puppy Package Manager. When I tried to run it, I got this:
| Quote: | [~]> convert /data/lm124.pdf /data/lm124.jpg
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
CRIT: rangecheck in .setuserparams
Operand stack:
--nostringval-- --nostringval-- --nostringval--
convert: Postscript delegate failed `/data/lm124.pdf': @ error/pdf.c/ReadPDFImage/645.
convert: missing an image filename `/data/lm124.jpg' @ error/convert.c/ConvertImageCommand/2970. |
I notice that libxml2.so.2 is symlinked to libxml2.so.2.7.8. Any idea what I need to do to get it working?
Thanks,
BS
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2034 Location: World_Hub
|
Posted: Mon 21 May 2012, 18:44 Post subject:
|
|
Here's what I don't like after running: convert -list configure >> No gs in delegates and the bolded bit..
| Quote: | DELEGATES bzlib fontconfig freetype jpeg jng jp2 lcms mpeg png rsvg tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-O2 -pipe -fomit-frame-pointer' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-perl=no |
Seems gs is essential- http://www.multipole.org/discourse-server/viewtopic.php?f=1&t=18289
Not sure where I'd take this just yet.. IM's got a lotta deps....
Maybe these conversions I'd pass to Gimp..
|
|
Back to top
|
|
 |
ravensrest

Joined: 22 Feb 2008 Posts: 298 Location: Hood Canal, WA
|
Posted: Tue 22 May 2012, 16:37 Post subject:
|
|
Thanks, Semme. I still don't understand what is happening, but here is a bit more info. I run Imagemagick6.6.9.5 under lupu_528 just fine. It has the same DELEGATES line as Imagemagick6.6.2.6 under Racy53 or Wary53 which gives me the error originally posted. In addition, if I use 6.6.2.6 under Racy or Wary to convert, say, jpg to tiff, I get the same error re no version info for libxml2, but it goes ahead and completes the conversion anyway.
Guesses?
BS
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2034 Location: World_Hub
|
Posted: Tue 22 May 2012, 16:57 Post subject:
|
|
From reading through several threads I'm leaning towards a versioning mismatch over any missing libs..
That the conversion goes through, does adding the -density switch help?
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7743 Location: Stratford, Ontario
|
Posted: Tue 22 May 2012, 18:04 Post subject:
|
|
Wary has a much older version of Ghostscript compared to Lupu, so that might be the problem. Or it might be that Imagemagick in Wary was never built against Ghostscript.
However, it is possible to convert PDFs to JPGs in Wary with a bit of scripting. But it assumes that your PDF is a simple one-page document.
Is that what you are looking for?
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2034 Location: World_Hub
|
Posted: Tue 22 May 2012, 23:04 Post subject:
|
|
Older? BINGO! Right'choo are Rcrsn. Wary 5.1.2- pacman offers v8.15.4.
On your tip I overwrote the existing GS with v8.71 and guess what?
She's FLAWLESS!
|
|
Back to top
|
|
 |
ravensrest

Joined: 22 Feb 2008 Posts: 298 Location: Hood Canal, WA
|
Posted: Wed 23 May 2012, 12:59 Post subject:
|
|
Thank you rcrsn51 and semme for your continued comments. What I am trying to do is extract specific pictures from multipage pdf documents in jpg format. I can do this perfectly well in lupu528 using imagemagick (and converseen if I don't want to use command line). I have been trying to get the same process working in racy/slacko/wary with no luck. I can use screen captures, but that limits my resolution to 72 dpi.
As an aside, lupu528 is the only distro I've had since puppy431 that lets me do everything I want without hangups. I can make some stuff run in wary, some in slacko, but only 528 and 431 let me do everything.
Most recently I downloaded ghostscript8.71 as suggested. It made no difference whatsoever. Still get the original error messages.
BS
Last edited by ravensrest on Wed 23 May 2012, 15:55; edited 1 time in total
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2034 Location: World_Hub
|
Posted: Wed 23 May 2012, 13:48 Post subject:
|
|
I don't run Wary per se, and like you prefer the fluid performance of 5.28.
That you still had errors, bump it- ghostscript-9.02-i486-1_slack13.37.txz
I don't have 5.3 to test- nor will I be dwnlding anytime soon....
|
|
Back to top
|
|
 |
|