GD Libarary Question

This is a discussion on GD Libarary Question within the PHP Language forums, part of the PHP Programming Forums category; I've looked up several documents online to try and figure this out. So far I've seen that with ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-08-2006
Smiley
 
Posts: n/a
Default GD Libarary Question

I've looked up several documents online to try and figure this out. So far
I've seen that with the GD library I can use a background image and modify
it by adding text and shapes.

What I would like to do though is create an image from a background image
then bring in other smaller images and place them overtop in different
locations. In essence I want to create an image from 2 or more already
created images.

Is that possible?


Reply With Quote
  #2 (permalink)  
Old 09-12-2006
Adam
 
Posts: n/a
Default Re: GD Libarary Question

On Fri, 8 Sep 2006 17:32:09 -0400, Smiley wrote:

>I've looked up several documents online to try and figure this out. So far
>I've seen that with the GD library I can use a background image and modify
>it by adding text and shapes.
>
>What I would like to do though is create an image from a background image
>then bring in other smaller images and place them overtop in different
>locations. In essence I want to create an image from 2 or more already
>created images.
>
>Is that possible?


Do you need to create a composite image? Can't you do it with just CSS
positioning? If you need *transparency* then you may need to use .png
format.

Adam.
Reply With Quote
  #3 (permalink)  
Old 09-12-2006
punkstar
 
Posts: n/a
Default Re: GD Libarary Question

You should look at the imagecopy() function. From what you said, you
should be able to use that. I used it before for a client that wanted
to make one of them smiley face gens.

- Nick

Adam wrote:
> On Fri, 8 Sep 2006 17:32:09 -0400, Smiley wrote:
>
> >I've looked up several documents online to try and figure this out. So far
> >I've seen that with the GD library I can use a background image and modify
> >it by adding text and shapes.
> >
> >What I would like to do though is create an image from a background image
> >then bring in other smaller images and place them overtop in different
> >locations. In essence I want to create an image from 2 or more already
> >created images.
> >
> >Is that possible?

>
> Do you need to create a composite image? Can't you do it with just CSS
> positioning? If you need *transparency* then you may need to use .png
> format.
>
> Adam.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0