Yeah, that's exactly what's happening, sswift. You put it into words nicely... I'm stumped as to how to fix it as well.
It makes me wonder why this behavior isn't seen in photoshop when you adjust the Hue of an image. It seems like there must be a bound on how high the additive values of a pixel can be based on its initial luminosity. So if you were evaluating the color of just a single pixel at a time you could prevent it from becoming too bright based on that initial measurement.
Here, we don't have the ability to do that because we're modifying the entire image all the time. I wonder if it's not possible to fix it without doing read / write pixels on the whole image.
if you have any other ideas, please let me know. I'm really motivated to get this working, but feel pretty much stumped right now.
thanks again for your help!
roland
It makes me wonder why this behavior isn't seen in photoshop when you adjust the Hue of an image. It seems like there must be a bound on how high the additive values of a pixel can be based on its initial luminosity. So if you were evaluating the color of just a single pixel at a time you could prevent it from becoming too bright based on that initial measurement.
Here, we don't have the ability to do that because we're modifying the entire image all the time. I wonder if it's not possible to fix it without doing read / write pixels on the whole image.
if you have any other ideas, please let me know. I'm really motivated to get this working, but feel pretty much stumped right now.
thanks again for your help!
roland