Okay to be a little bit more specific:
The last version I could find which has no problems with the \\?\...
formatting is the version 1.7.17 and the the first non working is 2.0.1.
Am 23.03.2022 um 17:23 schrieb haggi:
Hi,
we just encountered a problem working with maktetx and windows unc paths.
We use UNC path notation for accessing the files in our network like this:
maketx.exe -o C:\TextureCache\test1.tx
\\produktion\dfs\images\Raumplan.png
This works great. But sometimes the pathnames are too long and our
usual solution was to use a windows naming convention:
maketx.exe -o C:\TextureCache\test1.tx
\\?\UNC\produktion\dfs\very...long...path\Raumplan.png
This can be tested locally with this lines:
maketx.exe -o C:\TextureCache\test1.tx \\?\C:\image.png
maketx.exe -o C:\TextureCache\test2.tx C:\image.png
The error message we get is:
/ImageInput::create() called with malformed filename/
Now comes the interesting part:
Since we use the maketx from Arnold renderer, I only have these two
versions to compare but:
This was *not* a problem in maketx from OIIO 1.7.7
It is a problem in the version of OIIO 2.1 (or earlier somtime between
1.7.7 and 2.1)
Any ideas?
haggi
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org