Package: libgs9
Version: 9.16~dfsg-2.1
When asked to perform any operation on a PDF containing JPEG2000 (/JPXDecode) images, Ghostscript displays the following:
$ gs -dBATCH -dQUIET -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=_.pdf anyjpeg2000.pdf
**** ERROR: Unable to process JPXDecode data. Page will be missing data.
Ghostscript will leave any JPX encoded images blank but still produce the rest of PDF output. Any PDF containing a JPX encoded image triggers this behavior.
I believe the issue is that this particular version of libgs9 and/or ghostscript was not built --with-jp2. The packages also do not list libopenjpeg as a dependency. Ghostscript has supported JPEG 2000 for a long time.
System:
Linux 576f25bbd6dc 4.1.17-boot2docker #1 SMP Thu Feb 11 08:12:31 UTC 2016 x86_64 GNU/Linux, stretch/sid