Single line rectangles not working
Posted: 2019-05-18T06:21:33-07:00
It appears that single line rectangles do not work any more. Is this intentional? What I mean by single line is that it has a single pixel width - the x coordinate is the same for the start and end.
For example, in version 6.9.6-2 Q16 this command used to generate a single 1 pixel wide line, 8 pixels long :
In version 6.9.10-6 Q16, that same command generates an all white image with no lines.
If I change the endpoint for a single pixel wider, it generates a line that is 2 pixels wide and 8 pixels long, as expected:
It appears that you can no longer generate a 1 pixel wide line using the rectangle command.
Can you confirm if this is intentional or a bug?
For example, in version 6.9.6-2 Q16 this command used to generate a single 1 pixel wide line, 8 pixels long :
Code: Select all
convert -size 10x10 canvas:white -stroke black -strokewidth 1 -fill blue -draw "rectangle 1,1 1,8" oneline.bmp
If I change the endpoint for a single pixel wider, it generates a line that is 2 pixels wide and 8 pixels long, as expected:
Code: Select all
convert -size 10x10 canvas:white -stroke black -strokewidth 1 -fill blue -draw "rectangle 1,1 2,8" oneline.bmp
Can you confirm if this is intentional or a bug?