Re: Image
| From: | Erik Stainsby | Date: | Tue, 25 Jul 2000 05:42:20 +0000 |
| Subject: | Re: Image | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7989@lists.php.net to get a copy of this message | ||
From the manual:
int imagecopyresized(int dst_im, int src_im, int dstX, int dstY, int
srcX, int srcY, int dstW, int dstH, int srcW, int srcH);
ImageCopyResized copies a rectangular portion of one image to another
image. dst_im is the destination image, src_im is the source image
identifier. If the source and destination coordinates and width and
heights differ, appropriate stretching or shrinking of the image
fragment will be performed. The coordinates refer to the upper left
corner. This function can be used to copy regions within the same image
(if dst_im is the same as src_im) but if the regions overlap the results
will be unpredictable.
--
Durrani, you really should read through the manual just for itself,
to find out what is in it. Then when you get an idea something
will come to mind about where the information is.
Good luck,
Erik
Durrani wrote:
>
> Hi PHP's
>
> How to place a small image on a bigger one in PHP. Instead of placing arc's
> and text, I want to put a smaller image on a bigger one.
>
> Thanx for your help
> Durrani
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net