Page 1 of 1

ImageMagick installed in my server, but its no working :(

Posted: 2008-03-07T10:57:15-07:00
by bil80
Hello,

I installed ImageMagick on my dedicated server linux, I have a script that make transitions between images in a video, but it is not working.

Someone could help me, i can not find the error... :/

Thank you.

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T03:23:52-07:00
by bil80
Any help please ??

i habe this error message : no decode delegate for this image format jpeg

I use ImageMagick ImageMagick-6.3.9 in Fedora core6 linux

:? :? :(

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T05:26:19-07:00
by Bonzo
Post your code as people can not help if they can not see what you are trying to use.

Have you tried anything else like a simple image resize to see if the installation is working ok ?

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T05:31:32-07:00
by bil80
Bonzo wrote:Post your code as people can not help if they can not see what you are trying to use.

Have you tried anything else like a simple image resize to see if the installation is working ok ?
i did this test :

convert logo: logo.jpg
identify logo.jpg

Error message : no decode delegate fot this image format 'logo.jpg'

It works for gif format, and it not also for PNG. :/

identify -list configure :

CC gcc
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES
DISTCHECK_CONFIG_FLAGS --disable-deprecate --with-quantum-depth=16 --with-djvu=no --with-umem=no --with-fontpath= --with-fontconfig=no --with-lqr=no --with-rsvg=no --with-xml=no
EXEC-PREFIX /usr/local
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x639
LIB_VERSION_NUMBER 6,3,9,1
LIBS -lMagickCore -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 03/06/08
VERSION 6.3.9
WEBSITE http://www.imagemagick.org

Thank you for your help

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T08:30:44-07:00
by Bonzo
I no very little about Linux but try running this:

Code: Select all

convert -list Format
Supported formats should have an r for read and a w for write next to them. If the format is completly missing you have problem.

I have for png ( on my windows XP PC ):
PJPEG* JPEG rw- Progessive Joint Photographic Experts Group JFIF
PLASMA* PLASMA r-- Plasma fractal image
PNG* PNG rw- Portable Network Graphics (libpng 1.2.18)
See http://www.libpng.org/ for details about the PNG format.
PNG24* PNG rw- opaque 24-bit RGB (zlib 1.2.3)
PNG32* PNG rw- opaque or transparent 32-bit RGBA
PNG8* PNG rw- 8-bit indexed with optional binary transparency

PNM* PNM rw+ Portable anymap

and this for jpg ( on my windows XP PC ):
JP2* JP2 rw- JPEG-2000 File Format Syntax
JPC* JPC rw- JPEG-2000 Code Stream Syntax
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format

JPX* JPX rw- JPEG-2000 File Format Syntax
K* RAW rw+ Raw black samples

I assume if you do not have something similar there was a problem on the install.

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T09:13:02-07:00
by bil80
Thank you very much! I downloaded the librayry and it works very well now!

I have another problem :/

When I issue the command to convert the photo convert 70.jpg-line interlace-quality 70 image.png it works very well, but when I do on the script for my site it is not working:/

ImageMagick it is installed on the directory /usr/local/bin or /usr/bin, how do you know please ? :? :?

Thanks

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T10:04:16-07:00
by Bonzo
Are you using php ? If you are give this a go ( it should display some errors if there are any ):

Code: Select all

<?php
$array=array();
echo "<pre>";
exec("/usr/local/bin/convert 70.jpg -line interlace-quality 70 image.png 2>&1", $array); 
echo "<br>".print_r($array)."<br>"; 
echo "</pre>";
?>  
Some servers will work with just convert others need /usr/local/bin/convert

Loads of php info on my website 8)

Re: ImageMagick installed in my server, but its no working :(

Posted: 2008-03-08T11:23:09-07:00
by bil80
I solved the problem! Thank you very much!

The script has not worked with /usr/local/bin/, but directly with exec ( "convert 70.jpg -line interlace-quality...

My site is working well now ... http://www.imagetovideo.com

Thank you very much Bonzo :) !