Thread: Is this application possible with C++? (decreasing screen saturation)

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    2

    Is this application possible with C++? (decreasing screen saturation)

    Hello,
    I'm looking for a way to decrease saturation on the internet. I currently use a high contrast option (Windows 7), which turns font colours and backgrounds to grey. However, this interferes with web design.
    The only options on the graphics control panel are gamma, brightness and contrast. I have already tried colour calibration, and while I was able to make the display less blue, I could not desaturate it.

    Without the high contrast, the colours on the internet look too bright. For some reason, applications like MyPaint and the GIMP are fine.
    Is there any way to code an application that can set the saturation of the monitor lower? Either just for Firefox or for everything. Maybe some sort of overlay, or an add-on for Firefox?

    All I know are PHP, Javascript, HTML and CSS, none of which are helpful in this regard. Would C or C++ be able to create this 'application'?
    I don't mind learning it if it would make web designing easier and the screen less bright (in terms of colour, not lightness).

    Is there a specific library for graphics, and would the application to decrease saturation be its own application, or would it alter another application? Is there a way to edit Intel's graphic card settings directly?

    I use a laptop with Windows 7 and the Mobile Intel(R) 4 Series Chipset Family graphics card. I'm not interested in replacing the graphics card or changing to Linux, sorry. I tried Flux, but that was too bright.

    The brightness problem is only on the internet. I don't know why. Everything else is fine. Thank you for reading.
    Last edited by Someone2; 02-12-2012 at 01:12 PM.

  2. #2
    ...and never returned. StainedBlue's Avatar
    Join Date
    Aug 2009
    Posts
    168
    The brightness problem is only on the internet. I don't know why. Everything else is fine.
    That can't be right. While I do encourage you to learn a new programming language, I do not encourage you to try to solve this "problem" by writing a program to "desaturate the internet". I too am a web developer, and I can assure you, the internet is only over-saturated on your machine.
    goto( comeFrom() );

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by StainedBlue View Post
    the internet is only over-saturated on your machine.
    which is exactly why (s)he wants to write this program.

    a firefox plugin might be the route to take, as you could potentially intercept hex color codes in the HTML/CSS, convert them to HSV values, lower the saturation, then convert back to RGB, and pass them to the next stage in the pipe. it looks like this page says you can do it all in XML and javascript.

    hope this helps.

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Every piece of knowledge and experience in my body tells me that what you're describing is nonsensical. Can you take a screenshot showing these "oversaturated" colors which magically affect only web browsers?

    My first guess would be the problem is not computer related.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  5. #5
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by brewbuck View Post
    Every piece of knowledge and experience in my body tells me that what you're describing is nonsensical. Can you take a screenshot showing these "oversaturated" colors which magically affect only web browsers?

    My first guess would be the problem is not computer related.
    I think he wants everything except the web pages to look saturated.

  6. #6
    Registered User
    Join Date
    Feb 2012
    Posts
    2
    Thanks for the help, but when I changed my settings back to normal (before I had chosen high contrast), the internet was alright. I think it was something to do with the lowered contrast, but while designing outside of the internet, I can change it back to normal. There are other reasons that I'd like to learn C++ (a timer application, a mind-map/timeline application and a point-and-click game all spring to mind), so I might take a closer look at C++.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    In case you want to learn C++, I first recommend you get Accelerated C++ to get you started.
    Good luck with that. It's a beast of language to learn (but also very, very powerful).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ternary Operator and Saturation Arithmetic
    By enkwiringmindz in forum C Programming
    Replies: 9
    Last Post: 04-17-2010, 04:53 PM
  2. Using keybd_event for a Full Screen Application?
    By n759c in forum Windows Programming
    Replies: 0
    Last Post: 03-07-2006, 10:04 PM
  3. decreasing variable
    By threahdead in forum C Programming
    Replies: 5
    Last Post: 01-07-2003, 12:38 PM
  4. splitting the screen in a Win32 console application
    By watcher_b in forum C Programming
    Replies: 1
    Last Post: 10-19-2002, 05:22 PM
  5. Win32 Console Application...Full Screen?
    By MrWizard in forum C++ Programming
    Replies: 4
    Last Post: 04-01-2002, 02:56 PM

Tags for this Thread