Move num_loops out of the image_config

For the GIF format, it isn't necessarily before the first frame.
This commit is contained in:
Nigel Tao committed 2018-10-13 17:00:45 +11:00
1 parent 36fd9cfd31
commit 7be9c39283
10 files changed
+187 -65

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

@@ -0,0 +1,43 @@
# Feed this file to script/make-artificial.go
make gif
header
image {
imageWidthHeight 2 2
palette {
0x00 0x00 0xFF
0x11 0x00 0xFF
0x22 0x00 0xFF
0x33 0x00 0xFF
}
}
frame {
frameLeftTopWidthHeight 0 0 1 1
}
lzw 2 0x00
frame {
frameLeftTopWidthHeight 0 0 1 1
}
lzw 2 0x00
loopCount 50
frame {
frameLeftTopWidthHeight 0 0 1 1
}
lzw 2 0x00
loopCount 30
frame {
frameLeftTopWidthHeight 0 0 1 1
}
lzw 2 0x00
loopCount 40
trailer