Files
vectorcraft/crates
dotCooCoo 6be2ef508b Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
Optimize to File Size… under Preset opens rows for a desired size in K (1024 bytes), Start With
(Current Settings, Auto Select GIF/JPEG) and, with slices, Use (Total of All Slices, Each Slice,
Current Slice). OK takes the settings whose files fit, measured by encoding, and the dialog shows
the size found or says that no setting tried fits.

- webExport.optimizeToFileSize searches JPEG quality or GIF/PNG-8 colors, then GIF lossy 100,
  encoding at most 32 trial settings. A lower value can give a larger file, so it measures up to
  6 values spread over the range before it narrows the step. It writes no file and changes no
  remembered setting.
- A desiredK that is missing, not a number, 0 or less, or above 1048576 is an error, as are an
  unknown startWith or use and a bad slice.
- The slices share one setting, so every Use choice changes all of them.
- The result line is dropped when the art or the selection changes.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 12:37:47 -08:00
..
…