Trying to composite two images:
$res->Composite(
image=>$img,
x=>$x
y=>$y
);
All works ok, but images has different brightness/contrast or color levels are different, so picture looks not very good.
How can I get levels/color/etc of both images and set them the same so pictures will be like "one"?
Sorry for my bad Egnlish.
Thanks for help!
Need a Composite help
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: Need a Composite help
Which compose setting are you using? If it's multiply, or something similar, it will change the brightness/contrast/colours quite a bit.
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
Re: Need a Composite help
Exact code I'm using is:
$res->Composite(
image=>$img,
x=>$x
y=>$y
);
The problem is multiply and so on will change the source image in places where it is concatenate with destination.
Images I have is like background + transparent hole, and another one is placed under that transaprent hole so it looks like the one image at all. but the problem is that image in that hole has different looking (colors or contrast)
$res->Composite(
image=>$img,
x=>$x
y=>$y
);
The problem is multiply and so on will change the source image in places where it is concatenate with destination.
Images I have is like background + transparent hole, and another one is placed under that transaprent hole so it looks like the one image at all. but the problem is that image in that hole has different looking (colors or contrast)