ImageMagick v6 Examples --
Testing for Minor Bugs

Index
ImageMagick Examples Preface and Index
Known and Fixed Bugs Index
These examples are quick tests, with little or no explanation, to check on whether a specific known, but simple, bug has been fixed or not in the last version of IM. As such whenever a new release of IM is downloaded, this page is automatically re-generated to test the current status of the bug in question.


No short-term bug testing at this time

Long Term Minor Bugs and Problems

These are known bugs, that will probably take some time to figure out and fix.


Semi-transparent, round end caps

Semi-transparent strokes with end caps produce a extra overlay when it shouldn't.

    convert -size 100x60 xc:skyblue \
            -fill white -stroke '#0004' -strokewidth 16 \
            -draw "stroke-linecap round       path 'M 60,30 L -10,30'" \
            draw_endcap.gif
[IM Output]

The line in the middle is the white fill for this single line.

I could not find any other problems for other end caps, or for round linejoins.


round end caps with stroke greater than 2

With a stroke of 2 this is fine.

  convert -size 80x60 xc:white -fill white \
          -draw "stroke black stroke-width 2 stroke-linejoin round \
                 polyline 14,53 30,5 71,14 51,41" draw_line2.png
[IM Output]

But with a stroke of 3 it goes wrong.

  convert -size 80x60 xc:white -fill white \
          -draw "stroke black stroke-width 3 stroke-linejoin round \
                 polyline 14,53 30,5 71,14 51,41" draw_line3.png
[IM Output]


MVG: diagonal lines are too thick!

A slanted diagonal line appears to be a reasonable thickness

    convert -size 100x60 xc:skyblue -fill white -stroke black \
            -draw "path 'M 10,10 L 90,10 L 90,50 Z'" \
            draw_path_line_closed.gif
[IM Output]

But the line appears to be much thicker when drawn as a dashed line.

    convert -size 100x60 xc:skyblue -fill white -stroke black \
            -draw "stroke-dasharray 3 3 33 3 3 3 \
                   path 'M 10,10 L 90,10 L 90,50 Z'" \
            draw_path_dash_closed.gif
[IM Output]


Created: 18 August 2005
Updated: 15 July 2009
Author: Anthony Thyssen, <A.Thyssen@griffith.edu.au>
Examples Generated with: [version image]
URL: http://www.imagemagick.org/Usage/bugs/testing/