no decode delegate for this image format
no decode delegate for this image format
Hi,
I am having trouble with the identify utility when I use a .jp2 file. I have tried linking another library into the ./configure command that is supposed to contain the jpeg2000 library, but the library does not seem to appear in the configure settings outputed once ./configure is finished.
I am having trouble with the identify utility when I use a .jp2 file. I have tried linking another library into the ./configure command that is supposed to contain the jpeg2000 library, but the library does not seem to appear in the configure settings outputed once ./configure is finished.
Re: no decode delegate for this image format
From this page: http://www.imagemagick.org/script/formats.php
Is that the problem ?
JP2 RW JPEG-2000 JP2 File Format Syntax Requires jasper-1.600.0.zip
Is that the problem ?
Re: no decode delegate for this image format
Thanks for your reply,
Actually I tried compiling and installing jasper today, but there were errors when trying to leave directories, and therefore I tried to link to another library. I moved on because I couldn't find any helpful jasper documentation on my errors.
Actually I tried compiling and installing jasper today, but there were errors when trying to leave directories, and therefore I tried to link to another library. I moved on because I couldn't find any helpful jasper documentation on my errors.
Re: no decode delegate for this image format
Here you go:
Path: /usr/local/lib/ImageMagick-6.2.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -pthread
CONFIGURE ./configure LIBS=-/home/hi/OpenJPEG/lopenjpeg.a
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS LIBS=-/home/hi/OpenJPEG/lopenjpeg.a 'LIBS=-/home/hi/OpenJPEG/lopenjpeg.a'
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/lib
LIB_VERSION 0x625
LIB_VERSION_NUMBER 6,2,5,5
LIBS -lMagick -ltiff -ljpeg -lpng -lbz2 -lxml2 -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 04/05/07
VERSION 6.2.5
WEBSITE http://www.imagemagick.org
Path: /usr/local/lib/ImageMagick-6.2.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -pthread
CONFIGURE ./configure LIBS=-/home/hi/OpenJPEG/lopenjpeg.a
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS LIBS=-/home/hi/OpenJPEG/lopenjpeg.a 'LIBS=-/home/hi/OpenJPEG/lopenjpeg.a'
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/lib
LIB_VERSION 0x625
LIB_VERSION_NUMBER 6,2,5,5
LIBS -lMagick -ltiff -ljpeg -lpng -lbz2 -lxml2 -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 04/05/07
VERSION 6.2.5
WEBSITE http://www.imagemagick.org
Re: no decode delegate for this image format
The wierd thing is that somehow, on another machine I am able to use the jp2 format - but w/o jasper - I just don't know how to reproduce that on another machine.
Re: no decode delegate for this image format
Dear yeller,
i can't see support for jpeg2k. Run ./configure --with-jp2=yes.
What say "convert -list configure" on the other maschine ? Which OS do you use ?
TeeTanne
i can't see support for jpeg2k. Run ./configure --with-jp2=yes.
What say "convert -list configure" on the other maschine ? Which OS do you use ?
TeeTanne
Re: no decode delegate for this image format
I've tried configuring that way, the value that is given for jp2 is "no (failed tests)".
How can I get the JPEG2000 library on this box?
here's the "convert -list configure" on the other machine:
Path: /usr/local/lib/ImageMagick-6.2.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -pthread
CONFIGURE ./configure --with-jp2=yes
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS --with-jp2=yes
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib
LIB_VERSION 0x625
LIB_VERSION_NUMBER 6,2,5,5
LIBS -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 04/04/07
VERSION 6.2.5
WEBSITE http://www.imagemagick.org
I'm running: Linux version 2.6.9-42.0.10.ELsmp, Red Hat 3.4.6-3
How can I get the JPEG2000 library on this box?
here's the "convert -list configure" on the other machine:
Path: /usr/local/lib/ImageMagick-6.2.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -pthread
CONFIGURE ./configure --with-jp2=yes
COPYRIGHT Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS --with-jp2=yes
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib
LIB_VERSION 0x625
LIB_VERSION_NUMBER 6,2,5,5
LIBS -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 04/04/07
VERSION 6.2.5
WEBSITE http://www.imagemagick.org
I'm running: Linux version 2.6.9-42.0.10.ELsmp, Red Hat 3.4.6-3
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: no decode delegate for this image format
yeller wrote: I've tried configuring that way, the value that is given for jp2 is "no (failed tests)".
You will then need to go into the config.log and find out what test failed.
Sometimes you also need to try to compile the 'failed' C test program it gives in the log to actually figure out what is going on.
It may be that you just don't have the right path for it to find the library, include headers, or even some library to library dependancy.
Welcome to the job of a system programmer...
Anthony Thyssen ( System Programmer ) <A.Thyssen@griffith.edu.au>
-----------------------------------------------------------------------------
"The trouble with computers, of course,
is that they're very sophisticated idiots. -- Doctor Who, "Robot"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: no decode delegate for this image format
Howdy, this problem has been solved. I was directed by someone else to get the jasper .rpm and that now allows me to use the jpeg2000 library. Thanks for all your help anyway!
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: no decode delegate for this image format
In other words the RPM properly intergrates the JPEG2000 into the system directories (while allowing proper upgrades and removals). That means the IM configure can now locate everything properly as they are in the standard system directories.
Congradulations.
Congradulations.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/