Edit in GitHubLog an issue

GIF保存选项

Properties

名称类型访问最低版本描述
colorsnumberR W22.5调色板颜色的数量。仅当调色板为: Palette.LOCALADAPTIVE, LOCALPERCEPTUAL, LOCALSELECTIVE, MACOSPALETTE, UNIFORM, WEBPALETTE; or WINDOWSPALETTE
ditherDitherR W22.5抖动类型。
ditherAmountnumberR W22.5抖动的数量。 只在以下情况下有效 dither = Dither.DIFFUSION.
forcedForcedColorsR W22.5强制进入调色板的颜色类型。
interlacedbooleanR W22.5True 如果行应该是交错的。
matteMatteColorR W22.5用来填充与图像透明区域相邻的抗锯齿边缘的颜色。 当一个图像的透明度被关闭时, matte color 会被应用到透明区域。
palettePaletteR W22.5要使用的调色板类型。
preserveExactColorsbooleanR W22.5True 以保护图像中包含色表项的颜色不被抖动。 仅在以下情况下有效 dither = DITHER.DIFFUSION
transparencybooleanR W22.5True 以在转换为GIF格式时保留图像的透明区域。
typenamestringR22.5被引用对象的类名: "GIFSaveOptions".
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.