feat: Add CLI arg to enable auto color scale

This commit is contained in:
2026-09-30 10:24:20 +02:00
parent c59fe800b1
commit aae786a3e9
5 changed files with 286 additions and 46 deletions
+6
View File
@@ -82,6 +82,12 @@ pub struct Cli {
#[arg(long, value_name = "INDEX")]
pub palette: Option<u32>,
/// Fit the colour scale to the image: one palette cycle across its
/// escape-time range (classic palette only). Animations refit it on
/// every frame.
#[arg(long)]
pub auto_color_scale: bool,
/// Output path for --headless (default: fractal-<timestamp>.png). When
/// animating (--to-view/--to-share), this is a directory of
/// frame-00001.png, frame-00002.png, ... instead (default: