gif

read/write GIFs
git clone git://bvnf.space/gm.git
Log | Files | Refs | README

hd-annotated (952B)


      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
00000000  47 49 46 38 39 61 10 00  10 00 f0 01 00 00 00 00  |GIF89a..........|
00000010  ff ff 00 21 f9 04 05 08  00 01 00 2c 00 00 00 00  |...!.......,....|
00000020  10 00 10 00 00 02 28 8c  0d a9 c7 a1 bf 18 9c e0  |......(.........|
00000030  24 04 b1 6e b2 3e 8e 65  60 18 8d d3 48 5e 28 65  |$..n.>.e`...H^(e|
00000040  2e 9e 9a 6a b0 f3 6d dd  4c 57 16 6e 49 4d 01 00  |...j..m.LW.nIM..|
00000050  3b                                                |;|
00000051

GIF89a
10 00 # width  in pixels, LSB first
10 00 # height in pixels, LSB first
f0    # f0 = 11110000
      # 1 | 111 | 0 | 000
01    # index in GCT of background color
00
      # GCT
00 00 00
ff ff 00



! f9
04 #length in bytes
05
08 00
01
00 #term

,
00 00 00 00 #top left
10 00 10 00 #width, height
00
02 #min number of colors 
28 #length in bytes
8c 0d a9 c7 a1 bf 18 9c e0 24 04 b1 6e b2 3e 8e 65 60 18 8d d3 48 5e 28 65 2e 9e 9a 6a b0 f3 6d dd 4c 57 16 6e 49 4d 01
00 #term

;