I want to fixed red eyes of image with different color.

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
snowbydave1

I want to fixed red eyes of image with different color.

Post by snowbydave1 »

Dear Friend,


Is there is any way to handle red eyes of image. May be you have seen this from ACDsee Pro 8 version.

I have many images in which eyes are in red color. So I have to provide color of eyes to brown, blue, black. So please if any of you know about this then inform me. Or tell me how to handle this with MagickWand.

Version : PHP 5.2
OS : Linux on live server. WinXP on localhost.

Thanking you,


Snowby Dave
nunz

Re: I want to fixed red eyes of image with different color.

Post by nunz »

You need to replace the Red Channel from the iris with data from the Green or Blue channel.

How to do this? Good question-- but that's how it works!
snowbydave1

Re: I want to fixed red eyes of image with different color.

Post by snowbydave1 »

Dear Nunz,

Kindly thanks for your prompt response.

Yes you are right I don't know how to do that. Will you please suggest any function. I am using MagickWand object. Please guide me. Suppose if you don't have any source code, then give me function and how to operate it. I will try to implement it.

Once again kindly thanks for your response.


Thanking you,


Snowby Dave
Post Reply