ImageMagick - No Decode Delegate [CLOSED]

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

ImageMagick - No Decode Delegate [CLOSED]

Post by p310don »

When trying to convert a whole directory's worth of JPG files off my camera (make them smaller for easier upload to Facebook) I usually use imagemagick.

Simple code like this:

Code: Select all

mogrify -resize 50% *.JPG

In Fatdogs gone by, that works simply and converts every file, overwriting the original files with ones about 1/5th of the size. Perfect for online usage. However, in 901, I get the error:

Code: Select all

mogrify: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746

Apparently the googletron tells me that I need to install libJPEG to make sure that imagemagick works, but, it is installed. Not sure how to proceed. I'm guessing something stupidly simple like a symlink from A - B and it'll go, but I'm not that bright.

step
Posts: 510
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 50 times
Been thanked: 179 times
Contact:

Re: ImageMagick - No Decode Delegate

Post by step »

Hmm, I can replicate your error for JPEG, same for PNG, and probably all formats. It looks like this build is broken. We'll be back. Thanks for reporting this issue.

User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: ImageMagick - No Decode Delegate

Post by p310don »

Hey @step

I tried also using Graphics Magick, ran into the same / equivalent problem with that one.

User avatar
spiritwild
Posts: 75
Joined: Wed Jul 22, 2020 1:34 am
Been thanked: 24 times

Re: ImageMagick - No Decode Delegate

Post by spiritwild »

Could be missing a delegate library or junk in your JPG folder

convert -list configure

should list something like this at the bottom

DELEGATES bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib

jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: ImageMagick - No Decode Delegate

Post by jamesbond »

In Fatdog64 800, imagemagick was built as a monolithic library. In 900, it is built using "modules", because ... well everybody knows modular is better, isn't it? Obviously (by hindsight), "modules" isn't ready for prime-time yet. The fix is to rebuild it (delete the line that says "--with-modules" in the recipe). Same problem with graphicsmagick.

Still travelling, so unable to build and apply fixes - but the rest of team can help you Paul if they're available. Good luck.

jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: ImageMagick - No Decode Delegate

Post by jamesbond »

This is now fixed. Re-install from gslapt.

User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: ImageMagick - No Decode Delegate [CLOSED]

Post by p310don »

Hi @jamesbond

Thanks for the update. Graphicsmagick is fixed. Imagemagick spits out an MD5 mismatch error and won't update.

jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: ImageMagick - No Decode Delegate

Post by jamesbond »

p310don wrote: Wed Apr 03, 2024 8:08 am

Imagemagick spits out an MD5 mismatch error and won't update.

Couldn't reproduce. Perhaps bad gslapt cache on your machine. Try clicking "Update" first before re-installing imagemagick again; if you still have issue, open terminal and run slapt-get --clean, then try re-installing again.
If it is still recalcitrant even after that, then open terminal and run rm -r /var/slapt-get (do this while gslapt is closed) and then run gslapt again.

User avatar
p310don
Posts: 290
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 55 times
Been thanked: 92 times

Re: ImageMagick - No Decode Delegate [CLOSED]

Post by p310don »

Thanks @jamesbond

the slapt-get --clean thing did the trick, imagemagick working now.

Post Reply

Return to “FatDog”