mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Let GIF decode an opaque but non-black background
This commit is contained in:
1 parent
8ce8835deb
commit
31a2bc918e
10 files changed
+293
-86
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 90 B |
@@ -0,0 +1,36 @@
|
||||
# Feed this file to script/make-artificial.go
|
||||
|
||||
make gif
|
||||
|
||||
header
|
||||
|
||||
image {
|
||||
imageWidthHeight 4 1
|
||||
backgroundColorIndex 3
|
||||
palette {
|
||||
0x80 0x00 0x00
|
||||
0x80 0x00 0xC1
|
||||
0x80 0xC2 0x00
|
||||
0x80 0xC3 0xC3
|
||||
}
|
||||
}
|
||||
|
||||
loopCount 1
|
||||
|
||||
# TODO: graphicControl animationDisposalRestoreBackground 100ms
|
||||
bytes 0x21 0xF9 0x04 0x08 0x0A 0x00 0x00 0x00
|
||||
|
||||
frame {
|
||||
frameLeftTopWidthHeight 0 0 2 1
|
||||
}
|
||||
lzw 2 0x00 0x01
|
||||
|
||||
# TODO: graphicControl animationDisposalRestoreBackground 200ms
|
||||
bytes 0x21 0xF9 0x04 0x08 0x14 0x00 0x00 0x00
|
||||
|
||||
frame {
|
||||
frameLeftTopWidthHeight 2 0 1 1
|
||||
}
|
||||
lzw 2 0x02
|
||||
|
||||
trailer
|
||||
Reference in new issue
Block a user