colors | number | R W | 22.5 | 调色板颜色的数量。仅当调色板为: Palette.LOCALADAPTIVE, LOCALPERCEPTUAL, LOCALSELECTIVE, MACOSPALETTE, UNIFORM, WEBPALETTE; or WINDOWSPALETTE |
dither | Dither | R W | 22.5 | 抖动类型。 |
ditherAmount | number | R W | 22.5 | 抖动的数量。 只在以下情况下有效 dither = Dither.DIFFUSION. |
forced | ForcedColors | R W | 22.5 | 强制进入调色板的颜色类型。 |
interlaced | boolean | R W | 22.5 | True 如果行应该是交错的。 |
matte | MatteColor | R W | 22.5 | 用来填充与图像透明区域相邻的抗锯齿边缘的颜色。 当一个图像的透明度被关闭时, matte color 会被应用到透明区域。 |
palette | Palette | R W | 22.5 | 要使用的调色板类型。 |
preserveExactColors | boolean | R W | 22.5 | True 以保护图像中包含色表项的颜色不被抖动。 仅在以下情况下有效 dither = DITHER.DIFFUSION |
transparency | boolean | R W | 22.5 | True 以在转换为GIF格式时保留图像的透明区域。 |
typename | string | R | 22.5 | 被引用对象的类名: "GIFSaveOptions". |