Forum Moderators: coopster

Message Too Old, No Replies

What is best way to insert an image in an image, scaled?

GD Image Copy, Paste:Scaled

         

HeadBut

3:15 pm on Oct 29, 2005 (gmt 0)

10+ Year Member



I'm currently doing this:
imagesetbrush($im, $SquareLR2);
with this:
imageline($im, $FromLeft, $FromTop, $FromLeft, $FromTop, IMG_COLOR_STYLEDBRUSHED);

But I would like to scale the image that is getting 'pasted' in my canvas. I'm hoping there is a better way than this brush/ draw line method.

Thanks
Matt

coopster

9:18 pm on Nov 6, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



By the looks of it, this must be your best option so far, HeadBut ;-)