No Decode Delegates in Default Installation?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
buchert
Posts: 32
Joined: 2015-02-13T11:15:29-07:00
Authentication code: 6789

No Decode Delegates in Default Installation?

Post by buchert » 2019-02-08T13:08:16-07:00

Why does ImageMagick have a policy of not including all the decode delegates in any installation of ImageMagick? I installed from source but didn't install the decode delegates, so I basically can't use ImageMagick and I can't uninstall it because of dependencies. It seems I'll have to reinstall Linux Mint and then try to install ImageMagick again with the decode delegates this time. Very frustrating.

There must be some good reason for not including the delegates (especially for jpg) in all installations, but I'm scratching my head wondering why.

I use Linux Mint 19 Tara 64bit.

Here's my installation information:

apt-cache policy imagemagick
imagemagick:
Installed: (none)
Candidate: 8:6.9.7.4+dfsg-16ubuntu6.4
Version table:
8:6.9.7.4+dfsg-16ubuntu6.4 500
500 http://mirror.atlantic.net/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
8:6.9.7.4+dfsg-16ubuntu6.3 -1
100 /var/lib/dpkg/status
8:6.9.7.4+dfsg-16ubuntu6 500
500 http://mirror.atlantic.net/ubuntu bionic/main amd64 Packages


identify -version
Version: ImageMagick 7.0.8-11 Q16 x86_64 2018-09-18 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): fontconfig freetype png x zlib

User avatar
fmw42
Posts: 24878
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: No Decode Delegates in Default Installation?

Post by fmw42 » 2019-02-08T13:12:17-07:00

You should install from binary. That will include the delegates. It is not easy to install from source. With source you need to install all the delegates first from source. So if you were given source and all the delegates, you would still have to install the delegates. That is just the way source installs work. If you want the delegates, then see https://imagemagick.org/download/delegates/

buchert
Posts: 32
Joined: 2015-02-13T11:15:29-07:00
Authentication code: 6789

Re: No Decode Delegates in Default Installation?

Post by buchert » 2019-02-08T13:26:54-07:00

Thanks for the reply! I was told that I can't install the delegates after I've installed from source? This isn't true?

So I download: https://imagemagick.org/download/delegates/jpegsr9b.zip

And then go into the jpegsr9b folder and perform:

1. ./configure --prefix=/opt/jpeg
2. make; make install
3. ldconfig

I tried the first step and got this error:

sudo ./configure --prefix=/opt/jpeg
sudo: ./configure: command not found

User avatar
fmw42
Posts: 24878
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: No Decode Delegates in Default Installation?

Post by fmw42 » 2019-02-08T13:29:53-07:00

I am not an expert on installation on Linux. But I believe that Imagemagick installs by default in either /usr/local/bin or /usr/bin. So you should install your delegates in the same location. But I think that you will need to reinstall Imagemagick after installing the delegates. You can install all your delegates elsewhere and point Imagemagick to them. See https://imagemagick.org/script/advanced ... lation.php

At this point, I think I will need to defer any further comments to the IM developers.

Post Reply