結論 imagecodecs というライブラリを使えばよい。 筆者が試した例の紹介 インストール python -m pip install -U imagecodecs[all] サンプルコードと実行結果 サンプルコードを以下に示す。 # -*- coding: utf-8 -*- import sys from imagecodecs import JPEGXR, imread if not JPEGXR.available: print("JPEG XR is not supported.") sys.exit() jpeg_xr_fname = "./Windows_HDR_Captu…