Jump to content

To make Slanted/Squeezed letters..


chanchelkumar

Recommended Posts

Hi all,

 

I am trying to make letters in images using php ... and i got it with imagettftext

And i try to make that letters in slanted and squeezed style..

Totally failed on it..

I tried the angle for it .. but it's slanted (italic) not working...

 

Please help me!!!

Thanks in advance!!!

 

 

Link to comment
https://forums.phpfreaks.com/topic/150856-to-make-slantedsqueezed-letters/
Share on other sites

$x = 15; 
$y = $fontsize+9;

$bg=imagecolorat($image,$x,$y);
imagecolorset($image,$bg,0,0,255);

$angle=0;
$width=3;
//imagettftextoutline (& $image ,$fontsize ,$angle ,$x ,$y ,& $fontcolor ,& $fontcolor1 ,$font1 ,$quote ,$width );
imagettftext ($image ,$fontsize ,$angle ,$x ,$y ,$fontcolor ,$font1 ,$quote );

 

That $angle  i changed it... but it's not like that...  :(

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.