mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Embiggen test/data/red-blue-gradient.*.png
This commit is contained in:
1 parent
01a5b8842b
commit
d557bc3836
7 files changed
+10
-10
No files matched your search
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user