Changing the color profile to sRGB IEC61966-2.1
on Mac OSX is the solution in my own setup.
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
Not everything in this world is top down. That depends on the blend mode.Richard wrote:An Alpha channel has no color, it merely determines the degree to which a color may be influenced by colors beneath it.
So, what should the mouseColor report?"best" : uses a bicubic filter-i.e.interpolation is done using cubic approximation from near pixels.
Did you test this also with pixels that are not fully opaque?Al wrote:Changing the color profile to sRGB IEC61966-2.1 on Mac OSX is the solution in my own setup.

IMO the RGB value of the pixel from the composite display value. It's what I'm looking at. It seems less useful to try to account for all possible things in the various other buffers that were combined to ultimately produce the thing I'm looking at. I see a pixel on screen; it has a value; give me that value.
That is the color of a fully opaque snapshot of size 1x1. You can have it by two lines of code.I see a pixel on screen; it has a value; give me that value.

I'll take it. Hopefully the team will fix whatever is needed in the mouseColor function.[-hh] wrote: Wed Jan 16, 2019 12:14 amThat is the color of a fully opaque snapshot of size 1x1. You can have it by two lines of code.I see a pixel on screen; it has a value; give me that value.
Perhaps a new HowTheMouseColorIsDerived function is needed?I would like to have the color of the video buffer before the interpolation is applied, converted to a 32 bit ARGB color.
Yes, I imported a screenshot of a group of two vector graphics[-hh] wrote: Tue Jan 15, 2019 11:55 pmDid you test this also with pixels that are not fully opaque?Al wrote:Changing the color profile to sRGB IEC61966-2.1 on Mac OSX is the solution in my own setup.

I don't, since for anything outside of LC the alpha value would be a guess, and even within LC may not tell the whole story depending on other properties and antialiasing.[-hh] wrote: Wed Jan 16, 2019 1:14 am And how do you get the 4 byte pixel color (incl. the alpha value) from the 3 byte mouseColor?

True, the recipe for a cake is not a cake.[-hh] wrote: Wed Jan 16, 2019 9:47 pm The computed transformation of four bytes to fully opaque three bytes is NOT reversible except you have full information about the pixels underneath the computed one.
Fine allegory. Also related to mouse (sadly cheese is not allowed...)RG wrote:True, the recipe for a cake is not a cake.
