"error: cannot open for writing" On long path windows
Kl0ven opened this issue · 1 comments
Kl0ven commented
Hi,
I get this error error: cannot open 'very\long\path\image9.png.tmp' for writing
.
I have tried to enable long path on windows but the explorer won't let me create those files manualy, but a python script can!!
I'm not sure if it's a pngquant issue or a Windows limitation.
I'm using
- Win10 Pro V2004
- pngquant, 2.12.0 (January 2018)
kornelski commented
For Windows paths I use Microsoft's C standard library. It doesn't handle Unicode paths, so I'm not surprised that it doesn't handle long paths either.
I have a plan to rewrite that part in Rust, which will fix both issues.