How do I create a text image with a transparent value for the text with image magick

Posted by kareed on Stack Overflow See other posts from Stack Overflow or by kareed
Published on 2010-05-17T05:21:58Z Indexed on 2010/05/17 5:30 UTC
Read the original article Hit count: 168

Filed under:

I am using the following command to create an image of text with a shadow. What I would like to do is to create the text with a transparent opacity.

system('convert -background transparent ' .
      '-fill rgb(127, 127, 127) ' .
      '-pointsize 30 ' .
      'label:"This is a test" ' .
      '-background transparent -flatten -trim +repage ' .
      $fileName);

how would I go about modifying this to accomplish getting transparent text?

© Stack Overflow or respective owner

Related posts about imagemagick