text from label then distort perspective

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
immortal26

text from label then distort perspective

Post by immortal26 »

I have some code that creates text using label.

Code: Select all

$final = $path."convert -size ".$maxwidth."x".$maxheight."   -background black -kerning 20 -font ".$font." -gravity center -fill white label:'".$text."'  final.png";
Then I am using a distort perspective on the top left, bottom left, top right, bottom right points of the created image above.

Problem is that it only seems to distort the white text instead of the entire image itself. So it leaves me with a black box with the specified width and height at 0,0 with no distortion ... so it's like the white text get's distorted outside of the black...

Any ideas on how I can pursue this?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: text from label then distort perspective

Post by fmw42 »

what is the full sequence of command to both create the text and then do the perspective?
Post Reply