Re: How to join two images with 'GD::Image'
- From: Martien verbruggen <mgjv@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Jun 2007 21:07:10 +1000
On Mon, 25 Jun 2007 10:32:09 -0000,
Francesco Moi <francescomoi@xxxxxxx> wrote:
Which efforts did you make to find out before asking here?
I've been browsing
http://search.cpan.org/dist/GD/GD.pm
I didn't find out anything about "joining two images".
You seem to be making the assumption that "joining two images" is
somehow standard graphics terminology. It isn't as far as I know. I am
assuming that to "join" two images, to you, means displaying them side
by side?
The above link has the complete documentation for GD::Image. What you're
looking for, if the above assumption is right, is the copy() method.
Create a new image, large enough to hold the 'joined' result. Use the
copy() method to put the old images in the appropriate place. Maybe you
need copyMerge if you want them to overlap.
For more complex combination methods between images, you might want to
look at Image::Magick or maybe Imager.
Martien
--
|
Martien Verbruggen | The problem with sharks is that they are too
| large to get to the shallow end of the gene
| pool. -- Scott R. Godin
.
- References:
- How to join two images with 'GD::Image'
- From: Francesco Moi
- Re: How to join two images with 'GD::Image'
- From: Gunnar Hjalmarsson
- Re: How to join two images with 'GD::Image'
- From: Francesco Moi
- How to join two images with 'GD::Image'
- Prev by Date: fedora core 5 + install net::ssh::perl = hangs
- Next by Date: Re: How to join two images with 'GD::Image'
- Previous by thread: Re: How to join two images with 'GD::Image'
- Next by thread: Re: How to join two images with 'GD::Image'
- Index(es):
Relevant Pages
|