PHP Developers Network
http://forums.devnetwork.net/

How to merge two picture smoothly with PHP
http://forums.devnetwork.net/viewtopic.php?f=32&t=79734
Page 1 of 1

Author:  tunisiano32 [ Thu Mar 06, 2008 1:15 pm ]
Post subject:  How to merge two picture smoothly with PHP

Hello everybody,
I'm working on a project that require that i take two pictures and merge them smoothly using PHP
I can't use photoshop because the two picture will be extracted from an xml file depend on the key word
I was searching for two day all i can get is to merge two picture without that any picture fade in the other
I appreciate you help folks !

Author:  John Cartwright [ Thu Mar 06, 2008 2:11 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

You want to merge a picture on top another? Or you want to extend an image?

Author:  tunisiano32 [ Thu Mar 06, 2008 2:25 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

merge it on the top, with a fade in effect

Author:  Christopher [ Thu Mar 06, 2008 2:36 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

So you want to cross-fade in the browser using Javascript or Flash? Or merge the two images using a graphics library like GD or ImageMagick?

Author:  tunisiano32 [ Thu Mar 06, 2008 2:45 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

I will try ImageMagick because i didn't try it
i was trying with GD and GD2+ without resulat

Author:  onion2k [ Mon Mar 10, 2008 12:33 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

Can you post an example (one made in Photoshop)? We'll need to see the 2 starting images and the result you want.

Author:  Greenconure [ Thu Jun 19, 2008 2:03 pm ]
Post subject:  Re: How to merge two picture smoothly with PHP

Just to understand this, you want to:

- Have two images with alpha and "layer" them on top of each other. eg: making a "pixelized dress-up doll"

or

- Have two images, make them both transparent (50%) and overlay them on top of each other.

or

- Have two images and transition from one to another. I don't know if this is capable using GD by making an animated .gif but I think using javascript would be easier and faster.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/