empty image

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
maxbusko

empty image

Post by maxbusko »

ImageMagick-6.5.9-0-Q16-windows-dll
php version 5.2.4

Code: Select all

convert –size 80x100 xc:white –draw 'line 10,10 70,90' line.bmp
return empty png image 1x1px

what could be the problem?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: empty image

Post by fmw42 »

you have to tell it the fill color for the line

convert -size 80x100 xc:white -fill black -draw "line 10,10 70,90" line.bmp


you also were not using proper hyphens, possible long or short hyphens rather than normal hyphens (at least that is what I found when I cut and pasted your command)
Post Reply