Edit in GitHubLog an issue

指数化的转换选项

将RGB图像转换为索引颜色模型的选项,使用 Document.changeMode

Properties

名称类型访问默认最低版本描述
colorsnumberR W-23.0调色板颜色的数量。 只对调色板类型有效: LOCALADAPTIVE, LOCALPERCEPTUAL, LOCALSELECTIVE, MACOSPALETTE, UNIFORM, WEBPALETTE, or WINDOWSPALETTE.
ditherDitherR W-23.0要做的抖动的类型。
ditherAmountnumberR W-23.0要做的抖动量。 仅当抖动类型为DIFFUSION时有效。
forcedForcedColorsR W-23.0强制加入调色板的一组颜色。
matteMatteColorR WWHITE23.0用来填充与图像透明区域相邻的抗锯齿边缘的颜色。 当透明度为假时,亚光色将被应用于透明区域。
palettePaletteR W-23.0调色板类型。
preserveExactColorsbooleanR W-23.0当为true时,与颜色表中的条目相匹配的图像颜色将不会被抖动。
transparencybooleanR W-23.0当为 true 时,图像的透明区域在转换为GIF格式时被保留下来。
typenamestringR-23.0被引用对象的类名: "IndexedConversionOptions".
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.