View previous topic :: View next topic |
Author |
Message |
antonlacon Apprentice
Joined: 27 Jun 2004 Posts: 257
|
Posted: Fri Mar 29, 2013 2:32 am Post subject: ImageMagick Missing Decode Delegates |
|
|
ImageMagick is misbehaving for me on a Raspberry Pi, complaining about missing delegates:
identify P1020399.webp
Code: | identify: no decode delegate for this image format `P1020399.webp' @ error/constitute.c/ReadImage/550. |
(Note, this happens with every format I've tried: jpeg, png, webp)
Emerge is telling me I've built support in for these formats:
Code: | [binary R ~] media-gfx/imagemagick-6.7.9.9:0/6.7.9.9 USE="bzip2 cxx jpeg openmp png tiff webp zlib -X (-autotrace) -corefonts -djvu -fftw -fontconfig -fpx -graphviz -hdri -jbig -jpeg2k -lcms -lqr -lzma (-opencl) (-openexr) -pango -perl -postscript -q32 -q64 -q8 -raw -static-libs -svg {-test} -truetype -wmf -xml" 0 kB |
ImageMagick reports being built with these enabled (identify -list configure | grep DELEGATES):
Code: | DELEGATES bzlib jpeg jng mpeg png tiff zlib |
However, when I ask what formats ImageMagick supports, the result is none (identify -list format):
Code: | Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
r read support
w write support
+ support for multiple images |
Same result when: using the convert command; stable or unstable packages; native or crossdev build. The supporting libraries are there (libjpeg-turbo, libpng, libwebp), and they work with other programs. /usr/bin/file is reading the images correctly, and the images may be viewed in other programs (gwenview, fbi, mplayer, ffplay).
Any suggestions? |
|
Back to top |
|
|
syn0ptik Apprentice
Joined: 09 Jan 2013 Posts: 267
|
Posted: Fri Mar 29, 2013 4:57 am Post subject: |
|
|
could ypu post the images your format? |
|
Back to top |
|
|
antonlacon Apprentice
Joined: 27 Jun 2004 Posts: 257
|
Posted: Fri Mar 29, 2013 8:25 am Post subject: |
|
|
The image is not at fault. ImageMagick throws this error whether the image is straight off a camera or after being converted by ImageMagick on a different computer.
Something is wrong with the build. Try identify -list format on your machine and you should see a long list of image formats. I see none. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Mar 29, 2013 9:10 am Post subject: |
|
|
I am not sure ldd can detect this, because I think imagemagick had a plugin architecture, but try nonetheless:
Code: | # ldd `which identify` |
Running revdep-rebuild is worth a try as well. In any case, if the image is coming from a camera, you might need to enable the raw backend as well. Can the gimp open it? |
|
Back to top |
|
|
antonlacon Apprentice
Joined: 27 Jun 2004 Posts: 257
|
Posted: Fri Mar 29, 2013 10:30 am Post subject: |
|
|
I solved it. ImageMagick needs its libtool files (*.la) to function correctly. |
|
Back to top |
|
|
anton_kg Tux's lil' helper
Joined: 10 Feb 2007 Posts: 93
|
Posted: Mon Jun 30, 2014 3:59 pm Post subject: |
|
|
antonlacon wrote: | I solved it. ImageMagick needs its libtool files (*.la) to function correctly. |
Thanks a lot for that hint! |
|
Back to top |
|
|
|