Thus far I've managed to find and compile copies of jxrlib's JXRDecApp and JXREndApp via Visual Studio, so I have those as executables, but the sum total of documentation for adding support for JPEG-XR seems to be 'Requires the jxrlib delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path.'
I've already tried adding the locations of the JxrDecApp and JxrEncApp executables to the Path system variable, but attempts at converting an example .jxr to .tif format produce the following error:
Code: Select all
C:\>convert testImg.jxr testImg.tif convert.exe: FailedToExecuteCommand `rename "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268BqVA2y6fQKyx" "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268BqVA2y6fQKyx.jxr"; "@JXRDecodeDelegate@" -i "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268BqVA2y6fQKyx.jxr" -o "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268Lmrf0XLVvPXB.pnm"; rename "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268BqVA2y6fQKyx.jxr" "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268BqVA2y6fQKyx"; rename "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268Lmrf0XLVvPXB.pnm" "C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268Lmrf0XLVvPXB"' (-1) @ error/delegate.c/ExternalDelegateCommand/462. convert.exe: delegate failed `rename "%i" "%i.jxr"; "@JXRDecodeDelegate@" -i "%i.jxr" -o "%o.pnm"; rename "%i.jxr" "%i"; rename "%o.pnm" "%o"' @ error/delegate.c/InvokeDelegate/1308. convert.exe: unable to open image `C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268eZ04Cd-kYNYL': No such file or directory @ error/blob.c/OpenBlob/2674. convert.exe: unable to open module file `C:\Program Files (x86)\ImageMagick-6.9.0-Q16\modules\coders\IM_MOD_RL_JXR_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/672. convert.exe: unable to open file `C:/Users/RPALIW~1/AppData/Local/Temp/magick-15268eZ04Cd-kYNYL': No such file or directory @ error/constitute.c/ReadImage/540. convert.exe: no images defined `testImg.tif' @ error/convert.c/ConvertImageCommand/3212.
Alternatively, if this isn't why I'm getting these errors, and ImageMagick is going off to somewhere under Users for a different reason (or this would still be an issue if I did have it set up properly), why is it doing this and what can I do?
I'm sorry if this has been asked before. For some reason the search function on this board doesn't like jxr, JPEG-XR, or jxrlib and queries return no posts, even though I have an example of a previous question asked about the format previously on this board.