Re: php4.x and merging graphics
| From: | Kyle Jerviss | Date: | Fri, 15 Dec 2000 15:40:58 +0000 |
| Subject: | Re: php4.x and merging graphics | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30517@lists.php.net to get a copy of this message | ||
take a look at http://www.jerviss.org/carwars/overlay.phps
if you want to know what it looks like when you're done, look at:
http://www.jerviss.org/carwars/overlay.png
or
http://www.jerviss.org/carwars/overlay.jpg
and NOT overlay.php, that box is only a P-100, and mogrify would just
crush it if more than about two of you tried to look at once.
scottrus@ipass.net wrote:
>
> All -
>
> I have two existing jpeg graphics that I want to combine on the fly with php4's image
> functions then
> display the resulting image to the user.
>
> Something like this is what I'm thinking:
>
> 1) Read in graphic1.jpg
> 2) Read in graphic2.jpg
> 3) Position graphic2.jpg on graphic1.jpg which creates $graphic3 ?
> 4) Output $grapic3 to the browser
>
> It's step 3 that has got me stumped. I was browsing through the image functions and
> don't see any
> obvious way to do this. (I see a copy function, but not a paste function)
>
> Any help would be great.
>
> --
> Scott
>
> --
> 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