diff --git a/script/make-red-blue-gradient.go b/script/make-red-blue-gradient.go index 8b2bc0b3..01d22e57 100644 --- a/script/make-red-blue-gradient.go +++ b/script/make-red-blue-gradient.go @@ -69,13 +69,13 @@ func main1() error { } src = m } else { - m := image.NewRGBA(image.Rect(0, 0, 16, 16)) - for y := 0; y < 16; y++ { - for x := 0; x < 16; x++ { + m := image.NewRGBA(image.Rect(0, 0, 256, 256)) + for y := 0; y < 256; y++ { + for x := 0; x < 256; x++ { m.SetRGBA(x, y, color.RGBA{ - R: uint8(x * 0x11), + R: uint8(x), G: 0x00, - B: uint8(y * 0x11), + B: uint8(y), A: 0xFF, }) } diff --git a/test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png b/test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png index 8ca2e206..c5e43ab4 100644 Binary files a/test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png and b/test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png differ diff --git a/test/data/red-blue-gradient.gamma1dot0.png b/test/data/red-blue-gradient.gamma1dot0.png index d91e74f2..2ebd3640 100644 Binary files a/test/data/red-blue-gradient.gamma1dot0.png and b/test/data/red-blue-gradient.gamma1dot0.png differ diff --git a/test/data/red-blue-gradient.gamma1dot8.png b/test/data/red-blue-gradient.gamma1dot8.png index 77897180..21cd8c0d 100644 Binary files a/test/data/red-blue-gradient.gamma1dot8.png and b/test/data/red-blue-gradient.gamma1dot8.png differ diff --git a/test/data/red-blue-gradient.gamma2dot2.png b/test/data/red-blue-gradient.gamma2dot2.png index 23aa8168..b3b21c9e 100644 Binary files a/test/data/red-blue-gradient.gamma2dot2.png and b/test/data/red-blue-gradient.gamma2dot2.png differ diff --git a/test/data/red-blue-gradient.vanilla.png b/test/data/red-blue-gradient.vanilla.png index 1cefb354..eaf1a593 100644 Binary files a/test/data/red-blue-gradient.vanilla.png and b/test/data/red-blue-gradient.vanilla.png differ diff --git a/test/nia-checksums-of-data.txt b/test/nia-checksums-of-data.txt index 7b5490a3..d72f26ea 100644 --- a/test/nia-checksums-of-data.txt +++ b/test/nia-checksums-of-data.txt @@ -57,9 +57,9 @@ db2733f5 test/data/muybridge.gif bf7e8c96 test/data/pjw-thumbnail.bmp 73d48c08 test/data/pjw-thumbnail.gif bf7e8c96 test/data/pjw-thumbnail.png -d2d38713 test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png -d2d38713 test/data/red-blue-gradient.gamma1dot0.png -d2d38713 test/data/red-blue-gradient.gamma1dot8.png -d2d38713 test/data/red-blue-gradient.gamma2dot2.png -d2d38713 test/data/red-blue-gradient.vanilla.png +38cb4cbf test/data/red-blue-gradient.dcip3d65-no-chrm-no-gama.png +38cb4cbf test/data/red-blue-gradient.gamma1dot0.png +38cb4cbf test/data/red-blue-gradient.gamma1dot8.png +38cb4cbf test/data/red-blue-gradient.gamma2dot2.png +38cb4cbf test/data/red-blue-gradient.vanilla.png 75060601 test/data/rgb24png.bmp