Package: qt5-image-formats-plugins
Version: 5.15.2-2

It seems that the Debian `qt5-image-formats-plugins` package does not support JPEG2000/JP2 images, in spite of this format being supported by Qt [1] through the JasPer Image Processing/Coding Tool Kit [2]. This results in QImage-based end-user applications such as Gwenview not supporting this popular image format, although technically possible.

In order to add JP2 support, `qt5-image-formats-plugins` would need to be built with JasPer, which would first require packaging the latter in Debian. The Ubuntu repository already contains a package named `jasper`, but it does something completely different [3], so the image processing JasPer package may need to be named differently.

JasPer used to be affected by security issues [4], but as of the day of writing all known CVEs are fixed [5], and JasPer continues to be maintained by the original author Michael Adams and contributors [6] (latest version 2.0.33 released on 2021-08-01 [7]).

Note that the author of this bug report does not use Debian itself, but the Ubuntu-based KDE Neon [8]. However, judging by the list of dependencies [9], `qt5-image-formats-plugins` is not built with JasPer and thus without JP2 support in Debian. Therefore, this report should only be seen as a notification to the Debian packaging team in order to promote support for the JP2 format.

[1] https://github.com/qt/qtimageformats/blob/dev/src/plugins/imageformats/jp2/qjp2handler.cpp
[2] https://github.com/jasper-software/jasper
[3] https://packages.ubuntu.com/hirsute/jasper
[4] https://github.com/jasper-software/jasper/issues/208
[5] https://github.com/jasper-software/jasper/issues/208#issuecomment-665471904
[6] https://github.com/jasper-software/jasper/graphs/contributors
[7] https://github.com/jasper-software/jasper/releases/tag/version-2.0.33
[8] https://bugs.kde.org/show_bug.cgi?id=441673
[9] https://packages.debian.org/bullseye/qt5-image-formats-plugins

Reply via email to