Hello, I'm trying to find a way to darken an image that can later have certain spots undarkened.

I have tried by simply drawing a semi-translucent rectangle over the image, but I cannot figure out how to relighten a selected spot. Any help on this would be great.

Hello, I'm trying to find a way to darken an image that can later have certain spots undarkened.

I have tried by simply drawing a semi-translucent rectangle over the image, but I cannot figure out how to relighten a selected spot. Any help on this would be great.

Refer this link

http://www.dreamincode.net/code/snippet2063.htm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.