2023-08-12 03:40:30 +00:00
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
/** @enum {string} */
|
|
|
|
export const GifNodeType = [
|
|
|
|
"root",
|
|
|
|
|
|
|
|
"header",
|
|
|
|
"headerSignature",
|
|
|
|
"headerVersion",
|
2023-08-16 15:46:31 +00:00
|
|
|
|
|
|
|
"logicalScreenDescriptor",
|
|
|
|
"logicalScreenWidth",
|
|
|
|
"logicalScreenHeight",
|
|
|
|
"logicalScreenDescriptorPackedFields",
|
|
|
|
"logicalScreenBackgroundColorIndex",
|
|
|
|
"logicalScreenPixelAspectRatio",
|
2023-08-16 16:59:33 +00:00
|
|
|
|
|
|
|
"globalColorTable",
|
|
|
|
"globalColorTableColor",
|
2023-08-12 03:40:30 +00:00
|
|
|
].reduce((result, id) => {
|
|
|
|
result[id] = id;
|
|
|
|
return result;
|
|
|
|
}, Object.create(null));
|