Code: Select all
#!/bin/bash
OUTPUT=`mycommand`
convert -size 100x65 xc:lightblue -font Courier -pointsize 8 \
-annotate +0+8 "$OUTPUT" -depth 1 -
Code: Select all
convert: no encode delegate for this image format `-'.
I also need access to the pixels and would prefer something raw. The device that should get the output needs a special treatment:
ABCD -- where each letter stands for one pixel with 2 bits color depth
DCBA -- is what the devices likes to see :-/
Is Imagemagick able to provide should a fancy format ? If not - how close can I get to it ?