[Bug 1447968] Re: ImageMagick is missing JPEG2000 support (needs to be built with openjpeg)
Gwyneth Llewelyn
1447968 at bugs.launchpad.net
Wed May 27 19:07:11 UTC 2020
Ok, I came across this open thread thinking that it was abandoned (it's
from 2015!), but apparently there have been a few messages in the past
few days, so at least I know I'm not insane... as the OP said, I was
assuming that IM on Ubuntu (even on my old 16.04.6 LTS Xenial) came with
the JP2 coder built-in, and, indeed, I *thought* that this was the case:
# convert -list coder | grep JP2
J2C JP2
J2K JP2
JPC JP2
JPM JP2
JPT JP2
JPX JP2
PGX JP2
But clearly this is *not* true, since on ImageMagick 6.8.9-9 Q16 x86_64
built in 2019-11-12 I get:
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms
lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
(well, I have added a lot of stuff, thus Cairo etc. are listed)
I also have installed *both* jasper (lib and runtime) as well as
libopenjp2-7 (and libopenjpeg-dev & libjpeg62-dev & openjpeg-tools for
good measure...).
I'm not really familiar with IM — I thought, for instance, that you
could just tweak the .xml files and get 'instant' results without
needing to recompile it — so I guess that my only choice is to install
IM from the sources to get JPEG-2000 support?... I have little faith
that, after 5 years, there are still developers with free time and
willingness to 'fix' this bug, especially because I can very well
imagine that the latest Ubuntu versions have fixed this somehow...
There *is* a PPA listing imagemagick-jp2 which *does* have working
JPEG-2000 support, but they haven't applied the latest security
patches...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/1447968
Title:
ImageMagick is missing JPEG2000 support (needs to be built with
openjpeg)
Status in imagemagick package in Ubuntu:
In Progress
Status in imagemagick package in Debian:
Fix Released
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://www.imagemagick.org
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/constitute.c/ReadImage/501.
$ 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/constitute.c/ReadImage/501.
convert: no images defined `pic.png' @ error/convert.c/ConvertImageCommand/3210.
$ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1447968/+subscriptions
More information about the foundations-bugs
mailing list