Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Change brightness/contrast of images

Closed Thread
 
Thread Tools Display Modes
Old 09-20-2006   #1 (permalink)
=?Utf-8?B?UmFnaGF2ZW5kcmE=?=
Guest


 

Change brightness/contrast of images

Hi,
Are there APIs available for changing brightness/contrast and other such
properties of images ?
Or, do I have to manually deal with the pixels that make up the image ?

I know there's an opacity property for the Image object. But, I specifically
wanted brightness and contrast.

Raghavendra.
Old 09-25-2006   #2 (permalink)
=?Utf-8?B?VGhlUkhvZ3Vl?=
Guest


 

RE: Change brightness/contrast of images

I don't know of managed properties, but you could use a bitmap effect - here
is a link to the custom RGBFilter:

http://windowssdk.msdn.microsoft.com.../ms771475.aspx

Note: BitmapEffects for WPF V1 are in software mode, and some unmanaged
programming is needed, but it's not to bad if you work off the sample.


"Raghavendra" wrote:

> Hi,
> Are there APIs available for changing brightness/contrast and other such
> properties of images ?
> Or, do I have to manually deal with the pixels that make up the image ?
>
> I know there's an opacity property for the Image object. But, I specifically
> wanted brightness and contrast.
>
> Raghavendra.

Old 09-25-2006   #3 (permalink)
TheRHogue
Guest


 

RE: Change brightness/contrast of images

I don't know of managed properties, but you could use a bitmap effect - here
is a link to the custom RGBFilter:

http://windowssdk.msdn.microsoft.com.../ms771475.aspx

Note: BitmapEffects for WPF V1 are in software mode, and some unmanaged
programming is needed, but it's not to bad if you work off the sample.


"Raghavendra" wrote:

> Hi,
> Are there APIs available for changing brightness/contrast and other such
> properties of images ?
> Or, do I have to manually deal with the pixels that make up the image ?
>
> I know there's an opacity property for the Image object. But, I specifically
> wanted brightness and contrast.
>
> Raghavendra.

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where's the brightness/contrast on Microsoft's Lifecam VX-6000? mjs Live Messenger 2 03-09-2008 07:11 PM
Window's Media Brightness and Contrast Control Bill Vista music pictures video 0 01-23-2008 01:21 AM
Change brightness/contrast of images Raghavendra Avalon 0 09-20-2006 01:06 AM
Gamma/Contrast/Brightness Controls Sean Smith Vista installation & setup 0 06-09-2006 05:09 AM
Gamma/Contrast/Brightness Controls Sean Smith Vista installation & setup 0 06-09-2006 05:08 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50