Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ImageMagick Missing Decode Delegates
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Fri Mar 29, 2013 2:32 am    Post subject: ImageMagick Missing Decode Delegates Reply with quote

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
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Fri Mar 29, 2013 4:57 am    Post subject: Reply with quote

could ypu post the images your format?
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Fri Mar 29, 2013 8:25 am    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Mar 29, 2013 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Fri Mar 29, 2013 10:30 am    Post subject: Reply with quote

I solved it. ImageMagick needs its libtool files (*.la) to function correctly.
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Mon Jun 30, 2014 3:59 pm    Post subject: Reply with quote

antonlacon wrote:
I solved it. ImageMagick needs its libtool files (*.la) to function correctly.


Thanks a lot for that hint!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum