too many bezier coordinates

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Posts: 7
Joined: 2018-03-02T04:33:18-07:00
Authentication code: 1152

too many bezier coordinates

Post by helch »

We sometimes have to deal with big ellipses and this one gives an error:

Code: Select all

$ magick -size 3840x1938 xc:transparent -draw "fill none stroke #fffe00 stroke-width 6.000000 ellipse 97664,-36540 100352,100096 0,360"  tmp/test.pngmagick: too many bezier coordinates `' @ error/draw.c/RenderMVGContent/4062.
magick: non-conforming drawing primitive definition `ellipse' @ error/draw.c/RenderMVGContent/4407.
What is the problem there?
Is there some internal limit i can increase with a command-line option?

User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: too many bezier coordinates

Post by magick »

ImageMagick does have sanity checks to help reduce resource consumption. Its likely the check for bezier coordinates may be too aggressive. Look for a fix in the next Beta release of ImageMagick within a day or two.
Post Reply