With Transparency on, GIF and PNG-8 now offer Transparency Dither: No
Transparency Dither (the default, the half-opacity cut as before),
Diffusion with an Amount, Pattern and Noise. The help page describes the
four methods and the Diffusion amount:
https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=400
- render: `clear_mask` decides which pixels take the transparent entry.
Diffusion spreads the opacity error Floyd-Steinberg style over two rows,
scaled by the amount; Pattern uses the 8x8 ordered matrix and Noise a
fixed coordinate hash, so the same art always gives the same file. Fully
clear and fully opaque pixels do not change. `quantize_locked`,
`quantize_to`, `nearest_entries` and the fixed-palette path use it.
- engine: `document.exportForWeb`, its preview, `webExport.settings` and
presets take `transparencyDither` (none, diffusion, pattern, noise) and
`transparencyDitherAmount` (0 to 100, default 100). An unknown method or
an amount over 100 is refused; settings saved without the keys take the
defaults.
- ui: the Transparency Dither row sits under Transparency, with an Amount
slider for Diffusion; both are disabled while Transparency is off and
keep their values. Rows for the five labels are in every complete
catalog.
The matrix, the noise, the amount mapping and the defaults' combination
with the matte are VectorCraft's own rules.
Docs: docs/mcp.md, docs/target-app-parity.md.