Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I probably have made a mess, because when I search for Imagemagick in the application finder I get two instances.
Do I have to start from scratch with a new ubuntu install? Or is there a way to clean this up?
Here is the error that tells me I don't have the delegates:
Code:
master@master-Latitude-E6400:~$ ls *.jpeg
1.jpeg
master@master-Latitude-E6400:~$ identify 1.jpeg
identify: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/562.
master@master-Latitude-E6400:~$ ls *.jpeg
1.jpeg
master@master-Latitude-E6400:~$ identify 1.jpeg
identify: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/562.
That is certainly weird.
1. is it really an image? show us 'file 1.jpeg'
2. try renaming it to 1.jpg?
That is certainly weird.
1. is it really an image? show us 'file 1.jpeg'
2. try renaming it to 1.jpg?
Code:
master@master-Latitude-E6400:~$ mv 1.jpeg 1.jpg
master@master-Latitude-E6400:~$ ls *.jpg
1.jpg
master@master-Latitude-E6400:~$ identify 1.jpg
identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/562.
I was able to uninstall both instances of Imagemagick using the Gnome Software Manager, but every time I reinstall it I get two instances. Is this normal?
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818
Rep:
Quote:
Originally Posted by Tem2
Code:
master@master-Latitude-E6400:~$ mv 1.jpeg 1.jpg
master@master-Latitude-E6400:~$ ls *.jpg
1.jpg
master@master-Latitude-E6400:~$ identify 1.jpg
identify: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/562.
I was able to uninstall both instances of Imagemagick using the Gnome Software Manager, but every time I reinstall it I get two instances. Is this normal?
Can you show the full listing showing these two instances? Try posting the output from:
Code:
$ find /usr -type f -iname identify -exec ls -l {} \;
What about issuing "stat /full/path/to/identify" for each instance you are seeing? Post the output from:
Code:
$ find /usr -type f -iname identify -exec stat {} \;
Where are they being installed? I'm wondering if you have a symbolic link defined in a directory tree that's pointing back to the location where it's actually being installed and that when you go searching for 'identify' it's finding it in that install directory and then again in the symlinked directory. What about other ImageMagick components? Are they appearing to be installed twice?
Which of the two "identify" instances you've identified (no pun intended) was executed when you got the "error/constitute" error message. (Use "which identify" to tell.) Do you get the same error message when you execute the other instance? Just spitballing here but: Do you have your current directory in your PATH? (I.e. "PATH=<stuff>:."? Is there by any slim chance a broken copy of "identify" in the directory where you're issuing the "identify" command?
BTW: I'm surely no expert on ImageMagick but the file extension doesn't mean anything; even renaming it to, say, "1.junk" won't make any difference to "identify".
Can you show the full listing showing these two instances? Try posting the output from:
Code:
$ find /usr -type f -iname identify -exec ls -l {} \;
What about issuing "stat /full/path/to/identify" for each instance you are seeing? Post the output from:
Code:
$ find /usr -type f -iname identify -exec stat {} \;
Where are they being installed? I'm wondering if you have a symbolic link defined in a directory tree that's pointing back to the location where it's actually being installed and that when you go searching for 'identify' it's finding it in that install directory and then again in the symlinked directory. What about other ImageMagick components? Are they appearing to be installed twice?
Which of the two "identify" instances you've identified (no pun intended) was executed when you got the "error/constitute" error message. (Use "which identify" to tell.) Do you get the same error message when you execute the other instance? Just spitballing here but: Do you have your current directory in your PATH? (I.e. "PATH=<stuff>:."? Is there by any slim chance a broken copy of "identify" in the directory where you're issuing the "identify" command?
BTW: I'm surely no expert on ImageMagick but the file extension doesn't mean anything; even renaming it to, say, "1.junk" won't make any difference to "identify".
Sorry I can't be more helpful. Post more details.
Code:
master@master-Latitude-E6400:~$ find /usr -type f -iname identify -exec ls -l {} \;
-rwxr-xr-x 1 root root 5628 Nov 12 2019 /usr/lib/i386-linux-gnu/ImageMagick-6.8.9/bin-Q16/identify
-rwxr-xr-x 1 root root 24316 May 26 18:09 /usr/local/src/ImageMagick-6.6.9-5/utilities/.libs/identify
-rwxr-xr-x 1 root root 7718 May 26 18:09 /usr/local/src/ImageMagick-6.6.9-5/utilities/identify
master@master-Latitude-E6400:~$
Strange problem.
You seem to have two versions of the identify binary.
I am guessing that
Code:
which identify
defaults to the version in /usr/local.
Show us that, please.
Also:
Code:
apt search imagemagick
dpkg -L imagemagick
I'm guessing this will NOT list any files in /usr/local.
Did you at any point compile imagemagick yourself, or install it with something other than apt, apt-get, dpkg or graphical package manager?
PS: you might want to remove the okular ppa from your software sources.
Code:
master@master-Latitude-E6400:~$ which identify
/usr/local/bin/identify
master@master-Latitude-E6400:~$
Code:
master@master-Latitude-E6400:~$ apt search imagemagick
Sorting... Done
Full Text Search... Done
caja-image-converter/xenial 1.12.0-1 i386
Caja extension to mass resize or rotate images
epix/xenial 1.2.14-1 i386
Create mathematically accurate line figures, plots and movies
fbi/xenial 2.10-1ubuntu2 i386
Linux frame buffer image viewer
ffmulticonverter/xenial 1.8.0-z~xenial~NoobsLab.com all
File format converter (audio, video, image and documents)
gambas3-gb-image/xenial-updates 3.8.4-2ubuntu3.1 i386
Gambas image effects
gem-plugin-magick/xenial 1:0.93.3-9build1 i386
Graphics Environment for Multimedia - ImageMagick support
gir1.2-vips-8.0/xenial 8.2.2-1 i386
GObject introspection data for VIPS
gkrellshoot/xenial 0.4.4-1 i386
Plugin for gkrellm to lock the screen and make screenshots
goby/xenial 1.1+0.20140625-1 all
WYSIWYG presentation tool for Emacs
graphicsmagick/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
collection of image processing tools
graphicsmagick-dbg/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - debugging symbols
graphicsmagick-imagemagick-compat/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 all
image processing tools providing ImageMagick interface
graphicsmagick-libmagick-dev-compat/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 all
image processing libraries providing ImageMagick interface
groff/xenial 1.22.3-7 i386
GNU troff text-formatting system
imageinfo/xenial 0.04-0ubuntu10 i386
Displays selected image attributes
imagemagick/xenial-updates,xenial-security,now 8:6.8.9.9-7ubuntu5.15 i386 [installed]
image manipulation programs -- binaries
imagemagick-6.q16/xenial-updates,xenial-security,now 8:6.8.9.9-7ubuntu5.15 i386 [installed,automatic]
image manipulation programs -- quantum depth Q16
imagemagick-common/xenial-updates,xenial-security,now 8:6.8.9.9-7ubuntu5.15 all [installed,automatic]
image manipulation programs -- infrastructure
imagemagick-dbg/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 i386
debugging symbols for ImageMagick
imagemagick-doc/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
document files of ImageMagick
imgsizer/xenial 2.7-3 all
Adds WIDTH and HEIGHT attributes to IMG tags in HTML files
jmagick6-docs/xenial 6.6.9~20130201-svn99-2ubuntu2 all
java interface to ImageMagick - api documentation
libchart-gnuplot-perl/xenial 0.23-1 all
module for generating two- and three-dimensional plots
libgraphics-magick-perl/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - perl interface
libgraphicsmagick++-q16-12/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - C++ shared library
libgraphicsmagick++1-dev/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - C++ development files
libgraphicsmagick-q16-3/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - C shared library
libgraphicsmagick1-dev/xenial-updates,xenial-security 1.3.23-1ubuntu0.6 i386
format-independent image processing - C development files
libimage-magick-perl/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
Perl interface to the ImageMagick graphics routines
libimage-magick-q16-perl/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 i386
Perl interface to the ImageMagick graphics routines -- Q16 version
libjmagick6-java/xenial 6.6.9~20130201-svn99-2ubuntu2 all
java interface to ImageMagick - java classes
libjmagick6-jni/xenial 6.6.9~20130201-svn99-2ubuntu2 i386
java interface to ImageMagick - native library
libmagick++-6-headers/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
object-oriented C++ interface to ImageMagick - header files
libmagick++-6.q16-5v5/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 i386
object-oriented C++ interface to ImageMagick
libmagick++-6.q16-dev/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 i386
object-oriented C++ interface to ImageMagick - development files
libmagick++-dev/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
object-oriented C++ interface to ImageMagick
libmagickcore-6-arch-config/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 i386
low-level image manipulation library - architecture header files
libmagickcore-6-headers/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
low-level image manipulation library - header files
libmagickcore-6.q16-2/xenial-updates,xenial-security,now 8:6.8.9.9-7ubuntu5.15 i386 [installed,automatic]
low-level image manipulation library -- quantum depth Q16
libmagickwand-6-headers/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
image manipulation library - headers files
libmagickwand-6.q16-2/xenial-updates,xenial-security,now 8:6.8.9.9-7ubuntu5.15 i386 [installed,automatic]
image manipulation library
libreoffice/xenial-updates,xenial-security 1:5.1.6~rc2-0ubuntu1~xenial10 i386
office productivity suite (metapackage)
libvips-dev/xenial 8.2.2-1 i386
image processing system good for very large images (dev)
libvips-doc/xenial 8.2.2-1 all
image processing system good for very large images (doc)
libvips-tools/xenial 8.2.2-1 i386
image processing system good for very large images (tools)
libvips42/xenial 8.2.2-1 i386
image processing system good for very large images
nautilus-image-converter/xenial-updates 0.3.1~git20110416-1ubuntu1.16.04.1 i386
nautilus extension to mass resize or rotate images
nip2/xenial 8.2-1 i386
spreadsheet-like graphical image manipulation tool
octave-image/xenial 2.4.1-1 i386
image manipulation for Octave
perlmagick/xenial-updates,xenial-security 8:6.8.9.9-7ubuntu5.15 all
Perl interface to ImageMagick -- transition package
php-horde-image/xenial 2.3.4-2 all
Horde Image API
php-imagick/xenial 3.4.0~rc6-1ubuntu3 i386
Provides a wrapper to the ImageMagick library
pypy-wand/xenial 0.3.9-1 all
Python interface for ImageMagick library (PyPy build)
python-pythonmagick/xenial 0.9.11-2ubuntu2 i386
Object-oriented Python interface to ImageMagick
python-sorl-thumbnail/xenial 12.2-1 all
thumbnail support for the Django framework
python-sorl-thumbnail-doc/xenial 12.2-1 all
thumbnail support for the Django framework (Documentation)
python-vipscc/xenial 8.2.2-1 i386
image processing system good for very large images (tools)
python-wand/xenial 0.3.9-1 all
Python interface for ImageMagick library (Python 2 build)
python3-sorl-thumbnail/xenial 12.2-1 all
thumbnail support for the Django framework (Python3 version)
python3-wand/xenial 0.3.9-1 all
Python interface for ImageMagick library (Python 3 build)
rubber/xenial 1.4-2 all
automated system for building LaTeX documents
ruby-fastimage/xenial 1.6.8-1 all
Ruby library for finding the size or type of image with minimal dependency
ruby-mini-magick/xenial 4.4.0-1 all
wrapper for ImageMagick with a small memory footprint
ruby-oily-png/xenial 1.1.0-5build6 i386
native mixin to speed up ChunkyPNG
ruby-rmagick/xenial 2.15.4-2build3 i386
ImageMagick API for Ruby
ruby-rmagick-doc/xenial 2.15.4-2build3 all
ImageMagick API for Ruby (documentation)
tex4ht/xenial 20090611-1.1build1 i386
LaTeX and TeX for Hypertext (HTML) - executables
tex4ht-common/xenial 20090611-1.1build1 all
LaTeX and TeX for Hypertext (HTML) - support files
wand-doc/xenial 0.3.9-1 all
Python interface for ImageMagick library - documentation
worker/xenial 3.8.2-1 i386
highly configurable two-paned file manager for X
wv/xenial 1.2.9-4.2 i386
Programs for accessing Microsoft Word documents
xcrysden/xenial 1.5.60-1 i386
Crystalline and Molecular Structure Visualizer
master@master-Latitude-E6400:~$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.