- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWriteGrayscale (0.27 sec)
-
src/image/jpeg/writer_test.go
t.Errorf("%s, quality=%d: average delta is too high", tc.filename, tc.quality) continue } } } // TestWriteGrayscale tests that a grayscale images survives a round-trip // through encode/decode cycle. func TestWriteGrayscale(t *testing.T) { m0 := image.NewGray(image.Rect(0, 0, 32, 32)) for i := range m0.Pix { m0.Pix[i] = uint8(i) } var buf bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:30 UTC 2022 - 7.2K bytes - Viewed (0)