Using ImageMagick-6.9.9.38-1.fc28.x86_64 on a linux (Fedora Core 28) platform.
Until recently the following:
Code: Select all
convert -size "$SZ" xc:"$BG" -font "$FN" -pointsize $PZ -fill "$FG" -annotate +"$BL"+"$BL" "@$infile" -trim -bordercolor "$BC" -border "$BL" +repage "$outfile"
Code: Select all
convert -size 2000x6000 xc:black -font Courier-Bold -pointsize 64 -fill white -annotate +90+90 @/tmp/lies.txt -trim -bordercolor '#000' -border 90 +repage /tmp/lies.png
Would convert the text file $infile to the image $outfile preserving formatting, etc.
It appears that one of the recent updates (I have no way of knowing which) broke the newline recogbnition - all the lines in the file are now drawn on on top of the other (I tried it also with a <CR><NL> terminated file, no change). Replacing -annotate with -draw (and changing the file accordingly) yields the same result.
Anybody else seeing something similar, or know if this is distro/platform dependent ?