Page 1 of 1

[solved] no decode delegate for this image format (mipsel)

Posted: 2009-07-10T09:28:40-07:00
by aliabdul1978
My first posting and of course a problem *g*

I cross compiled the version 6.3.2 of ImageMagick for mipsel (linux sat-box - dm8000) and can't use it.
I choosed this version because I need a newer autoconf for newer versions.

I compiled it with:

Code: Select all

--without-x --without-perl --with-magick-plus-plus=no --with-xml=no --with-jp2=yes
I am getting this error:
convert: no decode delegate for this image format `./cover.jpg'.
convert: image sequence is required `-clone'.
jpeg is installed on the box:
root@dm8000:/tmp# ipkg files jpeg
Package jpeg (6b-r4) is installed on root and has the following files:
/usr/bin/cjpeg
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/bin/wrjpgcom
/usr/bin/djpeg
/usr/bin/rdjpgcom
/usr/bin/jpegtran
imagemagick is installed as well:
root@dm8000:/tmp# ipkg files imagemagick
Package imagemagick (6.3.2-r0) is installed on root and has the following files:
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pwp.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/filters/analyze.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/tile.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/otb.so
/usr/bin/montage
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/avi.so
/usr/lib/libWand.so.10
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/dib.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pnm.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ps.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/xpm.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/info.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/sgi.so
/usr/share/ImageMagick-6.3.2/config/magic.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ttf.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ps3.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/wpg.so
/usr/bin/identify
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/txt.so
/usr/bin/import
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/dpx.so
/usr/share/ImageMagick-6.3.2/ChangeLog
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/uyvy.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/uil.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/tim.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/rle.so
/usr/lib/ImageMagick-6.3.2/config/delegates.xml
/usr/share/ImageMagick-6.3.2/config/mime.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/palm.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/map.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/psd.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/null.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/cin.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/avs.so
/usr/share/ImageMagick-6.3.2/config/log.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mtv.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/gray.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ps2.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pdb.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/dps.so
/usr/bin/animate
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/wbmp.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ycbcr.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mono.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/scr.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mvg.so
/usr/bin/display
/usr/bin/conjure
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pict.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/png.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/vicar.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/xbm.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/thumbnail.so
/usr/lib/libMagick.so.10
/usr/bin/compare
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pattern.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pcd.so
/usr/share/ImageMagick-6.3.2/LICENSE
/usr/lib/ImageMagick-6.3.2/config/colors.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pcl.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/art.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/jp2.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/magick.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pix.so
/usr/share/ImageMagick-6.3.2/config/sRGB.icm
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/histogram.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/miff.so
/usr/lib/ImageMagick-6.3.2/config/type-ghostscript.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/clip.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/tga.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mpc.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/xc.so
/usr/bin/stream
/usr/bin/Wand-config
/usr/lib/ImageMagick-6.3.2/config/type.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/cip.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/sct.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mpr.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/vid.so
/usr/share/ImageMagick-6.3.2/config/coder.xml
/usr/lib/ImageMagick-6.3.2/config/type-windows.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/meta.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/viff.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/rgb.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/html.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/fax.so
/usr/lib/ImageMagick-6.3.2/config/locale.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/xcf.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/plasma.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/tiff.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/raw.so
/usr/share/ImageMagick-6.3.2/config/thresholds.xml
/usr/lib/ImageMagick-6.3.2/config/type-solaris.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/gif.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/gradient.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/dot.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mat.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/rla.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/matte.so
/usr/bin/convert
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pdf.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/ept.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/yuv.so
/usr/bin/mogrify
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/dcm.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/cut.so
/usr/share/ImageMagick-6.3.2/NEWS
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/sfw.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/mpeg.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/label.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/icon.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/bmp.so
/usr/lib/ImageMagick-6.3.2/config/english.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/wmf.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/cmyk.so
/usr/lib/libWand.so.10.0.7
/usr/bin/composite
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/msl.so
/usr/bin/Magick-config
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/url.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/jpeg.so
/usr/lib/libMagick.so.10.0.7
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/preview.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/pcx.so
/usr/lib/ImageMagick-6.3.2/config/configure.xml
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/caption.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/stegano.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/fits.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/sun.so
/usr/lib/ImageMagick-6.3.2/modules-Q16/coders/svg.so
The following script for example doesn't work:

Code: Select all

#!/bin/sh

export MAGICK_HOME="/usr"
export LD_LIBRARY_PATH="/usr/lib"
export MAGICK_TMPDIR="/tmp"

convert  -virtual-pixel Transparent ./cover.jpg -matte -resize 1600x1074\!  \
        \( -clone 0 -crop 740x0+0+0\! \
                    +distort Perspective '0,0  62,80  0,1073  62,897  739,1073  628,912  739,0  628,64' \
        \) \
        \( -clone 0 -crop 84x0+758+0\! \
                    +distort Perspective '0,0 628,38  0,1073 628,922   83,1073  688,937   83,0  688,30' \
        \) \
        \( -clone 0 -crop 758x0+842+0\! \
                    +distort Perspective '0,0 688,30  0,1073 688,937  757,1073 1228,883  757,0 1228,80' \
        \) \
        -size 1330x1026 xc:black -swap 0,-1 +delete +filter +set option:filter:blur \
        -layers merge \
        ./layer.jpg -compose HardLight -composite \
        ./opacity.jpg -alpha Off -compose Copy_Opacity -composite \
        -resize 600x463\! -quality 95 -depth 8 ./preview.png
Here are the logs of configure, make and install:
http://rapidshare.com/files/254241471/l ... r.bz2.html

The script is running in my ubuntu 9.04 but not on my linux-sat-box.

I hope I didn't forget any important information.

Hope you can find an error.

Best regards,
Ali

Re: Hi guys - problem: no decode delegate for this image format

Posted: 2009-07-10T09:46:25-07:00
by fmw42
Did you install all the image delegates for jpg, tiff, png etc.

see http://www.imagemagick.org/download/delegates/


convert -list configure

look at the line starting with DELEGATES. Mine shows:

DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms lqr openexr png tiff x11 xml zlib

Re: Hi guys - problem: no decode delegate for this image format

Posted: 2009-07-10T10:10:01-07:00
by aliabdul1978
root@dm8000:~# convert -list configure

Path: /usr/lib/ImageMagick-6.3.2/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC mipsel-linux-gcc
CFLAGS -I/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -W -pthread
CONFIGURE /home/aliabdul/dream/GITOE1.5/dm800/build/tmp/work/imagemagick-6.3.2-r0/ImageMagick-6.3.2/configure --build=x86_64-linux --host=mipsel-linux --target=mipsel-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --without-x --without-perl --with-magick-plus-plus=no --with-xml=no --with-jp2=yes
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/include
CXX mipsel-linux-g++
CXXFLAGS -I/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS 'CC=mipsel-linux-gcc' 'CFLAGS=-I/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2' 'CPPFLAGS=-I/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/include' 'CXX=mipsel-linux-g++' 'LDFLAGS=-L/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/lib -Wl,-rpath-link,/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/lib -Wl,-O1' --with-quantum-depth=16 --with-fpx=no --with-fontpath= --with-fontconfig=no --with-rsvg=no --with-xml=no
EXEC-PREFIX /usr
HOST mipsel-unknown-linux-gnu
LDFLAGS -L/usr/lib -L/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/lib -Wl,-rpath-link,/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/lib -Wl,-O1 -L/home/aliabdul/dream/GITOE1.5/dm800/build/tmp/staging/mipsel-linux/lib/../lib -lfreetype
LIB_VERSION 0x632
LIB_VERSION_NUMBER 6,3,2,9
LIBS -lMagick -ltiff -lfreetype -ljpeg -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 07/10/09
VERSION 6.3.2
WEBSITE http://www.imagemagick.org
Hmmm, nothing starting with DELEGATES.

This packages are also installed:
root@dm8000:~# ipkg list_installed | grep png
libpng12-0 - 1.2.12-r4 -
root@dm8000:~# ipkg list_installed | grep jpeg
jpeg - 6b-r4 -
mjpegtools - 1.9.0rc3-r0 -
root@dm8000:~# ipkg list_installed | grep gif
libungif4 - 4.1.3-r1 -
I compiled also jasper and installed it... didn't help as well :-(

Why on my box nothing is shown (DELEGATES)?
This is the output from my ubuntu:
aliabdul@aliabdul-desktop:~$ convert -list configure

Path: /usr/lib/ImageMagick-6.4.5/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W
CONFIGURE ./configure '--prefix=/usr' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-gs-font-dir=/usr/share/fonts/type1/gsfonts' '--with-magick-plus-plus' '--with-djvu' '--enable-shared' '--without-dps' '--without-fpx' '--with-perl-options=INSTALLDIRS=vendor' '--x-includes=/usr/include/X11' '--x-libraries=/usr/lib/X11' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib djvu freetype gvc jpeg jp2 lcms openexr png tiff x11 xml wmf zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-g -O2' 'CPPFLAGS=' 'LDFLAGS=-Wl,-Bsymbolic-functions' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-dps=no --with-fpx=no --with-fontpath= --with-gs-font-dir=/usr/share/fonts/type1/gsfonts
EXEC-PREFIX /usr
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/lib -Wl,-Bsymbolic-functions -L/usr/lib/X11 -lfreetype -lz
LIB_VERSION 0x645
LIB_VERSION_NUMBER 6,4,5,4
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr
QuantumDepth 16
RELEASE_DATE 2009-06-04
VERSION 6.4.5
WEBSITE http://www.imagemagick.org

Re: Hi guys - problem: no decode delegate for this image format

Posted: 2009-07-10T13:04:37-07:00
by fmw42
IM 6.3.2 is too old. Upgrade. At that point, DELEGATES were shown by

LIBS -lMagick -ltiff -lfreetype -ljpeg -lz -lpthread -lm -lpthread

which does not have much installed.

Re: [solved] no decode delegate for this image format (mipsel)

Posted: 2009-07-11T06:31:54-07:00
by aliabdul1978
@fmw42: Thx. Got 6.4.4 compiled for mipsel-linux and that version works without this error-message.