-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgif.hxt
52 lines (42 loc) · 1.3 KB
/
gif.hxt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
~little-endian msb0
"GIF89a" # File header and version string
# Logical Screen Descriptor
u16=4 u16=4 # Canvas width/height
.1 # Global Color Table Flag
.000 # Color Resolution
.0 # Reserved in 87a
.000 # Number of colors. 2^(this_value + 1) colors
00 # Background Color Index
00 # Pixel Aspect Ratio
# Global Color Table
=0 =0 =0 # Black
=255 =255 =255 # White
# Image Descriptor
"," # Image Separator
u16=0 u16=0 # Image offset left/top
u16=4 u16=4 # Image width/height
.1 # Local Color Table Flag
.0 # Interlaced Flag
.000 # Reserved in 87a
.000 # Size of local color table
# Local Color Table
=0 =0 =0 # Black
=128 =0 =255 # Purple
# Image Data
02 # LZW Minimum Code Size
05 841D817A50 00 # Data sub-block
# Graphic Control Extension
"!" F9 # Extension Introducer and Graphic Control Label
=4 # Extension data block size
.000 # Reserved
.010 # Disposal Method (010 is restore to background color)
.0 # User Input Flag
.0 # Transparent color flag
u16=50 # Delay (1/100ths of a second)
00 # Transparent Color Index
00 # Block terminator
# 2nd Image Descriptor
"," u16=0 u16=0 u16=4 u16=4 .00000000
# 2nd Image's Data (same as the first)
02 05 841D817A50 00
";" # GIF Terminator