Page 1 of 1

The OpenBlob function cuts off '%' from a file path.

Posted: 2016-06-09T08:00:25-07:00
by wizard29
Hi.

I have a problem with a file saving. When a file path contains something like this: "c:\tmp\%%\somefile.png" I catch an exception like this: "WriteBlob Failed `c:\tmp\%\somefile.png' @ error/png.c/MagickPNGErrorHandler/1630".

I traced inside the library and found the problem here: blob.c lines 2542-2560.

I use the 6.9.3-7 IM version under the Windows 7,8,10.

Does a workaround exist?

Re: The OpenBlob function cuts off '%' from a file path.

Posted: 2016-06-09T08:08:23-07:00
by wizard29
The workaround: to replace each '%' symbol by "%%" in a file path.