Been thinking about 16 bit support. I wasn't thinking a whole lot about it until one of my stalkers showed up on my doorstep.
I took three of my extract filters and put them together into one filter. I've been planning on doing this anyways and it just seemed like a good time to experiment with 16.
Extract Lum + Extract Hue + Extract Sat = Extract HS/Lum
It's pretty easy to figure out.
- I'm using FM's function for Hue. Not quite as accurate in some respects as my home brew, but seems just fine. The only real difference in accuracy is that Max(RGB) = 254. Not sure if I'm going to fix this or not.
- 16 bit support gets funny when dealing with transparency in the preview. It works, but looks transparent. The only times that the preview is accurate is when used on Background
or when the transparency is locked for the given layer. I think this has to do with transparency's exclusion of the 15+1 paradigm. I'm still digging for a complete fix. But it does work even though the preview shows otherwise.
- Hue in 16 bit isn't 16. The output is 8 bit scaled up to 16. For the most part, shouldn't be mission critical. Again, not sure if I'm going to fix this.
Other than that, should work just dandy.
If you give it a shot, let me know about things.