mirror of
https://github.com/IllusionMan1212/gif-extractor-go.git
synced 2026-10-24 10:12:36 +00:00
fixed the bit order of the image descriptor's packed field
This commit is contained in:
+5
-5
@@ -53,11 +53,11 @@ type Palette []RGB
|
||||
|
||||
/*
|
||||
ImageDescriptorPacked {
|
||||
0: LocalColorTableFlag | this flag is set (1) if the image contains a local color table
|
||||
1: InterlaceFlag | this flag is set (1) if the image is interlaced
|
||||
2: SortFlag | this flag is set (1) if the color table is sorted by importance (frequency of occurrence). only available on 89a
|
||||
3-4: Reserved
|
||||
5-7: LocalColorTableEntrySize
|
||||
0-2: LocalColorTableEntries | 2 to the power of (this field + 1)
|
||||
3-4: Reserved
|
||||
5: SortFlag | this flag is set (1) if the color table is sorted by importance (frequency of occurrence). only available on 89a
|
||||
6: InterlaceFlag | this flag is set (1) if the image is interlaced
|
||||
7: LocalColorTableFlag | this flag is set (1) if the image contains a local color table
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user