View Full Version : ImageMagick image verification problem
GetGamer.com
Wed 23rd Aug '06, 1:17am
I just moved to a new server and the image verification isn't working with either GD or ImageMagick. I installed ImageMagick following these instructions (http://www.imagemagick.org/script/install-source.php#unix), and the test image (http://www.bigblueball.com/logo.gif) is generated correctly.
But when I test the image verification (http://www.bigblueball.com/forums/image.php?type=regcheck&imagehash=test&i=im), I get the following error:
sh: gs: command not found sh: gs: command not found convert: unable to read font `Helvetica'. convert: no decode delegate for this image format `/tmp/magick-XXmYljft'. convert: Postscript delegate failed `/tmp/magick-XXmYljft'. sh: gs: command not found sh: gs: command not found convert: unable to read font `Helvetica'. convert: no decode delegate for this image format `/tmp/magick-XXuLeRVr'. convert: Postscript delegate failed `/tmp/magick-XXuLeRVr'.In the Image Settings options, I also get the following error:ImageMagick Error
ImageMagick doesn't have freetype support. Compile with ./configure -lfreetypeUnfortunately, when I try to compile with that option, I get this error:configure: error: unrecognized option: -lfreetypeAny suggestions?
Zachery
Wed 23rd Aug '06, 1:44am
Install Ghoscript and its fonts, then recompile ImageMagick.
Steve Machol
Wed 23rd Aug '06, 2:32am
Moved to Server Configuration forum since this is a server issue.
GetGamer.com
Thu 24th Aug '06, 1:38am
Install Ghoscript and its fonts, then recompile ImageMagick.Ok, I've installed Ghostscript and the fonts, and the image validation in registration is now working, but I get the following error trying to upload a JPG file as an attachment:Imageinfo Failed:
identify: no decode delegate for this image format `/tmp/phpXl6rjz'.Any suggestions?
GetGamer.com
Sun 27th Aug '06, 12:09am
Anyone? I'm stumped, and I rely on the image upload capability.
Steve Machol
Sun 27th Aug '06, 1:40am
What's the URL to this forum?
GetGamer.com
Sun 27th Aug '06, 1:53am
What's the URL to this forum?Steve, it's in the original post (the image verification link) but here is the URL to the forum home: http://www.bigblueball.com/forums/index.php
Steve Machol
Sun 27th Aug '06, 1:55am
The image verification shows up fine now in both the test and in the registration page.
Geez, never mind. The issue is with file uploads. Most likely IM is not installed corerectly for resizing images or creating thumbnails. I don't now how to fix that. Sorry.
GetGamer.com
Sun 27th Aug '06, 2:01am
No problem. Thanks for trying, Steve. It's not a vBulletin issue, so I'll head over to the ImageMagick site.
Zachery
Sun 27th Aug '06, 3:03am
Do a configure and have it logged to a file
./configure > configurelog.txt
GetGamer.com
Sun 27th Aug '06, 5:46pm
After additional testing, I've found that GIF uploads work, but PNG and JPG fail with the following message: bbb-contact2.png:
Imageinfo Failed:
identify: no decode delegate for this image format `/tmp/php8IYAQu'.
mrbigblueball.jpg:
Imageinfo Failed:
identify: no decode delegate for this image format `/tmp/phpCoXlUf'.
The folks over at the ImageMagick site haven't been able to resolve the issue yet. I've also attached a copy of the configurelog.txt as requested. I did get an error when I ran that command:./configure: line 46823: #include: command not foundEDIT: I should mention that even though GIF uploads and thumbnails are working, they look like hell. See this example (http://www.bigblueball.com/forums/attachments/bug-reports/905-testing-file-attachments-bbn-logo_150x49.gif?thumb=1&d=1156710841).
EDIT #2: running identify -list format shows that support for PNG and JPG are missing (see attached format.txt). The folks over at the ImageMagick forums say I need to install the JPG and PNG delegate libraries, then recompile and reinstall ImageMagick -- but they didn't say how to install those libraries or where to find them. Any clues?
Any help is greatly appreciated.
Zachery
Sun 27th Aug '06, 8:38pm
Here are your big issues
JPEG v1 --with-jpeg=yes no
PNG --with-png=yes no
You do not have the jpg libs isntalled, nor png, You need to get these libs installed onto your machine and recompile.
GetGamer.com
Sun 27th Aug '06, 8:44pm
Where do I find these libs? I'm running Redhat Enterprise Linux, and I would assume there is an RPM for them, but what should I be looking for?
Zachery
Sun 27th Aug '06, 8:45pm
http://www.ijg.org/
http://www.libpng.org/pub/png/libpng.html
GetGamer.com
Sun 27th Aug '06, 11:19pm
Thanks Zach. I've installed both, and now PNG is working, but still not JPGs. The jpeg lib was installed to /usr/local/jpeg-6b, and ./configure and make install ran without error. But when I run ./configure for ImageMagick, it still returns a value of "no" for jpeg support. I would've thought this would be easier in Redhat Enterprise Linux.
GetGamer.com
Mon 28th Aug '06, 2:22am
I finally got it working by adding some command line params to the ./configure command that specified the path to the jpeg libraries.
Thanks to everyone for their patience and help!
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.