That looks like it
might work, now why I say "might" you ask.. well, now I see that our IM might be installed incorrectly...
I run this command, which looks so pretty and probably what I do need... however, the result is:
Code: Select all
magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/714.
magick: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/714.
magick: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/509.
However, when I run a search for those XML files, in the parent folder of the installation:
I get:
Code: Select all
./lib/ImageMagick-7.0.7/config-Q16HDRI/configure.xml
./etc/ImageMagick-7/coder.xml
./etc/ImageMagick-7/colors.xml
./etc/ImageMagick-7/delegates.xml
./etc/ImageMagick-7/log.xml
./etc/ImageMagick-7/magic.xml
./etc/ImageMagick-7/mime.xml
./etc/ImageMagick-7/policy.xml
./etc/ImageMagick-7/quantization-table.xml
./etc/ImageMagick-7/thresholds.xml
./etc/ImageMagick-7/type.xml
./etc/ImageMagick-7/type-apple.xml
./etc/ImageMagick-7/type-dejavu.xml
./etc/ImageMagick-7/type-ghostscript.xml
./etc/ImageMagick-7/type-urw-base35.xml
./etc/ImageMagick-7/type-windows.xml
./share/ImageMagick-7/english.xml
./share/ImageMagick-7/francais.xml
./share/ImageMagick-7/locale.xml
./share/doc/ImageMagick-7/www/source/coder.xml
./share/doc/ImageMagick-7/www/source/colors.xml
./share/doc/ImageMagick-7/www/source/configure.xml
./share/doc/ImageMagick-7/www/source/delegates.xml
./share/doc/ImageMagick-7/www/source/english.xml
./share/doc/ImageMagick-7/www/source/francais.xml
./share/doc/ImageMagick-7/www/source/locale.xml
./share/doc/ImageMagick-7/www/source/log.xml
./share/doc/ImageMagick-7/www/source/magic.xml
./share/doc/ImageMagick-7/www/source/mime.xml
./share/doc/ImageMagick-7/www/source/policy.xml
./share/doc/ImageMagick-7/www/source/thresholds.xml
./share/doc/ImageMagick-7/www/source/type-ghostscript.xml
./share/doc/ImageMagick-7/www/source/type-windows.xml
./share/doc/ImageMagick-7/www/source/type.xml
./ImageMagick_win_7.0.7/english.xml
./ImageMagick_win_7.0.7/locale.xml
./ImageMagick_win_7.0.7/log.xml
./ImageMagick_win_7.0.7/magic.xml
./ImageMagick_win_7.0.7/mime.xml
./ImageMagick_win_7.0.7/policy.xml
./ImageMagick_win_7.0.7/quantization-table.xml
./ImageMagick_win_7.0.7/thresholds.xml
./ImageMagick_win_7.0.7/type.xml
./ImageMagick_win_7.0.7/type-ghostscript.xml
./ImageMagick_win_7.0.7/www/source/coder.xml
./ImageMagick_win_7.0.7/www/source/colors.xml
./ImageMagick_win_7.0.7/www/source/configure.xml
./ImageMagick_win_7.0.7/www/source/delegates.xml
./ImageMagick_win_7.0.7/www/source/english.xml
./ImageMagick_win_7.0.7/www/source/francais.xml
./ImageMagick_win_7.0.7/www/source/locale.xml
./ImageMagick_win_7.0.7/www/source/log.xml
./ImageMagick_win_7.0.7/www/source/magic.xml
./ImageMagick_win_7.0.7/www/source/mime.xml
./ImageMagick_win_7.0.7/www/source/policy.xml
./ImageMagick_win_7.0.7/www/source/quantization-table.xml
./ImageMagick_win_7.0.7/www/source/thresholds.xml
./ImageMagick_win_7.0.7/www/source/type-apple.xml
./ImageMagick_win_7.0.7/www/source/type-dejavu.xml
./ImageMagick_win_7.0.7/www/source/type-ghostscript.xml
./ImageMagick_win_7.0.7/www/source/type-urw-base35.xml
./ImageMagick_win_7.0.7/www/source/type-windows.xml
./ImageMagick_win_7.0.7/www/source/type.xml
./ImageMagick_win_7.0.7/colors.xml
./ImageMagick_win_7.0.7/configure.xml
./ImageMagick_win_7.0.7/delegates.xml
So.. yeah, I think something is wrong...
Does IM has a command to check if the current session finds the right XML?
Could it be that we will just need to replace this guy:
Code: Select all
magick: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/509.
I mean... could this all be just a read error?
Our Delegate xml is wrong/old? re-installation is needed?
Okay, last thing... via Python, I guess it will be something like....:
Code: Select all
import OpenImageIO as oiio
source = oiio.ImageBuf(filepath)
output = '/../../output.png
... no idea...need to check DOCs :)
wow, I really dont know where to go from here,
dang it,
so close :/
Thank you so much for looking on this with me.