I want to create an image containing "word" as an image which is centrally assigned . I used the following command :
echo "word" | convert -font Helvetica -pointsize 32 label:@- cmd.png
but the resulting image I got does not centrally align the image and also I want to have my image automatically cropped with respect to word . I am not able to find any flag which can do so .