You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe right now all image-arithmetic is operating upon image color values that are within the non-linear sRGB color-space. So operations upon them like sums and averages and conversions may not be indicative to the actual underlying linear color values and may have to be converted from sRGB into linear color space before producing the DCT, and then back into sRGB when intended to be presented to the user.
Ex, sections of code like here should probably be converting the sRGB pixel data into linear before converting into LPQA:
I believe right now all image-arithmetic is operating upon image color values that are within the non-linear sRGB color-space. So operations upon them like sums and averages and conversions may not be indicative to the actual underlying linear color values and may have to be converted from sRGB into linear color space before producing the DCT, and then back into sRGB when intended to be presented to the user.
Ex, sections of code like here should probably be converting the sRGB pixel data into linear before converting into LPQA:
thumbhash/rust/src/lib.rs
Lines 41 to 51 in df761ae
The default behavior for many image-loading libraries is to provide image-data in the sRGB color-space with no conversions as well.
The text was updated successfully, but these errors were encountered: