Version: ImageMagick 7.0.7-39 Q16 x86_64 2019-10-24 https://www.imagemagick.org
Copyright: 漏 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr lzma openexr pangocairo png tiff wmf x xml zlib
Run:
convert emb_00183fdd48651f1a78346ae88457f1b0.svg emb.png
Error:
convert: memory allocation failed M0 0 H 1400 V 788 H 0 L 0 0 z M0.000 394.000 L 0.000 788.000 700.000 788.000 L 1400.000 788.000 1400.000 501.366 L 1400.000 214.733 1390.250 215.263 C 1380.611 215.787,1374.000 217.348,1374.000 219.098 C 1374.000 219.594,1378.838 220.036,1384.750 220.079 C 1390.662 220.122,1394.825 220.406,1394.000 220.709 C 1393.175 221.013,1391.825 221.817,1391.000 222.496 C 1390.175 223.176,1388.173 224.048,1386.552 224.434 C 1384.270 224.979,1383.931 225.344,1385.052 226.053 C 1386.129 226.735,1385.779 226.973,1383.684 226.985 C 1382.136 226.993,1379.886 227.541,1378.684 228.202 C 1376.071 229.640,1374.336 230.068,1371.000 230.097 C 1369.625 230.109,1367.262 230.596,1365.750 231.181 C 1363.727 231.962,1362.202 231.912,1359.979 230.991 C 1357.463 229.949,1356.083 230.015,1351.729 231.383 C 1347.275 232.782,1345.167 232.864,1337.500 231.938 C 1324.617 230.382,1322.998 230.219,1307.853 228.942 L 1294.205 227.792 1289.171 230.320 C 1283.468 233.185,1281.830 233.015,1274.706 228.822 C 1272.069 227.270,1269.347 226.000,1268.656 226.000 C 1267.965 226.000,1266.972 225.622,1266.450 225.161 C 1265.927 224.700,1262.887 223.721,1259.692 222.987 C 1256.237 222.193,1253.508 220.948,1252.954 219.914 C 1252.442 218.957,1250.042 217.418,1247.622 216.493 C 1244.043 215.126,1242.219 214.998,1237.860 215.808 C 1234.912 216.355,1227.624 216.735,1221.663 216.652 C 1209.329 216.479,1211.982 218.125,1200.069 203.250 C 1198.197 200.912,1196.077 199.000,1195.358 199.000 C 1194.639 199.000,1193.381 197.703,1192.561 196.117 C 1191.153 193.396,1189.351 192.498,1183.000 191.357 C 1179.197 190.674,1173.863 188.949,1170.267 187.240 C 1167.194 185.779,1166.850 185.827,1163.267 188.212 C 1156.334 192.827,1152.312 194.978,1151.720 194.387 C 1150.673 193.340,1144.229 196.036,1143.581 197.793 C 1142.282 201.310,1139.855 205.000,1138.840 205.000 C 1138.263 205.000,1135.741 206.383,1133.237 208.073 L 1128.685 211.145 1125.342 209.345 C 1123.504 208.355,1122.000 207.152,1122.000 206.672 C 1122.000 206.192,1119.862 206.078,1117.250 206.419 C 1101.702 208.451,1102.901 207.805,1095.120 218.337 C 1093.022 221.178,1090.561 224.119,1089.652 224.874 C 1088.744 225.628,1088.000 227.452,1088.000 228.926 C 1088.000 230.678,1086.786 232.784,1084.500 235.000 C 1082.575 236.866,1081.000 238.993,1081.000 239.728 C 1081.000 240.462,1080.356 241.310,1079.568 241.612 C 1078.781 241.914,1078.147 242.913,1078.160 243.831 C 1078.215 247.604,1077.218 255.115,1076.578 255.755 C 1076.200 256.133,1075.493 255.798,1075.007 255.011 C 1074.252 253.790,1073.851 253.825,1072.280 255.247 C 1070.631 256.739,1070.020 256.766,1066.468 255.501 C 1061.108 253.592,1059.336 253.664,1057.118 255.882 C 1055.881 257.119,1054.767 257.467,1053.868 256.897 C 1053.116 256.421,1051.487 256.024,1050.250 256.015 C 1049.013 256.007,1048.000 255.501,1048.000 254.892 C 1048.000 254.200,1047.032 254.026,1045.425 254.429 C 1044.009 254.785,1041.349 254.533,1039.514 253.869 C 1036.687 252.847,1035.247 252.967,1030.089 254.659 L 1024.000 256.655 1024.000 254.327 C 1024.000 252.512,1023.451 252.000,1021.500 252.000 C 1019.744 252.000,1019.000 252.545,1019.000 253.831 C 1019.000 255.588,1017.774 256.438,1011.750 258.854 C 1010.194 259.478,1009.000 260.729,1009.000 261.736 C 1009.000 263.458,1002.586 268.044,998.255 269.419 C 997.131 269.776,995.185 271.566,993.931 273.396 C 992.676 275.227,990.154 277.266,988.325 277.927 C 986.496 278.588,985.000 279.550,985.000 280.065 C 985.000 280.579,984.404 281.000,983.675 281.000 C 982.946 281.000,981.484 281.831,980.425 282.846 C 978.801 284.403,978.188 284.493,976.500 283.424 C 975.400 282.726,972.449 281.858,969.943 281.493 C 966.417 280.981,965.088 281.189,964.070 282.415 C 962.511 284.295,948.561 284.717,947.450 282.919 C 947.082 282.324,945.757 282.095,944.505 282.409 C 943.111 282.759,941.750 282.403,940.992 281.490 C 939.428 279.605,938.249 279.608,936.357 281.500 C 934.717 283.141,932.000 283.524,932.000 282.115 C 932.000 281.629,929.516 280.920,926.480 280.541 C 921.752 279.950,920.353 280.191,916.724 282.219 C 913.165 284.208,911.848 284.448,908.494 .
convert: non-conforming drawing primitive definitionpath' @ error/draw.c/DrawImage/4263.
On ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 this is working
I have attached the svg.
svg.zip
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Thanks, indeed it it working.
Unfortunatelly, i recieve another error with another svg.
This is the error:
convert: memory allocation failed M0.079 1.583 C 0.127 2.748,0.364 2.985,0.683 2.188 C 0.972 1.466,0.936 0.603,0.604 0.271 C 0.272 -0.061,0.036 0.529,0.079 1.583 M42.251 0.662 C 40.670 1.300,41.667 8.809,43.635 11.081 C 44.388 11.951,44.666 13.028,44.252 13.475 C 43.838 13.922,45.019 13.998,46.875 13.644 C 48.731 13.290,50.860 13.000,51.605 13.000 C 52.350 13.000,53.865 11.224,54.973 9.054 C 56.080 6.883,57.734 4.689,58.647 4.177 C 59.649 3.617,60.061 2.602,59.686 1.624 C 59.181 0.308,57.588 0.015,51.281 0.079 C 47.002 0.122,42.938 0.385,42.251 0.662 M69.731 0.603 C 69.399 0.934,69.586 2.397,70.147 3.853 C 71.569 7.548,70.278 20.679,68.422 21.392 C 67.640 21.692,67.000 22.485,67.000 23.154 C 67.000 23.823,66.106 25.322,65.014 26.485 C 63.922 27.648,62.871 30.377,62.679 32.550 C 62.099 39.131,59.705 48.453,58.389 49.258 C 57.707 49.675,55.685 53.193,53.895 57.077 C 52.105 60.961,49.721 64.783,48.597 65.569 C 47.397 66.410,47.106 67.000,47.891 67.000 C 48.869 67.000,49.048 67.871,48.558 70.250 C 48.190 72.038,47.733 75.008,47.542 76.852 C 47.352 78.696,46.702 80.698,46.098 81.302 C 45.494 81.906,45.000 83.150,45.000 84.066 C 45.000 84.982,43.456 88.829,41.570 92.616 C 39.683 96.402,37.809 100.850,37.405 102.500 C 37.001 104.150,35.918 106.850,35.000 108.500 C 32.284 113.379,31.934 116.468,33.513 121.629 C 34.408 124.557,34.767 128.133,34.411 130.594 C 33.898 134.144,33.528 134.632,31.623 134.268 C 30.243 134.004,27.451 135.177,24.113 137.424 C 21.190 139.391,18.207 141.000,17.483 141.000 C 16.759 141.000,15.987 141.540,15.766 142.201 C 15.501 142.998,15.149 143.050,14.719 142.354 C 14.061 141.290,19.519 135.000,21.100 135.000 C 22.129 135.000,23.510 130.188,23.155 127.839 C 23.017 126.925,23.376 125.886,23.952 125.530 C 24.528 125.173,25.000 124.229,25.000 123.431 C 25.000 122.330,23.856 122.044,20.250 122.246 C 15.888 122.489,15.522 122.707,15.767 124.916 C 15.925 126.348,15.172 128.122,13.904 129.304 L 11.776 131.287 12.476 127.143 C 13.147 123.173,13.068 123.000,10.588 123.000 C 7.593 123.000,7.449 122.254,9.500 117.346 C 11.220 113.229,11.465 108.405,10.000 107.500 C 8.440 106.536,8.826 103.000,10.492 103.000 C 11.312 103.000,12.531 102.123,13.200 101.051 C 14.104 99.603,14.750 99.378,15.709 100.173 C 16.419 100.763,17.000 101.902,17.000 102.706 C 17.000 105.658,19.465 103.235,20.236 99.525 C 20.812 96.755,20.630 95.084,19.577 93.477 C 18.037 91.127,12.902 89.541,11.929 91.115 C 11.612 91.628,10.549 91.159,9.567 90.074 C 7.792 88.113,7.765 88.114,4.885 90.243 C 0.617 93.398,-0.486 98.454,2.036 103.294 C 3.136 105.405,3.715 107.652,3.322 108.288 C 2.619 109.426,2.815 117.126,3.567 117.893 C 3.778 118.108,4.638 117.716,5.476 117.020 C 6.735 115.975,7.000 116.037,7.000 117.378 C 7.000 118.270,6.498 119.000,5.883 119.000 C 5.269 119.000,4.990 119.853,5.263 120.896 C 5.535 121.939,4.473 125.427,2.902 128.646 L 0.045 134.500 0.038 191.500 C 0.034 224.349,0.400 247.916,0.904 247.122 C 1.384 246.364,2.277 246.053,2.888 246.431 C 4.594 247.485,4.214 248.797,2.000 249.500 C 0.131 250.093,0.000 251.013,0.000 263.586 L -0.000 277.038 2.664 276.369 C 4.912 275.805,5.225 275.971,4.664 277.432 C 4.299 278.384,4.000 279.352,4.000 279.582 C 4.000 279.812,3.100 280.000,2.000 280.000 C 0.457 280.000,0.000 280.667,0.000 282.917 C 0.000 284.521,0.563 286.037,1.250 286.286 C 2.250 286.648,2.250 287.162,1.250 288.856 C -0.536 291.881,-0.295 294.767,1.900 296.647 C 3.500 298.017,3.637 298.766,2.764 301.387 C 2.194 303.099,1.338 304.927,0.864 305.450 C -0.192 306.611,-0.304 408.048,0.750 407.882 C 2.790 407.560,4.049 408.111,3.458 409.068 C 3.095 409.656,2.179 409.899,1.422 409.609 C 0.259 409.162,0.041 433.245,0.012 565.969 C -0.020 714.942,0.067 722.880,1.739 723.296 C 4.596 724.007,149.328 724.036,175.747 723.331 C 198.250 722.730,199.832 722.570,197.747 721.100 C 196.511 720.228,195.171 719.622,194.769 719.751 C 193.437 720.181,191.127 715.561,190.645 711.500 C 190.383 709.300,190.078 707.050,189.966 706.500 C 189.399 703.707,190.154 701.000,191.500 701.000 C 192.439 701.000,193.000 700.052,193.000 698.465 C 193.000 696.133,193.180 696.030,195.25.
convert: non-conforming drawing primitive definitionpath' @ error/draw.c/DrawImage/4263.
Svg is attached.
emb_b6cd3e4c68c6c1947875f17b58b6b35f_1.zip
We added conservative bezier coordinate checks to reduce DOS incidents. We applied a fix and will look toward a better method of detecting nefarious SVG image files.
in general this new version is working but we still have some issues related to convert.
convert /var/www/emb_00183fdd48651f1a78346ae88457f1b0.svg /var/www/emb_00183fdd48651f1a78346ae88457f1b0.png
convert: TooManyBezierCoordinates M0 0 H 1399 V 933 H 0 L 0 0 z M0.000 57.500 C 0.000 97.303,0.326 115.000,1.059 115.000 C 1.641 115.000,1.859 115.419,1.543 115.931 C 1.226 116.443,1.473 117.174,2.090 117.556 C 2.888 118.049,2.820 118.526,1.857 119.201 C 0.802 119.941,0.778 120.265,1.750 120.659 C 3.491 121.366,3.316 123.000,1.500 123.000 C 0.173 123.000,-0.000 140.488,-0.000 274.393 C -0.000 411.521,0.149 425.843,1.582 426.393 C 2.452 426.727,4.252 427.000,5.582 427.000 C 6.912 427.000,8.000 427.401,8.000 427.892 C 8.000 428.382,9.214 429.088,10.698 429.460 C 12.710 429.965,13.045 430.354,12.017 430.989 C 11.052 431.586,11.817 432.058,14.569 432.563 C 16.731 432.959,19.400 433.937,20.500 434.734 C 22.447 436.147,22.440 436.167,20.215 435.514 C 16.381 434.388,11.000 434.146,11.000 435.100 C 11.000 435.595,11.643 436.000,12.429 436.000 C 13.214 436.000,14.452 436.562,15.179 437.250 C 16.418 438.422,18.138 438.792,23.857 439.116 C 25.444 439.206,25.798 439.507,24.940 440.037 C 24.240 440.470,22.554 440.401,21.195 439.884 C 19.835 439.367,18.485 439.182,18.195 439.472 C 17.904 439.762,18.304 440.007,19.083 440.015 C 20.254 440.028,20.240 440.213,19.000 441.081 C 17.814 441.911,17.956 442.003,19.676 441.522 C 20.966 441.160,22.187 441.439,22.676 442.206 C 23.129 442.918,24.813 443.500,26.417 443.500 C 28.021 443.500,29.521 444.063,29.750 444.750 C 29.991 445.472,29.322 446.000,28.167 446.000 C 27.067 446.000,26.017 446.417,25.833 446.926 C 25.650 447.435,24.375 448.045,23.000 448.280 C 21.625 448.516,21.062 448.516,21.748 448.281 C 22.705 447.954,22.664 447.521,21.570 446.427 C 19.809 444.666,17.360 444.579,16.593 446.250 C 16.277 446.938,16.270 446.488,16.577 445.250 C 17.132 443.012,15.668 442.111,14.513 443.980 C 14.150 444.566,13.223 444.610,12.204 444.090 C 11.267 443.613,8.700 442.384,6.500 441.361 C 4.300 440.337,1.952 438.825,1.282 438.000 C 0.320 436.816,0.057 445.915,0.032 481.250 C 0.007 516.392,0.268 526.003,1.250 526.015 C 2.246 526.028,2.246 526.192,1.246 526.827 C -0.436 527.895,-0.008 532.940,1.709 532.281 C 2.419 532.009,3.000 532.251,3.000 532.820 C 3.000 533.388,2.212 534.059,1.250 534.311 C 0.287 534.562,1.664 534.820,4.309 534.884 C 7.087 534.951,8.868 535.404,8.527 535.956 C 8.202 536.482,7.274 536.659,6.466 536.348 C 5.657 536.038,3.872 536.066,2.498 536.411 L -0.000 537.038 0.015 565.769 C 0.024 582.189,0.399 593.919,0.890 593.143 C 1.494 592.191,1.955 592.118,2.438 592.900 C 2.817 593.513,2.494 594.257,1.721 594.554 C 0.627 594.973,0.285 597.862,0.180 607.547 C 0.058 618.760,0.217 620.000,1.782 620.000 C 3.347 620.000,9.000 615.636,9.000 614.427 C 9.000 614.157,7.988 613.487,6.750 612.940 C 4.530 611.957,4.529 611.949,6.685 612.361 C 7.887 612.591,9.763 612.154,10.854 611.390 C 11.945 610.626,13.662 610.268,14.669 610.595 C 16.016 611.032,16.147 610.936,15.165 610.233 C 14.122 609.486,14.286 609.158,15.915 608.732 C 18.453 608.069,18.646 606.315,16.250 605.689 C 14.915 605.340,15.026 605.204,16.719 605.116 C 18.257 605.036,18.761 604.540,18.362 603.500 C 18.045 602.675,18.311 602.000,18.952 602.000 C 19.593 602.000,19.860 601.582,19.544 601.072 C 19.229 600.562,19.850 599.865,20.924 599.524 C 21.998 599.183,23.389 597.351,24.016 595.452 C 24.642 593.553,25.645 592.000,26.244 592.000 C 26.843 592.000,27.024 591.691,26.646 591.313 C 25.692 590.359,21.985 590.167,22.563 591.101 C 22.821 591.520,22.575 592.144,22.016 592.490 C 21.457 592.835,21.000 592.615,21.000 592.000 C 21.000 591.385,20.480 591.203,19.845 591.595 C 19.077 592.070,18.965 591.866,19.510 590.985 C 20.104 590.023,19.872 589.835,18.664 590.299 C 17.749 590.650,17.000 590.487,17.000 589.937 C 17.000 589.387,17.675 588.678,18.500 588.362 C 19.325 588.045,20.000 587.384,20.000 586.893 C 20.000 585.671,16.267 585.760,15.500 587.000 C 15.160 587.550,14.121 587.948,13.191 587.884 C 11.666 587.779,11.672 587.723,13.250 587.311 C 15.371 586.756,15.585 585.000,13.531 585.000 C 12.624 585.000,12.287 584.415,12.650 583.471 C 13.152 582.162,13.400 582.145,14.368 583.355 C 15.940 585.318,20.660 585.969,22.670 584.499 C 23.590 583.827,25.055 583.463,25.926 58.
convert: non-conforming drawing primitive definitionpath' @ error/draw.c/RenderMVGContent/4419.
Attached the svg
emb_00183fdd48651f1a78346ae88457f1b0.zip
Can we use a flag or something to bypass the limitations?
Your image, emb_00183fdd48651f1a78346ae88457f1b0 (2).svg, renders for us without complaint. We're using ImageMagick 7.0.9-8. If the problem does persist, and we can reproduce it, we can revisit how many points we include in a bezier curve to reduce the memory demands. We need to include some sanity checks to pass OSS fuzz checks which is why we introduced check to begin with-- to prevent nefarious SVG image files from consuming excess resource on a host.
Hello, indeed that example is working on 7.0.9-8. I m sorry about this. Installed this version and now i have problems with this svg.
convert test.svg test.png
convert: TooManyBezierCoordinates M0 0 H 1399 V 933 H 0 L 0 0 z M0.000 57.500 C 0.000 97.303,0.326 115.000,1.059 115.000 C 1.641 115.000,1.859 115.419,1.543 115.931 C 1.226 116.443,1.473 117.174,2.090 117.556 C 2.888 118.049,2.820 118.526,1.857 119.201 C 0.802 119.941,0.778 120.265,1.750 120.659 C 3.491 121.366,3.316 123.000,1.500 123.000 C 0.173 123.000,-0.000 140.488,-0.000 274.393 C -0.000 411.521,0.149 425.843,1.582 426.393 C 2.452 426.727,4.252 427.000,5.582 427.000 C 6.912 427.000,8.000 427.401,8.000 427.892 C 8.000 428.382,9.214 429.088,10.698 429.460 C 12.710 429.965,13.045 430.354,12.017 430.989 C 11.052 431.586,11.817 432.058,14.569 432.563 C 16.731 432.959,19.400 433.937,20.500 434.734 C 22.447 436.147,22.440 436.167,20.215 435.514 C 16.381 434.388,11.000 434.146,11.000 435.100 C 11.000 435.595,11.643 436.000,12.429 436.000 C 13.214 436.000,14.452 436.562,15.179 437.250 C 16.418 438.422,18.138 438.792,23.857 439.116 C 25.444 439.206,25.798 439.507,24.940 440.037 C 24.240 440.470,22.554 440.401,21.195 439.884 C 19.835 439.367,18.485 439.182,18.195 439.472 C 17.904 439.762,18.304 440.007,19.083 440.015 C 20.254 440.028,20.240 440.213,19.000 441.081 C 17.814 441.911,17.956 442.003,19.676 441.522 C 20.966 441.160,22.187 441.439,22.676 442.206 C 23.129 442.918,24.813 443.500,26.417 443.500 C 28.021 443.500,29.521 444.063,29.750 444.750 C 29.991 445.472,29.322 446.000,28.167 446.000 C 27.067 446.000,26.017 446.417,25.833 446.926 C 25.650 447.435,24.375 448.045,23.000 448.280 C 21.625 448.516,21.062 448.516,21.748 448.281 C 22.705 447.954,22.664 447.521,21.570 446.427 C 19.809 444.666,17.360 444.579,16.593 446.250 C 16.277 446.938,16.270 446.488,16.577 445.250 C 17.132 443.012,15.668 442.111,14.513 443.980 C 14.150 444.566,13.223 444.610,12.204 444.090 C 11.267 443.613,8.700 442.384,6.500 441.361 C 4.300 440.337,1.952 438.825,1.282 438.000 C 0.320 436.816,0.057 445.915,0.032 481.250 C 0.007 516.392,0.268 526.003,1.250 526.015 C 2.246 526.028,2.246 526.192,1.246 526.827 C -0.436 527.895,-0.008 532.940,1.709 532.281 C 2.419 532.009,3.000 532.251,3.000 532.820 C 3.000 533.388,2.212 534.059,1.250 534.311 C 0.287 534.562,1.664 534.820,4.309 534.884 C 7.087 534.951,8.868 535.404,8.527 535.956 C 8.202 536.482,7.274 536.659,6.466 536.348 C 5.657 536.038,3.872 536.066,2.498 536.411 L -0.000 537.038 0.015 565.769 C 0.024 582.189,0.399 593.919,0.890 593.143 C 1.494 592.191,1.955 592.118,2.438 592.900 C 2.817 593.513,2.494 594.257,1.721 594.554 C 0.627 594.973,0.285 597.862,0.180 607.547 C 0.058 618.760,0.217 620.000,1.782 620.000 C 3.347 620.000,9.000 615.636,9.000 614.427 C 9.000 614.157,7.988 613.487,6.750 612.940 C 4.530 611.957,4.529 611.949,6.685 612.361 C 7.887 612.591,9.763 612.154,10.854 611.390 C 11.945 610.626,13.662 610.268,14.669 610.595 C 16.016 611.032,16.147 610.936,15.165 610.233 C 14.122 609.486,14.286 609.158,15.915 608.732 C 18.453 608.069,18.646 606.315,16.250 605.689 C 14.915 605.340,15.026 605.204,16.719 605.116 C 18.257 605.036,18.761 604.540,18.362 603.500 C 18.045 602.675,18.311 602.000,18.952 602.000 C 19.593 602.000,19.860 601.582,19.544 601.072 C 19.229 600.562,19.850 599.865,20.924 599.524 C 21.998 599.183,23.389 597.351,24.016 595.452 C 24.642 593.553,25.645 592.000,26.244 592.000 C 26.843 592.000,27.024 591.691,26.646 591.313 C 25.692 590.359,21.985 590.167,22.563 591.101 C 22.821 591.520,22.575 592.144,22.016 592.490 C 21.457 592.835,21.000 592.615,21.000 592.000 C 21.000 591.385,20.480 591.203,19.845 591.595 C 19.077 592.070,18.965 591.866,19.510 590.985 C 20.104 590.023,19.872 589.835,18.664 590.299 C 17.749 590.650,17.000 590.487,17.000 589.937 C 17.000 589.387,17.675 588.678,18.500 588.362 C 19.325 588.045,20.000 587.384,20.000 586.893 C 20.000 585.671,16.267 585.760,15.500 587.000 C 15.160 587.550,14.121 587.948,13.191 587.884 C 11.666 587.779,11.672 587.723,13.250 587.311 C 15.371 586.756,15.585 585.000,13.531 585.000 C 12.624 585.000,12.287 584.415,12.650 583.471 C 13.152 582.162,13.400 582.145,14.368 583.355 C 15.940 585.318,20.660 585.969,22.670 584.499 C 23.590 583.827,25.055 583.463,25.926 58.
convert: non-conforming drawing primitive definitionpath' @ error/draw.c/RenderMVGContent/4419.
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Hello, unfortunatelly i still get an error
convert /var/www/test.svg /var/www/test.png
convert: memory allocation failed ' @ error/draw.c/CheckPrimitiveExtent/2285.
convert: non-conforming drawing primitive definitionpath' @ error/draw.c/RenderMVGContent/4416.
for the same file uploaded in previous comment.
Thanks for checking. version was 7.0.9-10
The test.svg file works for us without complaint. It does require a fair amount of memory. Edit draw.c and change BezierQuantum from 200 to 64. Does that help?
Most helpful comment
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.