Page 1 of 1

Convert fom JPEG-2000 to jpg

Posted: 2010-10-30T13:47:43-07:00
by brenner23
hi i was trying to convert jpeg 2000 to jpg

convert 9a11e369-49c7-49f7-835a-f7c777c55caa.JP2 9a11e369-49c7-49f7-835a-f7c777c55caa.JPG

convert: no decode delegate for this image format `9a11e369-49c7-49f7-835a-f7c777c55caa.JP2' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `9a11e369-49c7-49f7-835a-f7c777c55caa.JPG' @ error/convert.c/ConvertImageCommand/2949.

Re: Convert fom JPEG-2000 to jpg

Posted: 2010-10-30T14:47:34-07:00
by fmw42
You probably need to install the Jasper delegate library to use JP2000 images, then reinstall IM

You can tell what delegates you have installed by running

convert -list configure

and looking for the line starting with DELEGATES

see http://www.imagemagick.org/download/delegates/ (or find a more current version)

Re: Convert fom JPEG-2000 to jpg

Posted: 2010-10-31T04:08:28-07:00
by brenner23
i have intalled
http://www.imagemagick.org/download/del ... .900.1.zip

after i have deletet the magic and new
./compile
make
make install

but now i have an error
  • CC ltdl/ltdl_libltdlc_la-ltdl.lo
    ltdl/ltdl.c: In function 'try_dlopen':
    ltdl/ltdl.c:1268: warning: the address of 'libext' will always evaluate as 'true'
    CC ltdl/ltdl_libltdlc_la-slist.lo
    CC ltdl/loaders/dlopen.lo
    CCLD ltdl/dlopen.la
    CCLD ltdl/libltdlc.la
    CCLD magick/libMagickCore.la
    /usr/bin/ld: /usr/local/lib/libjasper.a(jas_image.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libjasper.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [magick/libMagickCore.la] Error 1
    make[1]: Leaving directory `/root/ImageMagick-6.6.5-4'
    make: *** [all] Error 2
    :(

Re: Convert fom JPEG-2000 to jpg

Posted: 2010-10-31T06:40:09-07:00
by magick
Do as it says, recompile Jasper with the -fPIC option on the compile command line.