ImageMagick is missing JPEG2000 support (needs to be built with openjpeg)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
imagemagick (Debian) |
Fix Released
|
Unknown
|
|||
imagemagick (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
ImageMagick had been always built with JPEG2000 support ("JPEG-2000 --with-jp2=yes yes"). Since Vivid Vervet's 8:6.8.9.9-5 version it's not more built with jp2 support thus it lost the support to work with JPEG2000 images ("JPEG-2000 --with-jp2=").
This is pretty annoying, as JPEG 2000 is pretty popular lossless format.
$ identify -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2015-01-06 http://
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
$ identify pic.jp2
identify: no decode delegate for this image format `JP2' @ error/constitut
$ file pic.jp2
pic.jp2: JPEG 2000 Part 1 (JP2)
$ convert pic.jp2 pic.png
convert: no decode delegate for this image format `JP2' @ error/constitut
convert: no images defined `pic.png' @ error/convert.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
$ uname -a
Linux ubo1504 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l |grep imagemagick
ii imagemagick 8:6.8.9.9-5 amd64 image manipulation programs -- binaries
ii imagemagick-6.q16 8:6.8.9.9-5 amd64 image manipulation programs -- quantum depth Q16
ii imagemagick-common 8:6.8.9.9-5 all image manipulation programs -- infrastructure
Thanks for fixing this.
tags: | added: vivid |
description: | updated |
Changed in imagemagick (Ubuntu): | |
status: | New → Confirmed |
Changed in imagemagick (Ubuntu): | |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in imagemagick (Debian): | |
status: | Unknown → Fix Committed |
Changed in imagemagick (Debian): | |
status: | Fix Committed → Fix Released |
tags: | added: regression-release |
Changed in imagemagick (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in imagemagick (Ubuntu): | |
importance: | High → Medium |
tags: | added: packaging |
tags: | added: xenial |
tags: | added: bionic |
tags: | added: cosmic |
Changed in imagemagick (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Also affects XENIAL.
I tried compiling from source: Resulting binary: no JP2 support.
Then I installed "libopenjp2-dev" and built again. Now I do have jp2 support.
So the problem is that the imagmagick upstream releas has switched to prefer libopenjp2 instead of libjasper, while the ubuntu build procedure lists libjasper-dev as a build requirement instead of libopenjp2.