convert "-append" color problem
Posted: 2013-09-03T05:42:28-07:00
Hello,
I'm having problems when "converting" two png files with the append command.
My command is:
/usr/bin/convert /tmp/BGINFO4X/k/bgheader.png /tmp/BGINFO4X/k/bgalarm.png -background none -append "/tmp/BGINFO4X/k/bginfo4x.png"
My bgalarm.png has always red text (-fill red).
The command used to generate the png file is:
/bin/cat "/tmp/BGINFO4X/k/bgalarm.out" | "/usr/bin/convert" -pointsize 10 -font Verdana-Italic -background none -density 120 -fill red label:@- "/tmp/BGINFO4X/k/bgalarm.png"
If bgheader.png has a colored text (-fill blue),
The generated resulting bginfo4x.png is ok.
The command used to generate the png file is:
/bin/cat "CUSTOM/CLIENT/LINUX/HEADER.CONF" | "/usr/bin/convert" -pointsize 20 -font Verdana-Italic -background none -density 120 -fill blue label:@- "/tmp/BGINFO4X/k/bgheader.png"
BUT if bgheader.png has a black text(-fill black),
The resulting bginfo4x.png is not ok: the red text from the bgalarm.png is "overwritted" to gray.
The command used to generate the png file is:
/bin/cat "CUSTOM/CLIENT/LINUX/HEADER.CONF" | "/usr/bin/convert" -pointsize 20 -font Verdana-Italic -background none -density 120 -fill black label:@- "/tmp/BGINFO4X/k/bgheader.png"
Can you help me? Thanks a lot.
I'm having problems when "converting" two png files with the append command.
My command is:
/usr/bin/convert /tmp/BGINFO4X/k/bgheader.png /tmp/BGINFO4X/k/bgalarm.png -background none -append "/tmp/BGINFO4X/k/bginfo4x.png"
My bgalarm.png has always red text (-fill red).
The command used to generate the png file is:
/bin/cat "/tmp/BGINFO4X/k/bgalarm.out" | "/usr/bin/convert" -pointsize 10 -font Verdana-Italic -background none -density 120 -fill red label:@- "/tmp/BGINFO4X/k/bgalarm.png"
If bgheader.png has a colored text (-fill blue),
The generated resulting bginfo4x.png is ok.
The command used to generate the png file is:
/bin/cat "CUSTOM/CLIENT/LINUX/HEADER.CONF" | "/usr/bin/convert" -pointsize 20 -font Verdana-Italic -background none -density 120 -fill blue label:@- "/tmp/BGINFO4X/k/bgheader.png"
BUT if bgheader.png has a black text(-fill black),
The resulting bginfo4x.png is not ok: the red text from the bgalarm.png is "overwritted" to gray.
The command used to generate the png file is:
/bin/cat "CUSTOM/CLIENT/LINUX/HEADER.CONF" | "/usr/bin/convert" -pointsize 20 -font Verdana-Italic -background none -density 120 -fill black label:@- "/tmp/BGINFO4X/k/bgheader.png"
Can you help me? Thanks a lot.