SUMMARY STEPS TO REPRODUCE Open a PDF that contains embedded JPEG2000 images (with the JPXDecode filter) OBSERVED RESULT Images are not shown, even though Firefox, and Chromium can show them EXPECTED RESULT Render all images SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.16.4, based on Ubuntu 18.04 KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Can you provide an example for testing? Thanks in advance for your answer.
Created attachment 122971 [details] PDF that has JPEG2000 Images embedded
Looks fine here (poppler 0.74 and 0.81, Mageia 7, KF 5.57, libopenjp2 2.3.1, okular 1.7.0 and okular 1.8.70). Can you check if libopenjp2 installed and if poppler is compiled with libopenjpeg2 support? Thanks in advance for your answer.
# find /usr -name 'libopenjp2*' /usr/share/doc/libopenjp2-7 /usr/lib/x86_64-linux-gnu/libopenjp2.so.2.3.0 /usr/lib/x86_64-linux-gnu/libopenjp2.so.7 # find /usr -name '*poppler*'|grep -v .mo /usr/share/cups/mime/cupsfilters-poppler.convs /usr/share/lintian/overrides/poppler-utils /usr/share/poppler /usr/share/pkgconfig/poppler-data.pc /usr/share/metainfo/org.kde.okular-poppler.metainfo.xml /usr/share/doc/poppler-data /usr/share/doc/poppler-utils /usr/share/doc/libpoppler-glib8 /usr/share/doc/libpoppler-qt5-1 /usr/share/doc/libpoppler73 /usr/share/doc/libpoppler87 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kfilemetadata/kfilemetadata_popplerextractor.so /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_poppler.so /usr/lib/x86_64-linux-gnu/libpoppler.so.88.0.0 /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1 /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8 /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8.12.0 /usr/lib/x86_64-linux-gnu/libpoppler.so.73 /usr/lib/x86_64-linux-gnu/libpoppler.so.88 /usr/lib/x86_64-linux-gnu/libpoppler.so.73.0.0 /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1.19.0 I don't know how poppler was compiled. Maybe the people of KDE Neon can know about it.
Created attachment 122985 [details] Screenshot with bad rendering
Created attachment 122986 [details] Good rendering of sample file
Ubuntu is famously known for being useless packaging poppler. Don't use Ubuntu if reading PDF files is important for you. https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/710412