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.



Softlight is better, but not right

The softlight 'dark' is doing EXACTLY the same as for 'light' colors.
For example....

  convert -size 46x70 gradient: -rotate 90 \
          -ordered-dither threshold,3   grayscale_3.gif
  composite grayscale_3.gif  rose: -compose softlight  compose_softlight_2.gif
[IM Output]
[IM Output]

This does not correlate with the results I see from the SVG Alpha Composition Documentation, which shows definate darkening for a dark color overlay.


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.


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 draw 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: 14 June 2007
Author: Anthony Thyssen, <A.Thyssen@griffith.edu.au>
Examples Generated with: [version image]
URL: http://www.imagemagick.org/Usage/bugs/testing/