legacy-knowledge-base
公開されました Jul. 2, 2025

JPEG2000 画像を読み込むことができないエラー

written-by

Matheus Monteiro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • jp2 の画像や、 JBIG2TIFFなどの画像を含む .pdf ファイルをアップロードすると、ログに以下のエラーが出力されます:
ERROR [main][PDFStreamEngine:211] Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed

環境

  • DXP 7.0
  • DXP 7.1

解像度

  • ImageMagickとGhostScriptを有効にする:
    • コントロールパネル -> サーバー管理 -> 外部サービス -> ImageMagick と GhostScript を有効にする をクリックし、「有効にする」オプションをクリックします。
    • "保存 "をクリックします。

あるいは、、portal-ext.properties ファイルで以下のプロパティを使用することができます:

 imagemagick.enabled=true

追加情報

  • PDFBOXの制限により発生します。 詳しくは、 このリンク をご覧ください。

did-this-article-resolve-your-issue

legacy-knowledge-base