Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting timer in Doc but used in a View Pin
Merle Pittman20-Mar-02 7:47
Merle Pittman20-Mar-02 7:47 
GeneralRe: Setting timer in Doc but used in a View Pin
Andres Manggini20-Mar-02 8:24
Andres Manggini20-Mar-02 8:24 
GeneralRe: Setting timer in Doc but used in a View Pin
Shog920-Mar-02 8:02
sitebuilderShog920-Mar-02 8:02 
GeneralC2676 Pin
20-Mar-02 6:51
suss20-Mar-02 6:51 
GeneralRe: C2676 Pin
Rickard Andersson2020-Mar-02 7:02
Rickard Andersson2020-Mar-02 7:02 
GeneralRe: C2676 Pin
Bill Wilson20-Mar-02 7:05
Bill Wilson20-Mar-02 7:05 
GeneralCOM Port Active X Pin
dlhson20-Mar-02 6:31
dlhson20-Mar-02 6:31 
QuestionChange image saturation...? Pin
Chris Losinger20-Mar-02 6:23
professionalChris Losinger20-Mar-02 6:23 
I'm trying to find a good way to change the saturation of an image.

I've tried the HSL/T/V colorspace tricks, but they don't really work very well; because of the way things work out when going back to RGB space, increasing S tends to make images more red. Unfortunately, most image procesing packages seem to use some variation on the HS* trick, because they all show this tendency towards red at high saturation levels (and those that you can get the source to, like The GIMP and ImageMagick definitely use HSL).

Of course, Photoshop does an excellent job of preserving hue while increasing intensity/saturation - it has none of that red effect and is able to saturate colors to much higher levels than anything else i've seen. So, there's definitely a way to do it - but how?

Anyone have any other ideas? i've searched google for days and can't find anything but "RGB -> HSL -> RGB".

-c



Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse

AnswerRe: Change image saturation...? Pin
Christian Graus20-Mar-02 9:53
protectorChristian Graus20-Mar-02 9:53 
AnswerRe: Change image saturation...? Pin
Joaquín M López Muñoz20-Mar-02 10:50
Joaquín M López Muñoz20-Mar-02 10:50 
GeneralRe: Change image saturation...? Pin
Chris Losinger20-Mar-02 15:08
professionalChris Losinger20-Mar-02 15:08 
Generalcan't create modeless dialog Pin
Hans Ruck20-Mar-02 6:17
Hans Ruck20-Mar-02 6:17 
GeneralRe: can't create modeless dialog Pin
Joaquín M López Muñoz20-Mar-02 9:26
Joaquín M López Muñoz20-Mar-02 9:26 
Generalquick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 5:59
suss20-Mar-02 5:59 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 6:15
suss20-Mar-02 6:15 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
Bill Wilson20-Mar-02 6:56
Bill Wilson20-Mar-02 6:56 
Questionmodem connection RAS or TAPI or ??? Pin
20-Mar-02 5:57
suss20-Mar-02 5:57 
AnswerI'm too Pin
dlhson20-Mar-02 6:07
dlhson20-Mar-02 6:07 
Questionhow to get a process name attached to a given udp port ? Pin
20-Mar-02 5:45
suss20-Mar-02 5:45 
Generala strange debug error Pin
Gérald Mercet20-Mar-02 5:04
Gérald Mercet20-Mar-02 5:04 
GeneralRe: a strange debug error Pin
Joaquín M López Muñoz20-Mar-02 7:34
Joaquín M López Muñoz20-Mar-02 7:34 
GeneralRe: a strange debug error Pin
Gérald Mercet21-Mar-02 3:06
Gérald Mercet21-Mar-02 3:06 
GeneralNeed HELP - Linking DLL with TEMPLATE Pin
20-Mar-02 5:04
suss20-Mar-02 5:04 
GeneralRe: Need HELP - Linking DLL with TEMPLATE Pin
Joaquín M López Muñoz20-Mar-02 7:30
Joaquín M López Muñoz20-Mar-02 7:30 
GeneralRe: Need HELP - Linking DLL with TEMPLATE Pin
20-Mar-02 10:11
suss20-Mar-02 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.