PixelViewer icon indicating copy to clipboard operation
PixelViewer copied to clipboard

"show ARGB value color of selected pixel" is clipped to 8-bit values

Open willworkforhugs opened this issue 1 year ago • 3 comments

When viewing images encoded at 10-bits, the numeric readout for the pixel at the current cursor location is clipped to a maximum of 255. It it therefore not possible to accurately assess the numeric value for HDR pixels, as they all clip to the SDR white value.

willworkforhugs avatar Nov 01 '24 16:11 willworkforhugs

The ARGB value displayed is the color value mapped from 8-bit or 16-bit color to [0, 255] instead of clipping into [0, 255]. Therefore, 255 actually means the maximum color value which is 255 in 8-bit color, 1024 in 10-bit color or 65535 in 16-bit color.

There are 2 more issues based-on your question:

  1. We may design an alternative way to display color value instead of mapping it into [0, 255].
  2. Currently we don't support displaying HDR image. It is still a technical limitation that we need to take more time to investigate.

hamster620 avatar Nov 02 '24 01:11 hamster620

Ah, yes, it does run the range rather than clip. However, not very useful for checking encoding quality as the number's are not accurate. Addressing #1 would be helpful.

#2 is no small task! Certainly would be nice.

willworkforhugs avatar Nov 02 '24 13:11 willworkforhugs

+1 for No. 1, I think reading the code value at full bit depth is important for an app like this.

Muny avatar Nov 09 '24 16:11 Muny