I have updated this plug-in.
In this version, I added the option to decode Nikon High Efficiency compressed Raw and JPEG-XL encoded lossy compressed dng files. This option uses Adobe DNG Converter as compression decoder and Exiftool for file compression type determination. Therefore if you would like to use this option, Adobe DNG Converter installation is needed and in Mac OS it is also needed to install Exiftool. In Linux and Windows, ART includes Exiftool so its installation is not needed. If you don’t use this option, their installation is not needed.
To install DNG Converter on Linux, use wine and DNG Converter Windows version for it.
To use the option, you need to specify it with config.ini file in plug-in directory. The default values in config.ini are as follows.
—
[ART directory path on Windows]
COMMAND_NT;C:\\Program Files\\ART\\1.26.1
# Do not add ".exe" for COMMAND_NT
[ART directory path on Linux]
COMMAND_LINUX;/home/username/Programs/ART
[ART directory path on Mac OS]
COMMAND_DARWIN;/Applications/ART.app/Contents/MacOS
[Temp file format]
TMP_FILE_FORMAT;png
# The value of TMP_FILE_FORMAT must be tiff or png
[Temp file bit depth]
TMP_FILE_BITDEPTH;16
# The value of TMP_FILE_BITDEPTH must be 8, 16 or 32
[Acceptable file extensions]
EXTENSIONS;.dng .DNG .cr .CR .nef .NEF .nrf .NRF .arw .ARW .sr .SR .raf .RAF .orf .ORF .rw2 .RW2 .rwl .RWL .pef .PEF .x3f .X3F .tif .TIF
[Decode Nikon HE Raw and JPEG XL encoded dng]
NIKON_HE;False
# The value of NIKON_HE must be True or False
# Following parameters are needed if only NIKON_HE=True
[Exiftool path on Mac OS]
EXIF_DARWIN;/opt/homebrew/bin/exiftool
[DNG Converter path on Windows]
DNG_NT;C:\\Program Files\\Adobe\\Adobe DNG Converter\\Adobe DNG Converter.exe
[DNG Converter path on Linux]
DNG_LINUX;/home/username/.wine/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe
[DNG Converter path on Mac OS]
DNG_DARWIN;/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter
[Delete temp. dng file]
DELETE_DNG;True
# The value of DELETE_DNG must be True or False
—
To use the option, you should change [Decode Nikon HE Raw and JPEG XL encoded dng] parameter to True and specify file path of DNG Converter and Exiftool (in Mac OS only).
However, the conversion result of JPEG XL encoded dng is unstable. The quality of conversion depends on the combination of DNG Converter version, your PC environment and original data. In many cases, the result will be pinkish, however it can be fixed using white balance in ART.
In some cases you can get good results, however in other some cases DNG Converter exports the result which ART cannot read.
I suppose that DNG Converter is not intended to decode JPEG-XL compressed dng to uncompressed dng, so the conversion results are not certificated by the developper.
I think it is the best that libraw supports JPEG-XL compressed dng, and it seems that they have the plan to support it. However it is not implemented yet.
The conversion results of Nikon HE compressed Raw are stable.