forked from 1b-agent/opencadstudio-upstream
IMAGEADJUST: Image Adjust dialog for raster images
IMAGEADJUST (alias IAD) takes the selected raster images or asks "Select image(s):", then opens a dialog with a before/after preview of the first image and brightness, contrast and fade rows (bar plus stepper, whole numbers 0-100). Apply writes the values to every chosen image as one undo step; restore defaults sets 50/50/0. Adds the image_adjust automation action and the image-adjust locale group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
592289f4fd
commit
2f55c73457
32 files changed
+757
-2
No files matched your search
+2
-1
@@ -80,7 +80,7 @@ const WEB_ALIAS_KEY: &str = "opencadstudio.aliases";
|
||||
/// migrated forward (see `introduced_at` / `migrate_aliases`). Version 1 shipped
|
||||
/// the pre-REDRAW table; version 2 introduced the REDRAW-family aliases; version 3
|
||||
/// introduced HB (HATCHTOBACK); version 4 introduced ER (EXTERNALREFERENCES).
|
||||
const DEFAULT_ALIASES_VERSION: u32 = 8;
|
||||
const DEFAULT_ALIASES_VERSION: u32 = 9;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
const WEB_ALIAS_VERSION_KEY: &str = "opencadstudio.aliases.version";
|
||||
@@ -103,6 +103,7 @@ fn introduced_at(version: u32) -> &'static [(&'static str, &'static str)] {
|
||||
6 => &[("VV", "QLAYER")],
|
||||
7 => &[("DV", "DVIEW")],
|
||||
8 => &[("-XR", "-XREF"), ("XC", "XCLIP"), ("ICL", "IMAGECLIP")],
|
||||
9 => &[("IAD", "IMAGEADJUST")],
|
||||
_ => &[],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user