Clip path is not working in x64
Clip path is not working in x64
I'v build VisualDynamicMT project in x64 configuration. ClipImagePath method returns null for 8BIM:1999,2998:#1 path name. But in x32 configuration it returns valid svg xml. The same thing happens with x64 and win32 distributives of IM.
Re: Clip path is not working in x64
I'v found a bug. The property.c file has a code:
if (~(1UL*count) >= (MaxTextExtent-1))
On x64 this code runs to false because 1UL is unsigned long and has size = 4, count is __int64 and has size 8, 1UL*count will be casted to signed __int64... So ~(1UL*count) will be negative!
if (~(1UL*count) >= (MaxTextExtent-1))
On x64 this code runs to false because 1UL is unsigned long and has size = 4, count is __int64 and has size 8, 1UL*count will be casted to signed __int64... So ~(1UL*count) will be negative!
Re: Clip path is not working in x64
Thanks for the bug report. We'll get a patch into ImageMagick by sometime tomorrow.