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 !
How to merge two picture smoothly with PHP
Moderator: General Moderators
-
- Forum Newbie
- Posts: 3
- Joined: Thu Mar 06, 2008 12:10 pm
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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?
-
- Forum Newbie
- Posts: 3
- Joined: Thu Mar 06, 2008 12:10 pm
Re: How to merge two picture smoothly with PHP
merge it on the top, with a fade in effect
- Christopher
- Site Administrator
- Posts: 13592
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
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?
(#10850)
-
- Forum Newbie
- Posts: 3
- Joined: Thu Mar 06, 2008 12:10 pm
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
i was trying with GD and GD2+ without resulat
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.
- Greenconure
- Forum Commoner
- Posts: 30
- Joined: Mon Jun 16, 2008 8:19 am
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.
- 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.