mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
std/handsum: tweak magic identifier bytes
This commit is contained in:
1 parent
acbf9d2ecf
commit
38a5e853c9
17 files changed
+159
-84
No files matched your search
@@ -25,7 +25,13 @@ func makePlainColorImage(grayValue uint8) image.Image {
|
||||
}
|
||||
|
||||
func testRoundTrip(tt *testing.T, src image.Image, pixelValue uint8, justCheckThatItsGray bool) {
|
||||
for c := Color(0); c < 2; c++ {
|
||||
colors := []Color{
|
||||
ColorGray,
|
||||
ColorRGB,
|
||||
// TODO: ColorRGBA,
|
||||
}
|
||||
|
||||
for _, c := range colors {
|
||||
for q := Quality(0); q < 4; q++ {
|
||||
buf := &bytes.Buffer{}
|
||||
err := Encode(buf, src, &EncodeOptions{
|
||||
|
||||
Reference in new issue
Block a user