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.
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.