Repository navigation
0.1.9
Add TextureEncoding to ImageComparison.texture(from:encoding:); .sRGB textures hold the files' 8-bit sRGB values, so the GPU color difference now equals the CPU one (parity test: max difference 0). ImageCompare computes |A-B| x gain in the kernel on sRGB textures and drops the display-time gain shader. Checked against Chrome's mix-blend-mode: difference + filter: brightness(4) on a real 1200x800 pair: 100% identical pixels.