diff --git a/apps/photocraft-cli/tests/cli.rs b/apps/photocraft-cli/tests/cli.rs index 19258ca9ed..dff5f808c4 100644 --- a/apps/photocraft-cli/tests/cli.rs +++ b/apps/photocraft-cli/tests/cli.rs @@ -796,3 +796,121 @@ fn batch_plays_a_photoshop_actions_file() { assert!(err.contains("Generative Fill"), "{err}"); assert!(!o.status.success()); } + +/// `photocraft_cli::run` in-process: `(exit code, stdout, stderr)`. +fn invoke(args: &[&str]) -> (i32, String, String) { + let (mut out, mut err) = (Vec::new(), Vec::new()); + let args: Vec = args.iter().map(|s| s.to_string()).collect(); + let code = photocraft_cli::run(&args, &mut out, &mut err); + (code, String::from_utf8(out).unwrap(), String::from_utf8(err).unwrap()) +} + +const SUBCOMMANDS: [&str; 8] = ["convert", "info", "run", "batch", "droplet", "commands", "mcp", "serve"]; + +/// Pins top-level dispatch: help goes to stdout (exit 0), no arguments is a usage error on stderr. +#[test] +fn top_level_help_version_and_no_arguments() { + let (code, out, err) = invoke(&[]); + assert_eq!((code, out.is_empty(), err.is_empty()), (2, true, false)); + for help in ["--help", "-h", "help"] { + let (code, out, err) = invoke(&[help]); + assert_eq!((code, out.is_empty(), err.is_empty()), (0, false, true), "{help}"); + } + for version in ["--version", "version"] { + let (code, out, err) = invoke(&[version]); + assert_eq!((code, err.as_str()), (0, ""), "{version}"); + assert!(out.starts_with("photocraft-cli "), "{version}: {out}"); + } + let (code, out, err) = invoke(&["frobnicate"]); + assert_eq!((code, out.is_empty()), (2, true)); + assert!(err.contains("frobnicate"), "{err}"); +} + +/// ` --help` / `-h` prints help on stdout and returns without running the subcommand +/// (`mcp` and `serve` would otherwise block on stdin). +#[test] +fn every_subcommand_help_returns_on_stdout() { + for sub in SUBCOMMANDS { + for help in ["--help", "-h"] { + let (code, out, err) = invoke(&[sub, help]); + assert_eq!((code, out.is_empty(), err.is_empty()), (0, false, true), "{sub} {help}: {err}"); + // `commands` would also exit 0 with output if it ran; its list names `file.new`, help doesn't. + assert!(!out.contains("file.new"), "{sub} {help} ran instead of printing help: {out}"); + } + } +} + +/// Every subcommand refuses an unknown flag (bare or `=value`) with exit 2, naming it on stderr. +#[test] +fn every_subcommand_rejects_an_unknown_flag() { + for sub in SUBCOMMANDS { + for flag in [&["--fromat"][..], &["--fromat=jpg"][..], &["--fromat", "jpg"][..]] { + let args: Vec<&str> = [sub].into_iter().chain(flag.iter().copied()).collect(); + let (code, out, err) = invoke(&args); + assert_eq!((code, out.is_empty()), (2, true), "{args:?}: {err}"); + assert!(err.contains("--fromat"), "{args:?}: {err}"); + } + } +} + +/// `--flag=value`, a bare flag given a value, a value flag without one, and repeated flags. +#[test] +fn flag_value_forms_and_repeats() { + let ids = |out: &str| out.lines().filter_map(|l| l.split_whitespace().next()).map(str::to_owned).collect::>(); + let (code, eq, err) = invoke(&["commands", "--filter=file.new"]); + assert_eq!(code, 0, "{err}"); + let (_, spaced, _) = invoke(&["commands", "--filter", "file.new"]); + assert_eq!(eq, spaced); + assert!(ids(&eq).contains(&"file.new".to_string()), "{eq}"); + // The last of a repeated value flag wins, whichever order they come in. + let (code, out, err) = invoke(&["commands", "--filter", "zzz-no-match", "--filter", "file.new"]); + assert_eq!(code, 0, "{err}"); + assert_eq!(out, eq); + let (code, out, err) = invoke(&["commands", "--filter", "file.new", "--filter", "zzz-no-match"]); + assert_eq!(code, 0, "{err}"); + assert!(out.is_empty(), "{out}"); + // A bare flag takes no value; a value flag needs one. + let (code, out, err) = invoke(&["commands", "--json=1"]); + assert_eq!((code, out.is_empty()), (2, true)); + assert!(err.contains("--json"), "{err}"); + let (code, out, err) = invoke(&["commands", "--filter"]); + assert_eq!((code, out.is_empty()), (2, true)); + assert!(err.contains("--filter"), "{err}"); +} + +/// Each `--params` applies to the `--cmd` before it; a `--cmd` without one gets `{}`; a +/// `--params` ahead of every `--cmd` fails naming `--params`. +#[test] +fn run_pairs_params_with_the_preceding_cmd() { + let (code, out, err) = invoke(&[ + "run", + "--new", + r#"{"width":8,"height":8}"#, + "--cmd", + "layer.new.layer", + "--params", + r#"{"name":"First"}"#, + "--cmd", + "layer.new.layer", + "--cmd", + "layer.new.layer", + "--params", + r#"{"name":"Third"}"#, + "--cmd", + "document.inspect", + ]); + assert_eq!(code, 0, "{err}"); + let rows: Vec = out.lines().map(|l| serde_json::from_str(l).unwrap()).collect(); + assert_eq!(rows.len(), 4, "{out}"); + let names: Vec<&str> = rows[3]["result"]["layers"].as_array().unwrap().iter().filter_map(|l| l["name"].as_str()).collect(); + let count = |n: &str| names.iter().filter(|x| **x == n).count(); + assert_eq!((count("First"), count("Third")), (1, 1), "each --params applies to its own --cmd only: {names:?}"); + // Three new layers plus the background; the middle one (no --params) has a default name. + assert_eq!(names.len(), 4, "{names:?}"); + // Layers list top first: Third, the unnamed middle one, First, Background. Pairing --params + // with --cmd by position (params[i] -> cmd[i]) would name the middle one Third instead. + assert_eq!((names[0], names[2]), ("Third", "First"), "{names:?}"); + let (code, _, err) = invoke(&["run", "--new", "{}", "--params", "{}", "--cmd", "layer.new.layer"]); + assert_ne!(code, 0); + assert!(err.contains("--params"), "{err}"); +} diff --git a/crates/compose/src/effects.rs b/crates/compose/src/effects.rs index 867b44eb5e..c6ff146a98 100644 --- a/crates/compose/src/effects.rs +++ b/crates/compose/src/effects.rs @@ -2221,7 +2221,13 @@ pub(crate) fn composite_with_effects_prepared( let i = ((y - rect.y0) as usize) * rect.width() as usize + (x - rect.x0) as usize; let a = before.px[i]; let b = if x >= big.x0 && x < big.x1 && y >= big.y0 && y < big.y1 { work.px[((y - big.y0) as usize) * w + (x - big.x0) as usize] } else { a }; - backdrop.px[i] = mix_premul(a, b, op); + backdrop.px[i] = if layer.blend == BlendMode::Dissolve { + // Dissolve applies layer opacity to the completed interior/exterior effect + // stack as pixel coverage, not continuous gray interpolation (#3051). + if crate::dissolve_noise(x, y) < op { b } else { a } + } else { + mix_premul(a, b, op) + }; } } } diff --git a/crates/compose/src/lib.rs b/crates/compose/src/lib.rs index 374603932f..1e233e1c75 100644 --- a/crates/compose/src/lib.rs +++ b/crates/compose/src/lib.rs @@ -1900,6 +1900,14 @@ fn composite_layer_plain(layer: &Layer, clipped: &[Layer], backdrop: &mut Buffer // Only `adjusted` has changed; this pixel's original backdrop is still in place. let b = backdrop.px[i]; let a = adjusted.px[i]; + if layer.blend == BlendMode::Dissolve { + // An adjustment has no standalone source alpha. Its effective coverage + // comes from its own opacity and mask, not a continuous RGB mix (#3050). + if dissolve_noise(x, y) < k { + backdrop.px[i] = [a[0], a[1], a[2], b[3]]; + } + continue; + } let blended = blend::blend_rgb(layer.blend, [b[0], b[1], b[2]], [a[0], a[1], a[2]]); backdrop.px[i] = [b[0] + (blended[0] - b[0]) * k, b[1] + (blended[1] - b[1]) * k, b[2] + (blended[2] - b[2]) * k, b[3]]; } @@ -2265,6 +2273,14 @@ fn composite_atop_any(layer: &Layer, base: &mut Buffer, cx: &Ctx) { for (i, p) in base.px.iter_mut().enumerate() { let k = layer.opacity * layer.fill_opacity * mask_k(&mv, i); let a = adjusted.px[i]; + if layer.blend == BlendMode::Dissolve { + let x = rect.x0 + (i % rect.width() as usize) as i32; + let y = rect.y0 + (i / rect.width() as usize) as i32; + if dissolve_noise(x, y) < k { + *p = [a[0], a[1], a[2], p[3]]; + } + continue; + } let bl = blend::blend_rgb(layer.blend, [p[0], p[1], p[2]], [a[0], a[1], a[2]]); for c in 0..3 { p[c] += (bl[c] - p[c]) * k; @@ -2311,6 +2327,16 @@ fn composite_atop_any(layer: &Layer, base: &mut Buffer, cx: &Ctx) { continue; } let s = content.px[i]; + if layer.blend == BlendMode::Dissolve { + // Clipping preserves the opaque base's alpha. Dissolve still selects source + // pixels by spatial coverage instead of continuously mixing the colours (#3052). + let x = rect.x0 + (i as i32 % rect.width() as i32); + let y = rect.y0 + (i as i32 / rect.width() as i32); + if dissolve_noise(x, y) < s[3] * opacity { + *p = [s[0], s[1], s[2], alpha]; + } + continue; + } // Blend as if the base were opaque, then keep the base's alpha. let r = blend::composite_gamma(layer.blend, [p[0], p[1], p[2], 1.0], s, opacity, gamma); *p = [r[0], r[1], r[2], alpha]; diff --git a/crates/compose/src/tests.rs b/crates/compose/src/tests.rs index af87a8b652..2130bf23b1 100644 --- a/crates/compose/src/tests.rs +++ b/crates/compose/src/tests.rs @@ -505,6 +505,65 @@ fn clipping_mask_restricts_to_base_alpha() { assert!(close4(px(&d, 6, 1), [1.0; 4]), "outside base: clipped layer hidden"); } +/// #3052 / #4921: clipped Dissolve must apply layer Opacity × Fill as binary coverage, +/// restricted to the clipping base's shape. +#[test] +fn clipped_dissolve_opacity_fill_is_binary_and_preserves_base_shape() { + let mut d = doc_white(40, 12); + d.layers.push(solid_layer("base", Rect::new(0, 0, 20, 12), [0.0, 0.0, 1.0, 1.0])); + let mut clip = solid_layer("clip", d.bounds(), [1.0, 0.0, 0.0, 1.0]); + clip.clipped = true; + clip.blend = BlendMode::Dissolve; + clip.opacity = 0.6; + clip.fill_opacity = 0.5; + d.layers.push(clip); + let mut red = 0; + let mut blue = 0; + for y in 0..12 { + for x in 0..20 { + let p = px(&d, x, y); + if close4(p, [1.0, 0.0, 0.0, 1.0]) { + red += 1; + } else { + assert!(close4(p, [0.0, 0.0, 1.0, 1.0]), "Dissolve must not interpolate: {p:?} at ({x},{y})"); + blue += 1; + } + } + assert!(close4(px(&d, 30, y), [1.0; 4]), "outside the base the clip is invisible"); + } + assert!(red > 0 && blue > 0, "Dissolve must expose both source and base: {red}/{blue}"); + assert!((red as f32 / (red + blue) as f32 - 0.3).abs() < 0.1, "coverage should follow 60% opacity × 50% fill: {red}/{blue}"); +} + +/// Dissolve noise uses document coordinates, not the region origin; checked across +/// negative coordinates, tile boundaries, and all supported RGB sample depths. +#[test] +fn clipped_dissolve_matches_whole_render_at_offset_regions_and_depths() { + for fmt in [PixelFormat::RGBA8, PixelFormat::RGBA16, PixelFormat::RGBA32F] { + let mut d = Document::new("coverage", Size::new(32, 18), ColorMode::Rgb, fmt.sample); + let bounds = Rect::new(-3, -2, 32, 18); + let mut base = Layer::raster("base", fmt); + base.surface_mut().unwrap().fill_rect(bounds, &[0.0, 0.0, 1.0, 0.5]); + d.layers.push(base); + let mut clip = Layer::raster("clip", fmt); + clip.surface_mut().unwrap().fill_rect(bounds, &[1.0, 0.0, 0.0, 0.75]); + clip.clipped = true; + clip.blend = BlendMode::Dissolve; + clip.opacity = 0.6; + clip.fill_opacity = 0.5; + d.layers.push(clip); + let whole = render(&d, bounds); + for region in [Rect::new(-3, -2, 5, 4), Rect::new(5, 4, 17, 11), Rect::new(17, 11, 32, 18)] { + let part = render(&d, region); + for y in region.y0..region.y1 { + for x in region.x0..region.x1 { + assert!(close4(part.get(x, y), whole.get(x, y)), "{fmt:?}: region mismatch at ({x},{y})"); + } + } + } + } +} + #[test] fn hidden_base_hides_clipping_group() { let mut d = doc_white(4, 4); @@ -3740,3 +3799,105 @@ fn fully_masked_adjustment_tiles_preserve_output_and_skip_tone_work() { } } } + +#[test] +fn dissolve_adjustment_resolves_opacity_to_binary_coverage() { + let mut d = doc_white(16, 16); + let mut layer = Layer::new("Invert", LayerContent::Adjustment(Adjustment::Invert)); + layer.blend = BlendMode::Dissolve; + layer.opacity = 0.5; + d.layers.push(layer); + let pixels = render(&d, d.bounds()).px; + let black = pixels.iter().filter(|p| p[0] < 0.01).count(); + let white = pixels.iter().filter(|p| p[0] > 0.99).count(); + assert!(black > 0 && white > 0, "Dissolve must select both original and adjusted pixels"); + assert_eq!(black + white, pixels.len(), "no intermediate gray pixels"); + d.layers.last_mut().unwrap().blend = BlendMode::Normal; + let continuous = render(&d, d.bounds()).px; + assert!(continuous.iter().all(|p| (p[0] - 0.5).abs() < E), "Normal remains continuously interpolated"); +} + +#[test] +fn clipped_dissolve_fill_matches_opaque_unclipped_coverage() { + let mut d = doc_white(16, 16); + let mut fill = Layer::new("Black", LayerContent::Fill(Fill::Solid(Color::BLACK))); + fill.blend = BlendMode::Dissolve; + fill.opacity = 0.5; + d.layers.push(fill); + let control = render(&d, d.bounds()).px; + d.layers.last_mut().unwrap().clipped = true; + let clipped = render(&d, d.bounds()).px; + assert_eq!(clipped, control, "clipping over a fully opaque base must preserve dissolve pixels"); + let black = clipped.iter().filter(|p| p[0] < 0.01).count(); + assert!(black > 0 && black < clipped.len()); + d.layers.last_mut().unwrap().blend = BlendMode::Normal; + let continuous = render(&d, d.bounds()).px; + assert!(continuous.iter().all(|p| (p[0] - 0.5).abs() < E)); +} + +#[test] +fn dissolve_color_overlay_preserves_binary_layer_coverage() { + let mut d = doc_white(16, 16); + let mut layer = Layer::new("Black", LayerContent::Fill(Fill::Solid(Color::BLACK))); + layer.blend = BlendMode::Dissolve; + layer.opacity = 0.5; + d.layers.push(layer); + let control = render(&d, d.bounds()).px; + d.layers + .last_mut() + .unwrap() + .effects + .items + .push(photocraft_doc::Effect::ColorOverlay { common: photocraft_doc::FxCommon::new(BlendMode::Normal, 1.0), color: Color::BLACK }); + let styled = render(&d, d.bounds()).px; + assert_eq!(styled, control, "an identity overlay should not turn dissolve pixels gray"); + d.layers.last_mut().unwrap().blend = BlendMode::Normal; + let continuous = render(&d, d.bounds()).px; + assert!(continuous.iter().all(|p| (p[0] - 0.5).abs() < E)); +} + +#[test] +fn clipped_dissolve_adjustment_preserves_alpha_and_document_coverage() { + for fmt in [PixelFormat::RGBA8, PixelFormat::RGBA16, PixelFormat::RGBA32F] { + let mut d = Document::new("clipped adjustment", Size::new(272, 12), ColorMode::Rgb, fmt.sample); + let bounds = Rect::new(-3, -2, 272, 12); + let mut base = Layer::raster("base", fmt); + base.surface_mut().unwrap().fill_rect(bounds, &[1.0, 1.0, 1.0, 0.5]); + d.layers.push(base); + let original = render(&d, bounds); + let mut adjustment = Layer::new("invert", LayerContent::Adjustment(Adjustment::Invert)); + adjustment.clipped = true; + adjustment.blend = BlendMode::Dissolve; + adjustment.opacity = 0.6; + adjustment.fill_opacity = 0.5; + let mut mask = photocraft_raster::Surface::new(PixelFormat::GRAY8); + mask.fill_rect(Rect::new(-3, -2, 260, 12), &[1.0]); + adjustment.mask = Some(LayerMask { surface: mask, enabled: true, linked: true, density: 1.0, feather: 0.0 }); + d.layers.push(adjustment); + let whole = render(&d, bounds); + let mut changed = 0; + for y in bounds.y0..bounds.y1 { + for x in bounds.x0..bounds.x1 { + let p = whole.get(x, y); + let value = if x < 260 && dissolve_noise(x, y) < 0.3 { + changed += 1; + 0.0 + } else { + 1.0 + }; + assert!(close4(p, [value, value, value, original.get(x, y)[3]]), "{fmt:?} at ({x}, {y}): {p:?}"); + } + } + assert!(changed > 0 && changed < whole.px.len()); + let region = Rect::new(250, 1, 270, 10); + let part = render(&d, region); + for y in region.y0..region.y1 { + for x in region.x0..region.x1 { + assert!(close4(part.get(x, y), whole.get(x, y)), "{fmt:?} region at ({x}, {y})"); + } + } + d.layers.last_mut().unwrap().blend = BlendMode::Normal; + let normal = render(&d, bounds); + assert!(normal.px.iter().any(|p| p[0] > 0.01 && p[0] < 0.99), "Normal keeps continuous mixing"); + } +} diff --git a/crates/engine/src/actions_cmds.rs b/crates/engine/src/actions_cmds.rs index 9babc5a50a..7685c43c4e 100644 --- a/crates/engine/src/actions_cmds.rs +++ b/crates/engine/src/actions_cmds.rs @@ -389,15 +389,20 @@ pub fn finish_playback(s: &mut Session, recording: Option<(usize, usize)>, actio s.actions.playback_stack.pop(); s.actions.playing = s.actions.playing.saturating_sub(1); if let Some((_, idx)) = recording { - s.actions.recording = Some((s.journal.len(), idx)); - let mut params = json!({"action": action.name}); - if from > 0 { - params["from"] = json!(from); - } - s.journal.push(("actions.play".into(), params)); + restore_recording(s, idx, &action.name, from); } } +/// Resume recording into action `idx` and journal the named call that suspended it. +pub fn restore_recording(s: &mut Session, idx: usize, action: &str, from: usize) { + s.actions.recording = Some((s.journal.len(), idx)); + let mut params = json!({"action": action}); + if from > 0 { + params["from"] = json!(from); + } + s.journal.push(("actions.play".into(), params)); +} + /// Nested playback returns a structured failure even though the command itself succeeded. /// Promote it to the caller's failed step so no later parent steps run after a child fails. pub fn nested_failure(id: &str, value: &Value) -> Option { diff --git a/crates/engine/src/atn_cmds.rs b/crates/engine/src/atn_cmds.rs index afba793027..8df9be10fa 100644 --- a/crates/engine/src/atn_cmds.rs +++ b/crates/engine/src/atn_cmds.rs @@ -1203,8 +1203,18 @@ fn make_from(d: &Descriptor) -> Mapped { if let Some(n) = using.and_then(|u| get_text(u, "Nm ")) { p.insert("name".into(), n.into()); } - let id = if get_ref(d, "From").is_some() { "layer.groupLayers" } else { "layer.new.group" }; - step(id, Value::Object(p)) + match get_ref(d, "From") { + // A named source layer stays the source (#7236); a target reference and an + // index/id source (our exporter never writes those) keep the old implicit + // import: the group lands on the current selection at playback. + Some(r) => { + if let Some(t) = layer_target(r) { + p.extend(t); + } + step("layer.groupLayers", Value::Object(p)) + } + None => step("layer.new.group", Value::Object(p)), + } } _ => Mapped::Unsupported { harmless: false }, } @@ -1231,7 +1241,9 @@ fn make_to(id: &str, p: &Value) -> Option { } "layer.new.group" => desc("null").with("null", class_ref("layerSection")).with("Usng", D::Descriptor(with_name("layerSection"))), "layer.groupLayers" => { - desc("null").with("null", class_ref("layerSection")).with("From", target_ref("Lyr ")).with("Usng", D::Descriptor(with_name("layerSection"))) + // An explicit source layer goes in by name like every other layer reference; a + // step without one keeps the target-layer form (#7236). + desc("null").with("null", class_ref("layerSection")).with("From", layer_ref(p)).with("Usng", D::Descriptor(with_name("layerSection"))) } "layer.new.layerViaCopy" | "layer.new.layerViaCut" => { let mut d = desc("null").with("Nw ", D::Descriptor(desc("Lyr "))).with("Usng", enm("ArSl", "Slct")); @@ -1497,6 +1509,10 @@ fn set_to(id: &str, p: &Value) -> Option { .with("T ", D::Descriptor(color_desc(hex)?)) } "select.rect" => { + match jstr(p, "mode") { + None | Some("replace") => {} + Some(_) => return None, + } let (x, y, w, h) = (jnum(p, "x")?, jnum(p, "y")?, jnum(p, "width")?, jnum(p, "height")?); let cls = if jbool(p, "ellipse") == Some(true) { "Elps" } else { "Rctn" }; sel(D::Descriptor(desc(cls).with("Top ", px(y)).with("Left", px(x)).with("Btom", px(y + h)).with("Rght", px(x + w)))) @@ -1605,7 +1621,11 @@ fn select_to(id: &str, p: &Value) -> Option { let enumerated = |cls: &str, ty: &str, v: &str| D::Reference(vec![ReferenceItem::Enumerated { class: class(cls), type_id: code(ty), value: code(v) }]); Some(match id { "layer.select" => { - let mut d = desc("null").with("null", name_ref("Lyr ", jstr(p, "layer")?)); + if p.get("occurrence").is_some() { + return None; + } + let name = jstr(p, "name").or_else(|| jstr(p, "layer"))?; + let mut d = desc("null").with("null", name_ref("Lyr ", name)); match jstr(p, "mode") { None | Some("replace") => {} Some("add") => d = d.with("selectionModifier", enm("selectionModifierType", "addToSelection")), @@ -1783,8 +1803,15 @@ fn transform_from(d: &Descriptor) -> Mapped { // to keep its sub-pixel placement and interpolation. let whole_pixels = ["dx", "dy"].iter().all(|k| p.get(*k).and_then(Value::as_f64).is_none_or(|v| v.fract() == 0.0)); let geometry_only = p.keys().all(|k| k == "dx" || k == "dy") && whole_pixels; + // The resampling applies to a selection as much as to a layer (#7515). + let interpolation = get_enum(d, "Intr").and_then(|i| lookup(INTERPOLATION, &i)).filter(|i| matches!(*i, "bicubic" | "bilinear" | "nearest")); match (ref_class(r).as_deref(), target(r)) { - (Some("Chnl"), Target::Property(prop)) if prop == "fsel" => step("select.transformSelection", Value::Object(p)), + (Some("Chnl"), Target::Property(prop)) if prop == "fsel" => { + if let Some(i) = interpolation { + p.insert("interpolation".into(), i.into()); + } + step("select.transformSelection", Value::Object(p)) + } (Some("Lyr"), _) => { let Some(mut lp) = layer_target(r) else { return unsupported }; if geometry_only { @@ -1793,7 +1820,7 @@ fn transform_from(d: &Descriptor) -> Mapped { return step("layer.translate", Value::Object(lp)); } lp.extend(p); - if let Some(i) = get_enum(d, "Intr").and_then(|i| lookup(INTERPOLATION, &i)).filter(|i| matches!(*i, "bicubic" | "bilinear" | "nearest")) { + if let Some(i) = interpolation { lp.insert("interpolation".into(), i.into()); } step("edit.transform", Value::Object(lp)) @@ -1803,10 +1830,22 @@ fn transform_from(d: &Descriptor) -> Mapped { } fn transform_to(id: &str, p: &Value) -> Option { - if p.get("quad").is_some() || p.get("matrix").is_some() || p.get("rect").is_some() { + let given = |k: &str| p.get(k).is_some_and(|v| !v.is_null()); + if ["quad", "corners", "matrix", "rect"].iter().any(|k| given(k)) { + return None; + } + // The descriptor scales and rotates about the centre (`FTcs` average) without skew or warp: + // another reference point, a skew or a warp would replay as a different transform (#7516, + // #7517, #7518, #7519). + let nonzero = |k: &str| p.get(k).is_some_and(|v| !v.is_null() && v.as_f64() != Some(0.0)); + let off_centre = p.get("reference").is_some_and(|v| !v.is_null() && *v != json!("center")); + if nonzero("skewX") || nonzero("skewY") || off_centre || ["warp", "style", "mesh", "grid"].iter().any(|k| given(k)) { return None; } let target = match id { + // The `Trnf` descriptor has no field for a mask, Quick Mask or alpha channel target; a + // layer reference would transform the layer's pixels instead. + "edit.transform" if !pixel_target(p) => return None, "edit.transform" => layer_ref(p), "select.transformSelection" => D::Reference(vec![ReferenceItem::Property { class: class("Chnl"), key: code("fsel") }]), _ => return None, @@ -1892,6 +1931,15 @@ fn apply_image_from(d: &Descriptor) -> Mapped { } fn apply_image_to(_: &str, p: &Value) -> Option { + // The optional blending mask has no descriptor mapping: refuse it rather than drop it, + // which would widen the edit to the whole layer. + let mask_channel = match p.get("mask") { + Some(m) => m.get("channel"), + None => p.get("maskChannel"), + }; + if mask_channel.is_some_and(|c| !(c.is_null() || c == "none" || c == "")) { + return None; + } let source = p.get("source").cloned().unwrap_or(json!({})); let channel = jstr(&source, "channel").unwrap_or("composite"); let chan = lookup_back(SOURCE_CHANNELS, channel).or_else(|| lookup_back(CHANNELS, channel))?; @@ -2143,6 +2191,20 @@ fn duplicate_to(id: &str, p: &Value) -> Option { Some(d) } +/// Only a comp name in the active document is portable across action playback. +fn apply_comp_from(d: &Descriptor) -> Mapped { + match get_ref(d, "null") { + Some([ReferenceItem::Name { class, name }]) if trimmed(&class.class_id) == "compsClass" => { + step("layerComp.apply", json!({"comp": name.to_string_lossy()})) + } + _ => Mapped::Unsupported { harmless: false }, + } +} + +fn apply_comp_to(_: &str, p: &Value) -> Option { + Some(desc("null").with("null", name_ref("compsClass", jstr(p, "comp")?))) +} + fn play_from(d: &Descriptor) -> Mapped { match get_ref(d, "null").map(target) { Some(Target::Name(n)) => step("actions.play", json!({"action": n})), @@ -2628,6 +2690,16 @@ fn shadows_highlights_to(_: &str, p: &Value) -> Option { } fn image_size_to(_: &str, p: &Value) -> Option { + // Resolution only with Resample on imports as keep-print-size; a command without it cannot be told apart. + if jnum(p, "resolution").is_some() + && jnum(p, "width").is_none() + && jnum(p, "height").is_none() + && jnum(p, "percent").is_none() + && jstr(p, "resample").is_some_and(|r| r != "none") + && jbool(p, "keepPrintSize") != Some(true) + { + return None; + } let mut d = desc("null"); if let Some(pc) = jnum(p, "percent") { d = d.with("Wdth", pct(pc)).with("Hght", pct(pc)).with("CnsP", D::Boolean(true)); @@ -3419,6 +3491,7 @@ const EVENTS: &[Event] = &[ ev!("save", "save", "Save", "file.save", &[]), ev!("Rvrt", "revert", "Revert", "file.revert", &[]), Event { code: "Ply ", name: "play", label: "Play", ids: &["actions.play"], from: play_from, to: play_to }, + Event { code: "", name: "applyComp", label: "Apply Layer Comp", ids: &["layerComp.apply"], from: apply_comp_from, to: apply_comp_to }, Event { code: "Stop", name: "stop", label: "Stop", ids: &[STOP_MESSAGE], from: stop_from, to: stop_to }, ]; diff --git a/crates/engine/src/atn_cmds/tests.rs b/crates/engine/src/atn_cmds/tests.rs index bbec1def43..2eeafaecb5 100644 --- a/crates/engine/src/atn_cmds/tests.rs +++ b/crates/engine/src/atn_cmds/tests.rs @@ -66,6 +66,105 @@ fn sample() -> AtnFile { } } +#[test] +fn layer_comp_apply_imports_plays_and_undoes() { + let name = "合成 𠮷"; + let data = set_of("Comps", vec![("Apply", vec![item("applyComp", "Apply Layer Comp", Some(desc("null").with("null", name_ref("compsClass", name))))])]); + for depth in [8, 16, 32] { + let mut s = Session::new(); + let loaded = s.execute("actions.load", json!({"data": data})).unwrap(); + assert_eq!(loaded["unsupported"], json!([]), "{loaded}"); + assert_eq!(s.actions.list[0].steps, [("layerComp.apply".into(), json!({"comp": name}))]); + + s.execute("file.new", json!({"width": 8, "height": 8, "depth": depth})).unwrap(); + s.execute("layerComp.new", json!({"name": "Other"})).unwrap(); + let before = s.active().unwrap().doc.clone(); + let played = s.execute("actions.play", json!({"action": "Apply"})).unwrap(); + assert_eq!(played["ran"], 0, "{played}"); + assert!(played["failed"]["error"].as_str().unwrap().contains(name), "{played}"); + assert_eq!(*s.active().unwrap().doc, *before, "a missing comp must not apply another comp"); + + let comp = s.execute("layerComp.new", json!({"name": name})).unwrap()["comp"].clone(); + let layer = s.active().unwrap().active_layer.unwrap(); + s.execute("layer.setProps", json!({"visible": false})).unwrap(); + s.execute("layerComp.new", json!({"name": "Hidden"})).unwrap(); + let played = s.execute("actions.play", json!({"action": "Apply"})).unwrap(); + assert_eq!(played["ran"], 1, "{played}"); + assert!(played.get("failed").is_none(), "{played}"); + assert!(s.active().unwrap().doc.layer(layer).unwrap().visible); + assert_eq!(json!(s.active().unwrap().doc.last_applied_comp), comp); + assert!(s.undo()); + assert!(!s.active().unwrap().doc.layer(layer).unwrap().visible); + assert!(s.redo()); + assert!(s.active().unwrap().doc.layer(layer).unwrap().visible); + } +} + +#[test] +fn layer_comp_apply_round_trips_by_name() { + for name in ["Comp 1", "合成 𠮷"] { + let descriptor = desc("null").with("null", name_ref("compsClass", name)); + let data = set_of("Comps", vec![("Apply", vec![item("applyComp", "Apply Layer Comp", Some(descriptor.clone()))])]); + let mut s = Session::new(); + let loaded = s.execute("actions.load", json!({"data": data})).unwrap(); + assert_eq!(loaded["unsupported"], json!([]), "{loaded}"); + let saved = s.execute("actions.save", json!({"set": "Comps"})).unwrap(); + assert_eq!(saved["skipped"], json!([])); + let bytes = photocraft_paint::tile::b64_decode(saved["data"].as_str().unwrap()).unwrap(); + let file = atn::parse(&bytes).unwrap(); + assert_eq!(file.actions[0].items[0].event, AtnEvent::Name("applyComp".into())); + assert_eq!(file.actions[0].items[0].descriptor, Some(descriptor)); + let mut reloaded = Session::new(); + reloaded.execute("actions.load", json!({"data": saved["data"]})).unwrap(); + assert_eq!(reloaded.actions.list, s.actions.list); + } + // Local comp ids and the default comp cannot be resolved to a portable name at export. + for params in [json!({}), json!({"comp": 1}), json!({"comp": null}), json!({"comp": true}), json!({"comp": []})] { + assert!(export_item("layerComp.apply", ¶ms, "Comps").is_none(), "{params}"); + } +} + +#[test] +fn layer_comp_apply_unknown_references_are_kept_and_stop_playback() { + let references = [ + None, + Some(D::Integer(1)), + Some(D::Reference(vec![])), + Some(name_ref("Lyr ", "Comp 1")), + Some(target_ref("compsClass")), + Some(class_ref("compsClass")), + Some(D::Reference(vec![ReferenceItem::Index { class: class("compsClass"), index: 1 }])), + Some(D::Reference(vec![ReferenceItem::Identifier { class: class("compsClass"), id: 1 }])), + Some(D::Reference(vec![ + ReferenceItem::Name { class: class("compsClass"), name: UnicodeString::new_nul("Comp 1") }, + ReferenceItem::Name { class: class("Dcmn"), name: UnicodeString::new_nul("Other") }, + ])), + ]; + let items: Vec<_> = + references.into_iter().map(|reference| item("applyComp", "Apply Layer Comp", reference.map(|r| desc("null").with("null", r)))).collect(); + let data = set_of("Comps", vec![("Unknown", items.clone())]); + let mut s = Session::new(); + let loaded = s.execute("actions.load", json!({"data": data})).unwrap(); + assert_eq!(loaded["unsupported"].as_array().unwrap().len(), items.len()); + assert!(s.actions.list[0].steps.iter().all(|(id, _)| id == PHOTOSHOP_STEP)); + assert!(s.actions.list[0].disabled.is_empty()); + s.execute("file.new", json!({"width": 8, "height": 8})).unwrap(); + s.execute("layerComp.new", json!({"name": "Comp 1"})).unwrap(); + let before = s.active().unwrap().doc.clone(); + let played = s.execute("actions.play", json!({"action": "Unknown"})).unwrap(); + assert_eq!(played["ran"], 0, "{played}"); + assert!(played["failed"]["error"].as_str().unwrap().contains("Apply Layer Comp"), "{played}"); + assert_eq!(*s.active().unwrap().doc, *before); + let saved = s.execute("actions.save", json!({"set": "Comps"})).unwrap(); + let bytes = photocraft_paint::tile::b64_decode(saved["data"].as_str().unwrap()).unwrap(); + let file = atn::parse(&bytes).unwrap(); + assert_eq!(file.actions[0].items.len(), items.len()); + for (saved, original) in file.actions[0].items.iter().zip(&items) { + assert_eq!(saved.event, original.event); + assert_eq!(saved.descriptor, original.descriptor); + } +} + #[test] fn load_maps_events_keeps_flags_and_plays() { let mut s = Session::new(); @@ -427,6 +526,7 @@ fn every_mapped_command_exports_and_imports_back() { ("image.mode.bitmap", json!({"method": "threshold"})), ("image.imageSize", json!({"resolution": 1200, "resample": "preserveDetails", "keepPrintSize": true})), ("layer.new.layerFromBackground", json!({"ifPresent": true, "select": false})), + ("layerComp.apply", json!({"comp": "Comp 1"})), ]; for (id, params) in &cases { let item = export_item(id, params, "S").unwrap_or_else(|| panic!("{id} does not export")); @@ -604,6 +704,16 @@ fn photo_filter_round_trip(params: Value) -> Option { } } +/// A `Mk` layerSection step exported to .atn and imported back → (id, params), or None. +fn group_round_trip(id: &str, params: &Value) -> Option<(String, Value)> { + let item = export_item(id, params, "S")?; + let e = event_for(&item.event)?; + match (e.from)(item.descriptor.as_ref()?) { + Mapped::Steps(steps) => steps.first().map(|(i, p)| (i.clone(), p.clone())), + _ => None, + } +} + #[test] fn photo_filter_preset_only_step_keeps_its_resolved_color() { // #7235: the Photoshop descriptor keeps only a colour (`phfl`/`PhtF` are colour-only; the io @@ -630,6 +740,44 @@ fn photo_filter_preset_only_step_keeps_its_resolved_color() { assert_eq!(back, json!({"density": 25})); } +#[test] +fn group_layers_keeps_its_explicit_target_through_atn() { + // #7236: a recorded step with an explicit layer groups that layer, not the current + // selection. The source goes into the `From` reference by name and comes back the same + // way; a step with no source layer keeps the implicit form, imported as before. + let (id, p) = group_round_trip("layer.groupLayers", &json!({"layer": "A", "name": "Group"})).unwrap(); + assert_eq!(id, "layer.groupLayers"); + assert_eq!(p, json!({"layer": "A", "name": "Group"})); + // The implicit form survives unchanged: the reference stays the target layer. + let (id, p) = group_round_trip("layer.groupLayers", &json!({"name": "Group"})).unwrap(); + assert_eq!(id, "layer.groupLayers"); + assert_eq!(p, json!({"name": "Group"})); + let (id, p) = group_round_trip("layer.groupLayers", &json!({})).unwrap(); + assert_eq!(id, "layer.groupLayers"); + assert_eq!(p, json!({})); + // Group Without Layers: no `From` at all, imported as a plain new group. + let (id, p) = group_round_trip("layer.new.group", &json!({"name": "G"})).unwrap(); + assert_eq!(id, "layer.new.group"); + assert_eq!(p, json!({"name": "G"})); +} + +#[test] +fn group_layers_from_index_reference_stays_implicit() { + // A Photoshop-authored `From` that names nothing portable (a zero-based index) keeps the + // old implicit import instead of inventing a wrong explicit target (#7236, edge). + let d = desc("null") + .with("null", class_ref("layerSection")) + .with("From", D::Reference(vec![ReferenceItem::Index { class: class("Lyr "), index: 2 }])) + .with("Usng", D::Descriptor(desc("layerSection").with("Nm ", text("Group")))); + match make_from(&d) { + Mapped::Steps(steps) => { + assert_eq!(steps[0].0, "layer.groupLayers"); + assert_eq!(steps[0].1, json!({"name": "Group"})); + } + _ => panic!("an index source imports as the implicit form"), + } +} + #[test] fn unsupported_shapes_become_photoshop_steps_not_errors() { // Image size in two different percentages, a Paint Bucket click in percent of the canvas, a @@ -1580,6 +1728,36 @@ fn minimum_and_maximum_with_roundness_are_not_exported_as_squareness() { } } +/// #7515: a Transform Selection's interpolation survives the round trip as a layer transform's +/// does. #7516-#7519: a reference point other than the centre, a skew or a warp can't be written, +/// so the step is refused instead of replaying as a plain scale. +#[test] +fn transform_selection_keeps_its_interpolation_and_refuses_what_it_cannot_carry() { + let one = |id: &str, p: Value| Action { name: "Probe".into(), steps: vec![(id.into(), p)], ..Default::default() }; + let p = json!({"dx": 0.7, "dy": 0, "scaleX": 140, "scaleY": 80, "interpolation": "nearest"}); + let (bytes, skipped) = export("Audit7", &[&one("select.transformSelection", p.clone())], &[], false).unwrap(); + assert!(skipped.is_empty()); + let imported = import(&bytes).unwrap(); + assert_eq!(imported.actions[0].steps, vec![("select.transformSelection".to_string(), p)]); + for id in ["select.transformSelection", "edit.transform"] { + for p in [ + json!({"scaleX": 140, "reference": "topLeft"}), + json!({"scaleX": 140, "reference": [3, 4]}), + json!({"scaleX": 140, "skewX": 12}), + json!({"scaleX": 140, "skewY": -5}), + json!({"warp": "arc"}), + json!({"corners": [[0, 0], [10, 0], [10, 10], [0, 10]]}), + ] { + let err = export("Audit7", &[&one(id, p.clone())], &[], false).unwrap_err(); + assert!(err.contains("no Photoshop equivalent") && err.contains(&format!("`{id}`")), "{id} {p}: {err}"); + let (_, skipped) = export("Audit7", &[&one(id, p.clone())], &[], true).unwrap(); + assert_eq!(skipped, vec![Skipped { action: "Probe".into(), step: 0, id: id.into() }], "{id} {p}"); + } + let carried = json!({"scaleX": 140, "reference": "center", "skewX": 0, "skewY": 0}); + assert!(export("Audit7", &[&one(id, carried.clone())], &[], false).is_ok(), "{id} {carried}"); + } +} + /// Photoshop's Close has no document target: a Close of a specific document must not be /// exported as a plain Close, which would close the active document on playback. #[test] @@ -1770,3 +1948,138 @@ fn adjustment_layer_reset_still_resets() { assert_eq!(steps[0], ("layer.setAdjustment".to_string(), json!({}))); assert_eq!(steps[1].1, json!({"midtones": [10, 0, 0], "kind": "colorBalance"})); } + +/// A Free Transform recorded against an unlinked mask or an alpha channel must not export as a +/// layer transform that moves the layer's pixels on replay (#7195). +#[test] +fn transform_with_mask_or_channel_target_is_not_exported_as_layer_transform() { + for target in [json!("mask"), json!({"channel": 0}), json!("quickMask")] { + let a = Action { + name: "Probe".into(), + steps: vec![("edit.transform".into(), json!({"target": target, "dx": 3, "dy": 2, "scaleX": 100, "interpolation": "nearest"}))], + ..Default::default() + }; + assert!(export("Targets", &[&a], &[], false).is_err(), "{target} exported"); + let (_, skipped) = export("Targets", &[&a], &[], true).unwrap(); + assert_eq!(skipped, vec![Skipped { action: "Probe".into(), step: 0, id: "edit.transform".into() }]); + } + for params in [ + json!({"dx": 3, "dy": 2, "scaleX": 50, "interpolation": "nearest"}), + json!({"target": "pixels", "dx": 3, "dy": 2, "scaleX": 50, "interpolation": "nearest"}), + ] { + let plain = Action { name: "Plain".into(), steps: vec![("edit.transform".into(), params)], ..Default::default() }; + let (bytes, skipped) = export("Targets", &[&plain], &[], false).unwrap(); + assert!(skipped.is_empty()); + let imported = import(&bytes).unwrap(); + assert_eq!(imported.actions[0].steps, vec![("edit.transform".to_string(), json!({"dx": 3, "dy": 2, "scaleX": 50, "interpolation": "nearest"}))]); + } + for form in [json!({"quad": [[0, 0], [1, 0], [1, 1], [0, 1]]}), json!({"matrix": [1, 0, 0, 1, 0, 0]}), json!({"rect": [0, 0, 1, 1]})] { + assert!(transform_to("edit.transform", &form).is_none()); + } +} + +/// Apply Image's optional blending mask has no `.atn` mapping: a strict export must refuse the +/// step rather than drop the mask and widen the edit to the whole layer. +#[test] +fn apply_image_with_blending_mask_is_not_exported_without_its_mask() { + let source = json!({"layer": "Pixels", "channel": "green", "invert": true}); + for params in [json!({"source": source, "blending": "normal", "mask": {"channel": 0}}), json!({"source": source, "blending": "normal", "maskChannel": 0})] { + let masked = Action { name: "Masked".into(), steps: vec![("image.applyImage".into(), params.clone())], ..Default::default() }; + assert!(export("Audit5", &[&masked], &[], false).is_err(), "{params}"); + let (_, skipped) = export("Audit5", &[&masked], &[], true).unwrap(); + assert_eq!(skipped, vec![Skipped { action: "Masked".into(), step: 0, id: "image.applyImage".into() }]); + } + for params in [json!({"source": source, "blending": "normal"}), json!({"source": source, "blending": "normal", "mask": {"channel": "none"}})] { + let plain = Action { name: "Plain".into(), steps: vec![("image.applyImage".into(), params.clone())], ..Default::default() }; + let (bytes, skipped) = export("Audit5", &[&plain], &[], false).unwrap(); + assert!(skipped.is_empty()); + let imported = import(&bytes).unwrap(); + assert_eq!(imported.actions[0].steps, vec![("image.applyImage".to_string(), json!({"source": source, "blending": "normal"}))]); + } +} + +fn image_size_round_trip(params: &Value) -> Option { + let item = export_item("image.imageSize", params, "S")?; + let e = event_for(&item.event).unwrap(); + match (e.from)(item.descriptor.as_ref().unwrap()) { + Mapped::Steps(steps) => Some(steps[0].1.clone()), + _ => panic!("image size descriptor did not import as steps"), + } +} + +#[test] +fn image_size_resolution_only_does_not_gain_keep_print_size() { + // The .atn cannot tell resolution-only from keepPrintSize:true, so the former must not + // export as a descriptor that imports back as keep-print-size. + let params = json!({"resolution": 144, "resample": "nearest"}); + assert_eq!(image_size_round_trip(¶ms), None); +} + +#[test] +fn image_size_intentional_controls_still_round_trip() { + for params in [ + json!({"resolution": 144.0, "resample": "nearest", "keepPrintSize": true}), + json!({"width": 12.0, "height": 10.0, "resolution": 144.0, "resample": "nearest"}), + ] { + assert_eq!(image_size_round_trip(¶ms), Some(params.clone())); + } +} + +#[test] +fn recorded_layer_select_exports_to_atn() { + let mut s = Session::new(); + s.execute("file.new", json!({"width": 8, "height": 8})).unwrap(); + let l = s.execute("layer.new.layer", json!({"name": "Wanted"})).unwrap(); + let wanted_id = l["layer"].as_u64().unwrap(); + s.execute("actions.record", json!({"name": "SelectWanted"})).unwrap(); + s.execute("layer.select", json!({"layer": wanted_id})).unwrap(); + s.execute("actions.stop", json!({})).unwrap(); + + let action = s.execute("actions.get", json!({"action": "SelectWanted"})).unwrap(); + assert_eq!(action["steps"][0], json!(["layer.select", {"name": "Wanted"}])); + + // Strict export should succeed and produce bytes without skipUnsupported + let saved = s.execute("actions.save", json!({"action": "SelectWanted"})).unwrap(); + assert_eq!(saved["steps"], 1); + assert_eq!(saved["skipped"], json!([])); + + // When exported with skipUnsupported: true, it shouldn't skip the step either + let saved_skip = s.execute("actions.save", json!({"action": "SelectWanted", "skipUnsupported": true})).unwrap(); + assert_eq!(saved_skip["steps"], 1); + assert_eq!(saved_skip["skipped"], json!([])); + + // If an action has an occurrence target (duplicate names), it cannot be represented unambiguously in .atn + let bad_action = Action::new("Dup", vec![("layer.select".into(), json!({"name": "Wanted", "occurrence": 1}))]); + let err = export("Set", &[&bad_action], &[], false); + assert!(err.is_err(), "occurrence without representation must fail strict export"); +} + +#[test] +fn select_rect_mode_strict_export_rejects_unrepresentable_modes() { + let mut s = Session::new(); + s.execute("file.new", json!({"width": 8, "height": 8})).unwrap(); + + // Default or "replace" mode succeeds + s.actions.list.push(Action::new("ReplaceAct", vec![("select.rect".into(), json!({"x": 4, "y": 4, "width": 2, "height": 2, "mode": "replace"}))])); + let saved = s.execute("actions.save", json!({"action": "ReplaceAct"})).unwrap(); + assert_eq!(saved["steps"], 1); + + // "add" mode cannot be silently converted to replace (set) in strict export + s.actions.list.push(Action::new("AddAct", vec![("select.rect".into(), json!({"x": 4, "y": 4, "width": 2, "height": 2, "mode": "add"}))])); + let before_actions = s.actions.list.clone(); + let err = s.execute("actions.save", json!({"action": "AddAct"})); + assert!(err.is_err(), "strict export must reject select.rect with add mode rather than converting to replace"); + assert_eq!(s.actions.list, before_actions, "actions list must remain unchanged after rejected save"); + + // "subtract" mode cannot be silently converted to replace either + s.actions.list.push(Action::new("SubtractAct", vec![("select.rect".into(), json!({"x": 4, "y": 4, "width": 2, "height": 2, "mode": "subtract"}))])); + let before_actions_sub = s.actions.list.clone(); + let err_subtract = s.execute("actions.save", json!({"action": "SubtractAct"})); + assert!(err_subtract.is_err(), "strict export must reject select.rect with subtract mode rather than converting to replace"); + assert_eq!(s.actions.list, before_actions_sub, "actions list must remain unchanged after rejected save"); + + // With skipUnsupported: true, unrepresentable modes are reported in skipped + let skipped = s.execute("actions.save", json!({"action": "AddAct", "skipUnsupported": true})).unwrap(); + assert_eq!(skipped["steps"], 0); + assert_eq!(skipped["skipped"][0]["id"], "select.rect"); +} diff --git a/crates/engine/src/print_cmds.rs b/crates/engine/src/print_cmds.rs index 9b264f0611..c06cd4e1bc 100644 --- a/crates/engine/src/print_cmds.rs +++ b/crates/engine/src/print_cmds.rs @@ -476,6 +476,28 @@ fn paper(p: &Value, cmd: &str) -> Result<(f64, f64)> { Ok(if p.get("orientation").and_then(Value::as_str) == Some("landscape") { (h.max(w), w.min(h)) } else { (w, h) }) } +/// The driver's printable area (`printable`: [x, y, width, height] pt from the paper's top-left, +/// as `file.print.page` reports it), clipped to the paper, with the layout's bottom-left origin. +fn printable(p: &Value, (pw, ph): (f64, f64), cmd: &str) -> Result> { + let Some(v) = p.get("printable").filter(|v| !v.is_null()) else { return Ok(None) }; + let r: Option> = v.as_array().and_then(|a| a.iter().map(Value::as_f64).collect()); + let Some([x, y, w, h]) = r.as_deref().and_then(|r| <[f64; 4]>::try_from(r).ok()) else { + return Err(bad(cmd, "printable is [x, y, width, height] in points from the paper's top-left")); + }; + // Drivers report their paper a fraction of a point off the named size (842.29 pt for A3's + // 841.89), so clip that much; an area that doesn't fit the paper (another paper or + // orientation) is refused. 2 pt, as `print_windows` allows between driver and layout. + const SLACK: f64 = 2.0; + if !(x >= -SLACK && y >= -SLACK && x + w <= pw + SLACK && y + h <= ph + SLACK) { + return Err(bad(cmd, "the printable area doesn't fit the paper and orientation")); + } + let (x0, y0, x1, y1) = (x.max(0.0), y.max(0.0), (x + w).min(pw), (y + h).min(ph)); + if !(x1 > x0 && y1 > y0) { + return Err(bad(cmd, "the printable area is empty")); + } + Ok(Some((x0, ph - y1, x1 - x0, y1 - y0))) +} + /// Where the image lands on the paper. #[derive(Clone, Copy, Debug, PartialEq)] pub struct PrintLayout { @@ -500,16 +522,37 @@ pub fn layout(doc: &Document, p: &Value, cmd: &str) -> Result { center_crop: p.get("centerCropMarks").and_then(Value::as_bool).unwrap_or(false), registration: p.get("registrationMarks").and_then(Value::as_bool).unwrap_or(false), }; - let margin = if marks.corner_crop || marks.center_crop || marks.registration { 36.0 } else { 18.0 }; + let has_marks = marks.corner_crop || marks.center_crop || marks.registration; + // Scale to Fit Media fits the driver's printable area when it is known (the whole sheet for + // borderless paper); marks keep their inset inside it. Without one (CUPS, PDF), the paper + // minus a fixed margin. + let emulsion_down = p.get("emulsionDown").and_then(Value::as_bool).unwrap_or(false); let fit = p.get("scaleToFit").and_then(Value::as_bool).unwrap_or(false); - let scale = if fit { - ((pw - 2.0 * margin) / iw).min((ph - 2.0 * margin) / ih) - } else { - p.get("scale").and_then(Value::as_f64).filter(|v| *v > 0.0).unwrap_or(100.0) / 100.0 + // Only a fitted print reads the area, so a stale one (a replayed action, another paper) can't + // fail a print at a manual scale. + let area = if fit { printable(p, (pw, ph), cmd)? } else { None }; + let fit_box = match area { + Some((x, y, w, h)) => { + // Emulsion Down mirrors the page as it prints: fit the mirror of the printable area, + // so the printed image lands inside the real one. + let x = if emulsion_down { pw - x - w } else { x }; + let inset = if has_marks { 36.0 } else { 0.0 }; + if !(w > 2.0 * inset && h > 2.0 * inset) { + return Err(bad(cmd, "the printable area is too small for crop and registration marks")); + } + (x + inset, y + inset, w - 2.0 * inset, h - 2.0 * inset) + } + None => { + let margin = if has_marks { 36.0 } else { 18.0 }; + (margin, margin, pw - 2.0 * margin, ph - 2.0 * margin) + } }; + let scale = if fit { (fit_box.2 / iw).min(fit_box.3 / ih) } else { p.get("scale").and_then(Value::as_f64).filter(|v| *v > 0.0).unwrap_or(100.0) / 100.0 }; let (w, h) = (iw * scale, ih * scale); let center = p.get("center").and_then(Value::as_bool).unwrap_or(true); - let (x, y) = if center { + let (x, y) = if center && fit { + (fit_box.0 + (fit_box.2 - w) / 2.0, fit_box.1 + (fit_box.3 - h) / 2.0) + } else if center { ((pw - w) / 2.0, (ph - h) / 2.0) } else { // Top / left in inches from the paper's top-left corner (Photoshop's Position fields). @@ -517,7 +560,6 @@ pub fn layout(doc: &Document, p: &Value, cmd: &str) -> Result { let left = p.get("left").and_then(Value::as_f64).unwrap_or(0.0) * 72.0; (left, ph - top - h) }; - let emulsion_down = p.get("emulsionDown").and_then(Value::as_bool).unwrap_or(false); Ok(PrintLayout { paper: (pw, ph), rect: (x, y, w, h), scale, marks, emulsion_down }) } @@ -569,7 +611,49 @@ fn do_print(s: &mut Session, p: &Value, cmd: &str) -> Result { Ok(result) } +/// True when a print may go to a Windows printer through the driver rather than a PDF spooler. +fn native_route(p: &Value, spooler: Option<&Spooler>) -> bool { + // A named print server always takes the IPP route and a preferred app spooler takes every + // job (the route order in `spool_job`), on Windows too: neither may enter the native path, + // which would print on the local default printer instead. + let named_server = p.get("printServer").and_then(Value::as_str).is_some_and(|v| !v.is_empty()); + let skip_native = named_server || spooler.is_some_and(|sp| sp.preferred); + let output = p.get("output").and_then(Value::as_str).is_some_and(|v| !v.is_empty()); + let send = p.get("send").and_then(Value::as_bool).unwrap_or(!output); + let dry = p.get("dryRun").and_then(Value::as_bool).unwrap_or(false); + cfg!(windows) && !skip_native && send && !dry && !output +} + +/// `p` with the driver's printable area, read from the printer itself, so Print One Copy, the +/// CLI, control and replayed actions fit the same area as the Print dialog does (#7782). A +/// native print never fits an area the caller passed: without the driver's, it has none. +fn with_driver_printable(p: &Value) -> Value { + let mut out = p.clone(); + if let Some(o) = out.as_object_mut() { + o.remove("printable"); + if let Some(area) = driver_printable(p) { + o.insert("printable".into(), area); + } + } + out +} + +fn driver_printable(p: &Value) -> Option { + let printer = printer_name(p).ok()?; + let pg = craft_print::rgb::page(&printer, printer_settings(p).ok()?.as_ref()).ok()?; + // Only for the paper the driver is set to: a print laid out on another paper keeps the + // fixed margin (and `print_windows` refuses it), as before. + let (pw, ph) = paper(p, "file.print").ok()?; + if (pg.paper.0 - pw).abs() > 2.0 || (pg.paper.1 - ph).abs() > 2.0 { + return None; + } + Some(json!([pg.printable.0, pg.printable.1, pg.printable.2, pg.printable.3])) +} + fn render_and_spool(doc: &Document, p: &Value, cmd: &str, spooler: Option<&Spooler>) -> Result { + let fit = p.get("scaleToFit").and_then(Value::as_bool).unwrap_or(false); + let driver = (fit && native_route(p, spooler)).then(|| with_driver_printable(p)); + let p = driver.as_ref().unwrap_or(p); let PrintLayout { paper: (pw, ph), rect: (x, y, w, h), scale, marks, emulsion_down } = layout(doc, p, cmd)?; let (img, color) = print_image(doc, p, cmd)?; let description = p @@ -587,12 +671,8 @@ fn render_and_spool(doc: &Document, p: &Value, cmd: &str, spooler: Option<&Spool // Sending follows the shared command contract; fuzz tests explicitly request dryRun. // The worker returns its result before repeat settings and hooks are applied once. let handling = p.get("colorHandling").and_then(Value::as_str).unwrap_or("printerManages"); - // A named print server always takes the IPP route and a preferred app spooler takes every - // job (the route order in `spool_job`), on Windows too: neither may enter the native path - // below, which would print on the local default printer instead. - let named_server = p.get("printServer").and_then(Value::as_str).is_some_and(|v| !v.is_empty()); - let skip_native = named_server || spooler.is_some_and(|sp| sp.preferred); - if cfg!(windows) && !skip_native && send && !dry && output.is_none() && native_rgb_compatible(&page, handling) { + let native = native_route(p, spooler); + if native && native_rgb_compatible(&page, handling) { require_printing_enabled()?; let printed = print_windows(&page, p, &doc.name, copies)?; return Ok(json!({ @@ -600,7 +680,7 @@ fn render_and_spool(doc: &Document, p: &Value, cmd: &str, spooler: Option<&Spool "copies": copies, "command": Value::Null, "sent": true, "spooler": printed, "color": color, })); } - if cfg!(windows) && !skip_native && send && !dry && output.is_none() && printer_settings(p)?.is_some() { + if native && printer_settings(p)?.is_some() { return Err(other("the selected color profile or page text requires PDF printing. Save as PDF, or clear Print Settings to use PDF printing.")); } let pdf = print_pdf(&page); @@ -695,6 +775,9 @@ fn remember_print(s: &mut Session, p: &Value) { o.remove("dryRun"); // Output and dry-run choices are not remembered, so a send override must not survive them. o.remove("send"); + // The driver's printable area belongs to the printer and paper chosen now: the dialog + // reads it again, and a later print to PDF or another printer must not inherit it. + o.remove("printable"); } let kept = remembered.clone(); s.prefs.edit(|prefs| { @@ -1098,7 +1181,7 @@ pub fn specs() -> Vec { CommandSpec { id: $id, label: $label, menu: $menu, shortcut: $sc, params: $params, enabled: $enabled, journal: true, run: $run } }; } - const PRINT_PARAMS: &str = r##"{"printerSettings":hex? (Windows driver settings),"printer":name? (default printer),"copies":1..999=1,"paper":"letter|legal|tabloid|a3|a4|a5|4x6|5x7"|[w,h] pt="letter","orientation":"portrait|landscape"="portrait","center":bool=true,"top":in?,"left":in?,"scale":%=100,"scaleToFit":bool=false,"colorHandling":"printerManages|photocraftManages|noColorManagement"="printerManages","printerProfile":profile? (photocraftManages),"intent":"perceptual|relative|saturation|absolute"="relative","bpc":bool=true,"cornerCropMarks":bool,"centerCropMarks":bool,"registrationMarks":bool,"description":bool,"labels":bool,"emulsionDown":bool=false (mirror the page left to right, for sublimation and other transfer printing),"output":pdf path? (print to PDF; then "send" defaults to false),"send":bool?,"printServer":"host[:port]|socket path"? (default: the system's CUPS; a named server is always printed to over IPP),"dryRun":bool=false (render the PDF, report the backend command, don't spool; write a PDF only at an explicit output path)} → {pdf:path|null (null without explicit output), imageRect, command:diagnostic array|null, sent, spooler:where the job went|null, backend:"lp|windows|ipp|portal"|null}"##; + const PRINT_PARAMS: &str = r##"{"printerSettings":hex? (Windows driver settings),"printer":name? (default printer),"copies":1..999=1,"paper":"letter|legal|tabloid|a3|a4|a5|4x6|5x7"|[w,h] pt="letter","orientation":"portrait|landscape"="portrait","center":bool=true,"top":in?,"left":in?,"scale":%=100,"scaleToFit":bool=false,"printable":[x,y,w,h] pt? (the driver's printable area from the paper's top-left, as file.print.page reports it; Scale to Fit Media fits it, else the paper minus 18 pt; a native Windows print reads the driver's own instead),"colorHandling":"printerManages|photocraftManages|noColorManagement"="printerManages","printerProfile":profile? (photocraftManages),"intent":"perceptual|relative|saturation|absolute"="relative","bpc":bool=true,"cornerCropMarks":bool,"centerCropMarks":bool,"registrationMarks":bool,"description":bool,"labels":bool,"emulsionDown":bool=false (mirror the page left to right, for sublimation and other transfer printing),"output":pdf path? (print to PDF; then "send" defaults to false),"send":bool?,"printServer":"host[:port]|socket path"? (default: the system's CUPS; a named server is always printed to over IPP),"dryRun":bool=false (render the PDF, report the backend command, don't spool; write a PDF only at an explicit output path)} → {pdf:path|null (null without explicit output), imageRect, command:diagnostic array|null, sent, spooler:where the job went|null, backend:"lp|windows|ipp|portal"|null}"##; vec![ spec!("file.print", "Print…", &["File"], Some("Cmd+P"), PRINT_PARAMS, native_doc, print), diff --git a/crates/engine/src/print_cmds/tests.rs b/crates/engine/src/print_cmds/tests.rs index 38567ffb6d..3dab10b65a 100644 --- a/crates/engine/src/print_cmds/tests.rs +++ b/crates/engine/src/print_cmds/tests.rs @@ -869,3 +869,121 @@ fn windows_pdf_component_is_detected_by_loading_its_dll() { fn the_windows_pdf_check_is_a_no_op_elsewhere() { assert!(require_windows_pdf().is_ok()); } + +/// A 500 × 1000 pt document (72 ppi) on A3 (841.89 × 1190.55 pt): its height sets the fit. +fn a3_layout(extra: Value) -> Result { + let mut s = Session::new(); + s.execute("file.new", json!({"width": 500, "height": 1000, "resolution": 72})).unwrap(); + let mut p = json!({"paper": "a3", "scaleToFit": true}); + if let (Some(p), Some(extra)) = (p.as_object_mut(), extra.as_object()) { + p.extend(extra.clone()); + } + layout(&s.active().unwrap().doc, &p, "file.print") +} + +#[test] +fn scale_to_fit_fills_a_borderless_printable_area() { + let (pw, ph) = (841.89, 1190.55); + // Without a printable area, the fixed 18 pt margin stays (CUPS, PDF). + let l = a3_layout(json!({})).unwrap(); + assert!((l.scale - (ph - 36.0) / 1000.0).abs() < 1e-9, "{l:?}"); + // Borderless: the driver reports the whole sheet (#7782: a Canon PRO-1000 reports its A3 as + // 842.29 × 1191.14 pt), and the image reaches the paper's edges. + let l = a3_layout(json!({"printable": [0.0, 0.0, 842.29, 1191.14]})).unwrap(); + assert!((l.scale - ph / 1000.0).abs() < 1e-9, "{l:?}"); + let (x, y, w, h) = l.rect; + assert!(y.abs() < 1e-9 && (h - ph).abs() < 1e-9 && (x - (pw - w) / 2.0).abs() < 1e-9, "{l:?}"); +} + +#[test] +fn scale_to_fit_stays_inside_an_uneven_printable_area() { + let (pw, ph) = (841.89, 1190.55); + // 17 pt left and right, 14 pt at the top, 48 pt at the bottom (from the top-left, as + // `file.print.page` reports it). The layout's rect has its origin at the bottom-left. + let l = a3_layout(json!({"printable": [17.0, 14.0, pw - 34.0, ph - 62.0]})).unwrap(); + assert!((l.scale - (ph - 62.0) / 1000.0).abs() < 1e-9, "{l:?}"); + let (x, y, w, h) = l.rect; + assert!((y - 48.0).abs() < 1e-9 && (y + h - (ph - 14.0)).abs() < 1e-9, "fills the printable height: {l:?}"); + assert!((x - (pw - w) / 2.0).abs() < 1e-9, "centred between equal side margins: {l:?}"); + // Crop and registration marks keep their 36 pt inset, inside the printable area. + let l = a3_layout(json!({"printable": [17.0, 14.0, pw - 34.0, ph - 62.0], "cornerCropMarks": true})).unwrap(); + assert!((l.scale - (ph - 62.0 - 72.0) / 1000.0).abs() < 1e-9, "{l:?}"); + assert!((l.rect.1 - 84.0).abs() < 1e-9, "{l:?}"); + // Scale to fit off: the printable area changes nothing. + let l = a3_layout(json!({"printable": [17.0, 14.0, pw - 34.0, ph - 62.0], "scaleToFit": false})).unwrap(); + assert_eq!(l, a3_layout(json!({"scaleToFit": false})).unwrap()); +} + +#[test] +fn a_bad_printable_area_is_refused() { + let portrait = json!([0.0, 0.0, 842.29, 1191.14]); + for bad in [ + json!([0, 0, 100]), + json!([0, 0, 0, 100]), + json!([0, 0, 100, -5]), + json!("whole"), + json!([2000, 0, 100, 100]), + json!([0, "oops", 0, 842.29, 1191.14]), + json!([0, 0, 842.29, null]), + ] { + assert!(a3_layout(json!({ "printable": bad })).is_err(), "{bad}"); + } + // A portrait sheet's area on a landscape layout is another paper, not a rounding error. + assert!(a3_layout(json!({"printable": portrait, "orientation": "landscape"})).is_err()); +} + +#[test] +fn emulsion_down_fits_the_mirrored_printable_area() { + let (pw, ph) = (841.89, 1190.55); + // 10 pt on the left, 40 pt on the right of the sheet as the driver sees it. The page is + // mirrored as it prints, so the image box (before mirroring) must fit the mirror image. + // A wide image, so the printable width sets the fit. + let mut s = Session::new(); + s.execute("file.new", json!({"width": 1000, "height": 500, "resolution": 72})).unwrap(); + let p = json!({"paper": "a3", "scaleToFit": true, "printable": [10.0, 0.0, pw - 50.0, ph], "emulsionDown": true}); + let l = layout(&s.active().unwrap().doc, &p, "file.print").unwrap(); + let (x, _, w, _) = l.rect; + let printed = (pw - x - w, pw - x); + assert!(printed.0 >= 10.0 - 1e-9 && printed.1 <= pw - 40.0 + 1e-9, "printed at {printed:?}: {l:?}"); +} + +/// A native print fits only the driver's area: one the caller passed is dropped when the +/// driver can't give one for this paper (no such paper here, or no driver at all). +#[test] +fn a_native_print_drops_a_printable_area_the_driver_did_not_give() { + let p = with_driver_printable(&json!({"paper": [500.0, 500.0], "printable": [0.0, 0.0, 100.0, 100.0], "scaleToFit": true})); + assert!(p.get("printable").is_none(), "{p}"); + assert_eq!(p["paper"], json!([500.0, 500.0])); +} + +#[test] +fn a_print_uses_the_printable_area_but_does_not_remember_it() { + let mut s = Session::new(); + s.execute("file.new", json!({"width": 500, "height": 1000, "resolution": 72})).unwrap(); + let r = s.execute("file.print", json!({"paper": "a3", "scaleToFit": true, "printable": [0.0, 0.0, 842.29, 1191.14], "dryRun": true})).unwrap(); + assert!((r["scale"].as_f64().unwrap() - 119.055).abs() < 1e-6, "{r}"); + // The next print (Print One Copy, or the dialog on another printer or to PDF) reads its own. + let last = last_print(&s).unwrap(); + assert!(last.get("printable").is_none() && last["scaleToFit"] == true, "{last}"); +} + +#[test] +fn a_rejected_printable_area_fails_the_print_and_changes_nothing() { + let mut s = Session::new(); + s.execute("file.new", json!({"width": 500, "height": 1000, "resolution": 72})).unwrap(); + s.execute("file.print", json!({"paper": "a3", "scale": 50, "dryRun": true})).unwrap(); + let before = (last_print(&s), s.prefs.get().dialogs.get(REMEMBERED).cloned(), s.active().unwrap().doc.clone()); + for printable in [json!([2000, 0, 100, 100]), json!([0, "oops", 0, 842.29, 1191.14])] { + let r = s.execute("file.print", json!({"paper": "a3", "scaleToFit": true, "printable": printable, "dryRun": true})); + assert!(r.is_err(), "{printable}: {r:?}"); + } + assert!(before == (last_print(&s), s.prefs.get().dialogs.get(REMEMBERED).cloned(), s.active().unwrap().doc.clone())); + // A print at a manual scale doesn't read the area, so a stale one doesn't fail it. + let r = s.execute("file.print", json!({"paper": "a3", "scale": 50, "printable": [0.0, 0.0, 842.29, 1191.14], "orientation": "landscape", "dryRun": true})); + assert!(r.is_ok(), "{r:?}"); + // Marks need room only to fit: a small manual scale in a 60 pt-wide area prints. + let r = s.execute("file.print", json!({"paper": "a3", "scale": 5, "printable": [0, 0, 60, 1191.14], "cornerCropMarks": true, "dryRun": true})); + assert!(r.is_ok(), "{r:?}"); + let r = s.execute("file.print", json!({"paper": "a3", "scaleToFit": true, "printable": [0, 0, 60, 1191.14], "cornerCropMarks": true, "dryRun": true})); + assert!(r.is_err(), "{r:?}"); +} diff --git a/crates/gpu/src/compose.wgsl b/crates/gpu/src/compose.wgsl index 1b62e2d46d..a339ec6d86 100644 --- a/crates/gpu/src/compose.wgsl +++ b/crates/gpu/src/compose.wgsl @@ -935,6 +935,9 @@ fn fs_atop(in: VOut) -> @location(0) vec4 { let base = textureLoad(tex_a, p, 0); if (base.a <= 0.0) { return base; } let s = textureLoad(tex_b, p, 0); + if (op.mode == M_DISSOLVE) { + return select(base, vec4(s.rgb, base.a), dissolve_noise(doc_px(p)) < s.a * op.opacity); + } let r = composite_g(op.mode, vec4(base.rgb, 1.0), s, op.opacity, (op.flags & F_TEXT_GAMMA) != 0u); return vec4(r.rgb, base.a); } @@ -950,6 +953,7 @@ fn fs_adjust(in: VOut) -> @location(0) vec4 { } // Mix an adjusted result B back over the original A with blend mode, opacity and mask. +// Both ordinary and clipped adjustments use this pass, retaining the original alpha. @fragment fn fs_adjmix(in: VOut) -> @location(0) vec4 { let p = local(in.pos); @@ -957,6 +961,9 @@ fn fs_adjmix(in: VOut) -> @location(0) vec4 { let k = op.opacity * mask_value(doc_px(p)); if (k <= 0.0) { return b; } let a = textureLoad(tex_b, p, 0); + if (op.mode == M_DISSOLVE) { + return select(b, vec4(a.rgb, b.a), dissolve_noise(doc_px(p)) < k); + } let bl = blend_rgb(op.mode, b.rgb, a.rgb); return vec4(b.rgb + (bl - b.rgb) * k, b.a); } @@ -1280,7 +1287,14 @@ fn fs_fxmerge(in: VOut) -> @location(0) vec4 { let atop = (op.flags & F_ATOP) != 0u; var before = c; if (atop) { before = vec4(c.rgb, 1.0); } - let o = mix_premul(before, w, op.opacity); + var o: vec4; + if (op.mode == M_DISSOLVE) { + // Match the CPU effects compositor: opacity gates the completed stack, not + // its individual colours or alpha. Use document coordinates across chunks. + o = select(before, w, dissolve_noise(doc_px(p)) < op.opacity); + } else { + o = mix_premul(before, w, op.opacity); + } if (atop) { if (c.a > 0.0) { return vec4(o.rgb, c.a); } return c; diff --git a/crates/gpu/tests/parity.rs b/crates/gpu/tests/parity.rs index cacd79c0ff..a827b944a9 100644 --- a/crates/gpu/tests/parity.rs +++ b/crates/gpu/tests/parity.rs @@ -794,6 +794,19 @@ fn groups_masks_and_clipping() { d.layers.extend([base, c1, c2]); check(&mut g, &d, &format!("clipping hidden={hidden}")); } + // #3052/#4921: a clipped Dissolve layer retains opacity/fill binary coverage + // across the partially covered clipping base; the GPU must match the CPU. + for (opacity, fill) in [(0.4, 1.0), (0.8, 0.5)] { + let mut d = base_doc(56, 44); + let base = noise_layer("base", PixelFormat::RGBA8, Rect::new(5, 6, 48, 40), 45, 0.0); + let mut clip = noise_layer("dissolve clip", PixelFormat::RGBA8, d.bounds(), 46, 0.0); + clip.clipped = true; + clip.blend = BlendMode::Dissolve; + clip.opacity = opacity; + clip.fill_opacity = fill; + d.layers.extend([base, clip]); + check(&mut g, &d, "clipped Dissolve opacity/fill CPU/GPU parity"); + } // Clipped group base (isolated) with a clipped layer. let mut d = base_doc(56, 44); let mut gb = Layer::group("gb", vec![child(18, BlendMode::Normal)]); @@ -2893,3 +2906,60 @@ fn soft_shapes_match_the_cpu() { } } } + +/// An adjustment has no standalone source alpha: its opacity and mask gate binary coverage. +#[test] +fn dissolve_adjustment_matches_cpu() { + let Some(mut g) = gpu() else { return }; + let mut d = base_doc(64, 48); + let mut adjustment = Layer::new("invert", LayerContent::Adjustment(Adjustment::Invert)); + adjustment.blend = BlendMode::Dissolve; + adjustment.opacity = 0.5; + adjustment.mask = Some(mask(Rect::new(0, 0, 32, 48), 31, 0.0)); + d.layers.push(adjustment); + check(&mut g, &d, "dissolve adjustment + mask"); +} + +/// Clipped pixels still use document-positioned noise, without changing the base alpha. +#[test] +fn dissolve_clipped_layer_matches_cpu() { + let Some(mut g) = gpu() else { return }; + let mut d = base_doc(64, 48); + let mut clipped = Layer::new("clipped", LayerContent::Fill(Fill::Solid(Color::BLACK))); + clipped.clipped = true; + clipped.blend = BlendMode::Dissolve; + clipped.opacity = 0.5; + d.layers.push(clipped); + check(&mut g, &d, "dissolve clipped"); +} + +/// Layer opacity gates the completed effects stack, instead of fading its pixels. +#[test] +fn dissolve_effects_stack_matches_cpu() { + let Some(mut g) = gpu() else { return }; + let mut d = base_doc(64, 48); + let mut styled = Layer::new("styled", LayerContent::Fill(Fill::Solid(Color::BLACK))); + styled.blend = BlendMode::Dissolve; + styled.opacity = 0.5; + styled.effects.items.push(Effect::ColorOverlay { common: FxCommon::new(BlendMode::Normal, 1.0), color: Color::BLACK }); + d.layers.push(styled); + check(&mut g, &d, "dissolve effects"); +} + +#[test] +fn dissolve_clipped_adjustment_matches_cpu() { + let Some(mut g) = gpu() else { return }; + for fmt in [PixelFormat::RGBA8, PixelFormat::RGBA16, PixelFormat::RGBA32F] { + let mut d = Document::new("clipped adjustment", Size::new(272, 24), ColorMode::Rgb, fmt.sample); + let base = noise_layer("base", fmt, Rect::new(-3, -2, 268, 22), 47, 0.0); + let mut adjustment = Layer::new("invert", LayerContent::Adjustment(Adjustment::Invert)); + adjustment.clipped = true; + adjustment.blend = BlendMode::Dissolve; + adjustment.opacity = 0.6; + adjustment.fill_opacity = 0.5; + adjustment.mask = Some(mask(Rect::new(0, 0, 260, 24), 48, 0.0)); + d.layers.extend([base, adjustment]); + check(&mut g, &d, &format!("clipped Dissolve adjustment {fmt:?}")); + diff_rect(&mut g, &d, Rect::new(250, 1, 270, 20), "clipped adjustment offset region").unwrap_or_else(|e| panic!("{e}")); + } +} diff --git a/crates/raw/README.md b/crates/raw/README.md index bb4815a4fc..e266c64cde 100644 --- a/crates/raw/README.md +++ b/crates/raw/README.md @@ -25,7 +25,7 @@ Implemented only from public specifications, papers and observation of files: * ITU-T T.81 (ISO 10918-1) Annex H: lossless JPEG, process 14 ("LJ92"). * The published description of Canon's CR2 container (header, raw IFD, slice tag 0xC640). * Publicly documented maker-note / private tags (ExifTool's tag tables): Canon ModelID (0x0010), - SensorInfo (0x00E0) and ColorData (0x4001), Nikon WB_RBLevels (0x000C) and BlackLevel (0x003D), Sony + SensorInfo (0x00E0) and ColorData (0x4001), Nikon WB_RBLevels (0x000C), ColorSpace (0x001E) and BlackLevel (0x003D), Sony BlackLevel (0x7310), WB_RGGBLevels (0x7313), SonyRawFileType (0x7000) and SonyToneCurve (0x7010), the PanasonicRaw IFD0 tags, Olympus ImageProcessing (0x2040) and CameraSettings (0x2020) preview tags, the Fujifilm RAF header and metadata records (RawImageCropTopLeft / @@ -119,7 +119,11 @@ out). One cell in three is held out: the look is used only when it shows the sam the matrix is plausible and the held-out mean CIE76 ΔE drops to at most 85 % of the fallback's. Pass it as `DevelopOptions::camera_look`; `develop` then notes "colour fitted to the camera's embedded JPEG (mean ΔE …)". The crate cannot decode JPEG itself: `photocraft-io` decodes the -smallest preview at least 512 pixels long, fits and develops in one go. +smallest preview at least 512 pixels long, fits and develops in one go. A preview without an ICC +profile is read in the colour space the raw states (`embedded_preview_color_space`): the EXIF +ColorSpace (a Sony body set to Adobe RGB writes Uncalibrated with Interoperability "R03"), else a +Nikon maker note's ColorSpace (0x001E; Nikon writes no EXIF ColorSpace), sRGB when the file says +nothing. Camera Raw's tuned import fits at the default exposure and as-shot white balance first, then applies the user's Exposure, Temperature and Tint to that same rendering. The D5100's measured image area is 4928 × 3264 at (8, 8) in a 4992 × 3280 @@ -149,7 +153,10 @@ Raw rendering (quarter size, medians over the frames) the measured profile is 0. luminance with a mean CIE76 ΔE of 1.8; the look fitted to the embedded JPEG would be 0.30 stop and ΔE 6.4, as it follows the camera's picture style instead. The open-time re-develop (`photocraft-io`'s `import_raw_tuned`) and the tone curve its previews use (`tone_curve`) take the -same look as the default open, so changing a slider does not change the colour rendering. +same look as the default open, so changing a slider does not change the colour rendering. The D4's +saturation level was measured on 14-bit files and follows the sample depth (a 12-bit frame is the +14-bit one shifted right by two, so its level is a quarter of it): the three public 12-bit D4 files +develop within 0.02 stop of their 14-bit twin. ## Tools diff --git a/crates/raw/examples/rawinfo.rs b/crates/raw/examples/rawinfo.rs index b71e2393bd..6b1722b720 100644 --- a/crates/raw/examples/rawinfo.rs +++ b/crates/raw/examples/rawinfo.rs @@ -9,7 +9,7 @@ use std::time::Instant; -use photocraft_raw::{Demosaic, DevelopOptions, decode, develop_sensor, dump_structure, embedded_preview, identify}; +use photocraft_raw::{Demosaic, DevelopOptions, decode, develop_sensor, dump_structure, embedded_preview, embedded_preview_color_space, identify}; fn main() { let mut args = std::env::args().skip(1); @@ -76,7 +76,13 @@ fn main() { println!("{}", dump_structure(&bytes)); } if let Some(p) = embedded_preview(&bytes) { - println!(" preview: {}x{} JPEG, {} bytes", p.width, p.height, p.jpeg.len()); + println!( + " preview: {}x{} JPEG, {} bytes, colour space stated by the file: {:?}", + p.width, + p.height, + p.jpeg.len(), + embedded_preview_color_space(&bytes) + ); if let Some(dir) = png.as_ref().filter(|d| std::path::Path::new(d).is_dir()) { let stem = std::path::Path::new(&f).file_stem().map(|s| s.to_string_lossy().into_owned()).unwrap_or_default(); let _ = std::fs::write(format!("{dir}/{stem}.preview.jpg"), p.jpeg); diff --git a/crates/raw/src/cameras.rs b/crates/raw/src/cameras.rs index 84204c6bce..d7ae5e84d7 100644 --- a/crates/raw/src/cameras.rs +++ b/crates/raw/src/cameras.rs @@ -11,7 +11,9 @@ //! (2 px of optical black on the left, 50 + 8 on the right show as a purple stripe otherwise). The //! data is already black-subtracted (the darkest image pixels reach 0). Green saturates at //! 15546–15672 while red and blue reach 15687–16383, so one level of 15520 makes clipped -//! highlights white without shifting the white balance. Matrix, curve and black point copy +//! highlights white without shifting the white balance. That level is for 14-bit files: the body +//! also writes 12-bit ones, whose samples are the 14-bit values shifted right by two, so the +//! level follows the sample depth (`Profile::white_at`). Matrix, curve and black point copy //! Photoshop Camera Raw's default rendering of these files, measured black-box: 29 NEFs opened //! in Photoshop 25.4 against our own linear development of the same data (8 × 8 means, pixels //! clipped in neither). The matrix is our first ForwardMatrix (fitted to the camera's embedded @@ -92,7 +94,10 @@ struct Profile { size: (usize, usize), /// The image area: x, y, width, height. crop: (usize, usize, usize, usize), + /// The saturation level, in codes of `white_bits`-bit samples. white: f32, + /// The sample depth `white` was measured at. + white_bits: u32, /// The black level is known to be 0 (the data is black-subtracted in camera). black_zero: bool, forward: Mat3, @@ -102,12 +107,25 @@ struct Profile { black_point: f32, } +impl Profile { + /// The saturation level for `bits`-bit samples. A body that writes several depths stores the + /// lower ones as the deepest value shifted right (a 12-bit D4 sample is the 14-bit sample + /// divided by four), so the level scales by the same power of two. At the depth the level was + /// measured at it is returned unchanged. + fn white_at(&self, bits: u32) -> f32 { + let bits = bits.clamp(1, 16); + let measured = self.white_bits.clamp(1, 16); + if bits >= measured { self.white * f32::from(1u16 << (bits - measured)) } else { self.white / f32::from(1u16 << (measured - bits)) } + } +} + const PROFILES: &[Profile] = &[Profile { make: "NIKON CORPORATION", model: "NIKON D4", size: (4992, 3292), crop: (8, 6, 4928, 3280), white: 15520.0, + white_bits: 14, black_zero: true, forward: D4_FORWARD, color: D4_COLOR, @@ -148,8 +166,9 @@ const IMAGE_AREAS: &[ImageArea] = &[ ]; /// Applies the measured profile of the camera that made `s`, when there is one, -/// and its measured image area when the profile is not measured yet. -pub(crate) fn apply(s: &mut Sensor) { +/// and its measured image area when the profile is not measured yet. `bits` is the depth of +/// the stored samples (the profile's saturation level depends on it). +pub(crate) fn apply(s: &mut Sensor, bits: u32) { let (Some(make), Some(model)) = (s.make.as_deref(), s.model.as_deref()) else { return }; let (make, model) = (make.trim(), model.trim()); if let Some(a) = IMAGE_AREAS.iter().find(|a| a.make == make && a.model == model && a.size == (s.width, s.height) && s.crop == s.active) { @@ -164,7 +183,7 @@ pub(crate) fn apply(s: &mut Sensor) { } let (x, y, w, h) = p.crop; s.crop = Rect::new(x, y, w, h); - s.white = [p.white; 3]; + s.white = [p.white_at(bits); 3]; if p.black_zero { s.warnings.retain(|w| !w.contains("black level not recorded")); } @@ -217,7 +236,7 @@ mod tests { #[test] fn a_d4_nef_gets_its_crop_levels_matrix_and_curve() { let mut s = nef("NIKON D4", 4992, 3292); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(8, 6, 4928, 3280)); assert_eq!(s.white, [15520.0; 3]); assert_eq!(s.color.calibrations.len(), 1); @@ -229,6 +248,28 @@ mod tests { assert!(s.color.balanced_to_xyz_d50([0.5, 1.0, 0.7]).is_some()); } + #[test] + fn the_d4_white_level_follows_the_sample_depth() { + // 14 bits is the depth it was measured at: unchanged. + let mut s = nef("NIKON D4", 4992, 3292); + apply(&mut s, 14); + assert_eq!(s.white, [15520.0; 3]); + // A 12-bit sample is the 14-bit one shifted right by two. + let mut s = nef("NIKON D4", 4992, 3292); + apply(&mut s, 12); + assert_eq!(s.white, [3880.0; 3]); + // Everything else of the profile is independent of the depth. + assert_eq!(s.crop, Rect::new(8, 6, 4928, 3280)); + assert_eq!(s.tone_curve.len(), D4_TONE.len()); + assert!(s.warnings.is_empty()); + // Other depths scale the same way and stay inside their own range; nonsense stays finite. + for (bits, white) in [(1, 15520.0 / 8192.0), (8, 15520.0 / 64.0), (13, 7760.0), (16, 62080.0), (0, 15520.0 / 8192.0), (200, 62080.0)] { + let mut s = nef("NIKON D4", 4992, 3292); + apply(&mut s, bits); + assert_eq!(s.white, [white; 3], "{bits} bits"); + } + } + #[test] fn d5100_image_area_respects_explicit_crops_and_exact_sensor_size() { let mut s = nef("NIKON D5100", 4992, 3280); @@ -236,7 +277,7 @@ mod tests { s.active = Rect::new(0, 0, 4984, 3280); s.crop = s.active; let wb = s.camera_wb; - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(8, 8, 4928, 3264)); assert_eq!(s.active, Rect::new(0, 0, 4984, 3280)); assert_eq!(s.camera_wb, wb); @@ -244,11 +285,11 @@ mod tests { assert_eq!(s.white, [16383.0; 3]); s.crop = Rect::new(16, 12, 4800, 3200); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(16, 12, 4800, 3200)); for (model, w, h) in [("NIKON D5100", 2496, 1640), ("NIKON D5200", 4992, 3280)] { let mut other = nef(model, w, h); - apply(&mut other); + apply(&mut other, 14); assert_eq!(other.crop, other.active); } } @@ -256,36 +297,36 @@ mod tests { #[test] fn measured_image_areas_crop_the_borders_without_touching_the_rest() { let mut s = nef("NIKON D800E", 7424, 4924); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(8, 6, 7360, 4912)); // Only the image area is measured: levels, colour and tone stay untouched. assert!(s.color.calibrations.is_empty() && s.tone_curve.is_empty()); assert_eq!(s.white, [16383.0; 3]); let mut s = sensor("SONY", "ILCE-7", 6048, 4024); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(12, 12, 6000, 4000)); // Another size or model of the same maker is left alone. let mut s = nef("NIKON D800E", 2496, 1646); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(0, 0, 2496, 1646)); let mut s = nef("NIKON D800", 7424, 4924); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(0, 0, 7424, 4924)); } #[test] fn d90_image_area_matches_the_camera_jpeg() { let mut s = nef("NIKON D90", 4352, 2868); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(10, 10, 4288, 2848)); // Only the image area is measured: levels, colour and tone stay untouched. assert!(s.color.calibrations.is_empty() && s.tone_curve.is_empty()); assert_eq!(s.white, [16383.0; 3]); // An explicit crop in the file wins over the measured area. s.crop = Rect::new(0, 0, 4288, 2848); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(0, 0, 4288, 2848)); } @@ -298,7 +339,7 @@ mod tests { calibrations: vec![Calibration { temperature: 6504.0, color_matrix: IDENTITY, forward_matrix: None, camera_calibration: IDENTITY }], ..ColorInfo::default() }; - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.color.calibrations.len(), 1); assert_eq!(s.color.calibrations[0].temperature, 6504.0, "the file's own calibration stands"); assert!(s.tone_curve.is_empty() && s.black_point == 0.0); @@ -309,7 +350,7 @@ mod tests { fn other_cameras_and_sizes_are_left_alone() { for (model, w, h) in [("NIKON D4S", 4992, 3292), ("NIKON D4", 2496, 1646), ("NIKON D800", 7424, 4924)] { let mut s = nef(model, w, h); - apply(&mut s); + apply(&mut s, 14); assert_eq!(s.crop, Rect::new(0, 0, w, h), "{model} {w}x{h}"); assert!(s.tone_curve.is_empty() && s.color.calibrations.is_empty() && s.white == [16383.0; 3]); assert_eq!(s.warnings.len(), 1); diff --git a/crates/raw/src/preview.rs b/crates/raw/src/preview.rs index d5dd013310..a090dee6c7 100644 --- a/crates/raw/src/preview.rs +++ b/crates/raw/src/preview.rs @@ -107,18 +107,30 @@ pub enum PreviewColorSpace { AdobeRgb, } -/// The colour space the raw's EXIF gives for the camera's JPEG rendering, for a preview that declares none itself: -/// ColorSpace (0xA001) 1 = sRGB, or Uncalibrated (0xFFFF) with the Interoperability IFD's InteropIndex "R03", the -/// DCF option file for Adobe RGB (as a Sony body set to Adobe RGB writes; Exif and DCF specifications). `None` when -/// the file doesn't say, and for a DNG, whose EXIF describes the original capture while its previews are the -/// converter's. A preview's own ICC profile takes precedence over this. +/// Nikon maker note tag ColorSpace: 1 = sRGB, 2 = Adobe RGB (4 = BT.2100, which is not a preview colour space we +/// read), from ExifTool's public Nikon tag documentation. +const NIKON_COLOR_SPACE: u16 = 0x001E; + +/// The colour space the raw states for the camera's JPEG rendering, for a preview that declares none itself: +/// * the EXIF ColorSpace (0xA001) 1 = sRGB, or Uncalibrated (0xFFFF) with the Interoperability IFD's InteropIndex +/// "R03", the DCF option file for Adobe RGB (as a Sony body set to Adobe RGB writes; Exif and DCF specifications); +/// * else, where the EXIF doesn't decide, a Nikon maker note's ColorSpace (0x001E): Nikon bodies write no EXIF +/// ColorSpace, and say Adobe RGB only here. +/// +/// `None` when the file doesn't say, and for a DNG, whose EXIF describes the original capture while its previews +/// are the converter's. A preview's own ICC profile takes precedence over this. pub fn embedded_preview_color_space(bytes: &[u8]) -> Option { let t = Tiff::new(bytes)?; let ifd0 = t.ifd_at(t.first_ifd, 0)?; if ifd0.has(tag::DNG_VERSION) { return None; } - let exif = t.ifd_at(t.tag_uint(&ifd0, tag::EXIF_IFD)? as usize, 0)?; + exif_color_space(&t, &ifd0).or_else(|| nikon_color_space(&t)) +} + +/// The colour space the EXIF IFD gives (see [`embedded_preview_color_space`]). +fn exif_color_space(t: &Tiff<'_>, ifd0: &crate::tiff::Ifd) -> Option { + let exif = t.ifd_at(t.tag_uint(ifd0, tag::EXIF_IFD)? as usize, 0)?; match t.tag_uint(&exif, tag::COLOR_SPACE)? { 1 => Some(PreviewColorSpace::Srgb), 0xFFFF => { @@ -129,6 +141,16 @@ pub fn embedded_preview_color_space(bytes: &[u8]) -> Option { } } +/// The colour space a Nikon maker note gives. +fn nikon_color_space(t: &Tiff<'_>) -> Option { + let (note, ifd) = crate::tiffep::nikon_maker_note(t, &t.all_ifds())?; + match note.tag_uint(&ifd, NIKON_COLOR_SPACE)? { + 1 => Some(PreviewColorSpace::Srgb), + 2 => Some(PreviewColorSpace::AdobeRgb), + _ => None, + } +} + #[cfg(test)] mod tests { use super::*; @@ -167,4 +189,95 @@ mod tests { assert_eq!(embedded_preview_color_space(junk), None); } } + + /// The maker note's embedded TIFF stream (`ifd` entries, in the given byte order) behind `header`. + fn maker_note(header: &[u8], tags: Vec<(u16, Val)>, big_endian: bool) -> Vec { + let mut note = TiffBuilder { big_endian, ..Default::default() }; + let ifd = note.ifd(tags); + note.chain = vec![ifd]; + let mut maker = header.to_vec(); + maker.extend(note.build()); + maker + } + + /// A raw whose EXIF IFD holds the entries `exif` makes (it may add directories to the builder) and a maker note. + fn raw_with_note(maker: Vec, exif: impl FnOnce(&mut TiffBuilder) -> Vec<(u16, Val)>, dng: bool) -> Vec { + let mut t = TiffBuilder::default(); + let mut exif = exif(&mut t); + exif.push((tag::MAKER_NOTE, Val::Undefined(maker))); + let exif = t.ifd(exif); + let mut ifd0 = vec![(tag::MAKE, Val::Ascii("NIKON CORPORATION".into())), (tag::EXIF_IFD, Val::Ifds(vec![exif]))]; + if dng { + ifd0.push((tag::DNG_VERSION, Val::Byte(vec![1, 6, 0, 0]))); + } + t.chain = vec![t.ifd(ifd0)]; + t.build() + } + + const NIKON: &[u8] = b"Nikon\0\x02\x10\0\0"; + + /// A Nikon raw whose maker note has ColorSpace `color_space` (when given) and whose EXIF IFD holds `exif`. + fn nikon_raw(color_space: Option, exif: impl FnOnce(&mut TiffBuilder) -> Vec<(u16, Val)>, big_endian: bool) -> Vec { + let tags = color_space.map(|cs| (NIKON_COLOR_SPACE, Val::Short(vec![cs]))).into_iter().chain([(0x0002, Val::Ascii("200".into()))]).collect(); + raw_with_note(maker_note(NIKON, tags, big_endian), exif, false) + } + + /// EXIF entries for a preview in Adobe RGB the way a Sony body writes it: Uncalibrated, Interoperability "R03". + fn exif_r03(t: &mut TiffBuilder) -> Vec<(u16, Val)> { + let interop = t.ifd(vec![(tag::INTEROP_INDEX, Val::Ascii("R03".into()))]); + vec![(tag::COLOR_SPACE, Val::Short(vec![0xFFFF])), (tag::INTEROP_IFD, Val::Ifds(vec![interop]))] + } + + /// Nikon bodies write no EXIF ColorSpace; the maker note's ColorSpace (1 sRGB, 2 Adobe RGB) is + /// what says their JPEG previews are Adobe RGB. + #[test] + fn nikon_maker_note_colour_space_of_the_previews() { + for big_endian in [false, true] { + assert_eq!(embedded_preview_color_space(&nikon_raw(Some(2), |_| vec![], big_endian)), Some(PreviewColorSpace::AdobeRgb), "be {big_endian}"); + assert_eq!(embedded_preview_color_space(&nikon_raw(Some(1), |_| vec![], big_endian)), Some(PreviewColorSpace::Srgb), "be {big_endian}"); + } + // BT.2100 (4), unknown values, a note without the tag + for cs in [Some(4), Some(0), Some(3), Some(0xFFFF), None] { + assert_eq!(embedded_preview_color_space(&nikon_raw(cs, |_| vec![], false)), None, "{cs:?}"); + } + } + + /// The EXIF IFD, when it states a colour space, comes before the maker note; when it does not decide, the + /// maker note does. + #[test] + fn exif_colour_space_comes_before_the_nikon_maker_note() { + // EXIF says sRGB, the note Adobe RGB: EXIF wins. + let raw = nikon_raw(Some(2), |_| vec![(tag::COLOR_SPACE, Val::Short(vec![1]))], false); + assert_eq!(embedded_preview_color_space(&raw), Some(PreviewColorSpace::Srgb)); + // EXIF says Adobe RGB (R03), the note sRGB: EXIF wins. + assert_eq!(embedded_preview_color_space(&nikon_raw(Some(1), exif_r03, false)), Some(PreviewColorSpace::AdobeRgb)); + // EXIF says Uncalibrated without R03, which decides nothing: the note does. + let raw = nikon_raw(Some(2), |_| vec![(tag::COLOR_SPACE, Val::Short(vec![0xFFFF]))], false); + assert_eq!(embedded_preview_color_space(&raw), Some(PreviewColorSpace::AdobeRgb)); + } + + /// Only a Nikon maker note is read, and not for a DNG, whose previews are the converter's. + #[test] + fn only_a_nikon_maker_note_of_a_non_dng_is_read() { + let tags = || vec![(NIKON_COLOR_SPACE, Val::Short(vec![2]))]; + assert_eq!(embedded_preview_color_space(&raw_with_note(maker_note(NIKON, tags(), false), |_| vec![], false)), Some(PreviewColorSpace::AdobeRgb)); + assert_eq!(embedded_preview_color_space(&raw_with_note(maker_note(NIKON, tags(), false), |_| vec![], true)), None); + for header in [&b"OLYMPUS\0II\x03\0"[..], b"SONY DSC \0\0\0", b"Nikon", b""] { + assert_eq!(embedded_preview_color_space(&raw_with_note(maker_note(header, tags(), false), |_| vec![], false)), None, "{header:?}"); + } + } + + /// A maker note that is cut short or points outside the file states nothing, and never panics. + #[test] + fn a_damaged_nikon_maker_note_states_nothing() { + let good = maker_note(NIKON, vec![(NIKON_COLOR_SPACE, Val::Short(vec![2]))], false); + assert_eq!(embedded_preview_color_space(&raw_with_note(good.clone(), |_| vec![], false)), Some(PreviewColorSpace::AdobeRgb)); + for len in 0..good.len() { + let _ = embedded_preview_color_space(&raw_with_note(good[..len].to_vec(), |_| vec![], false)); + } + // the embedded TIFF's first-IFD offset (bytes 14..18 of the note) points outside the file + let mut wild = good.clone(); + wild[14..18].copy_from_slice(&[0xFF; 4]); + assert_eq!(embedded_preview_color_space(&raw_with_note(wild, |_| vec![], false)), None); + } } diff --git a/crates/raw/src/tiffep.rs b/crates/raw/src/tiffep.rs index 25befbddea..003eb3c18c 100644 --- a/crates/raw/src/tiffep.rs +++ b/crates/raw/src/tiffep.rs @@ -66,7 +66,7 @@ pub(crate) fn cfa(t: &Tiff, raw: &Ifd, ifds: &[Ifd]) -> Option { /// Nikon maker note: "Nikon\0", version, then an embedded TIFF header whose /// offsets are relative to itself. -fn nikon_maker_note<'a>(t: &Tiff<'a>, ifds: &[Ifd]) -> Option<(Tiff<'a>, Ifd)> { +pub(crate) fn nikon_maker_note<'a>(t: &Tiff<'a>, ifds: &[Ifd]) -> Option<(Tiff<'a>, Ifd)> { let e = ifds.iter().find_map(|i| i.get(tag::MAKER_NOTE).copied())?; let b = t.raw(&e)?; if !b.starts_with(b"Nikon\0") { @@ -254,7 +254,7 @@ pub(crate) fn decode(t: &Tiff, format: RawFormat, limits: &Limits) -> Result Vec { + let mut out = Vec::new(); + for row in values.chunks_exact(w) { + let (mut acc, mut have) = (0u32, 0u32); + for v in row { + acc |= u32::from(*v) << have; + have += 12; + while have >= 8 { + out.push(acc as u8); + acc >>= 8; + have -= 8; + } + } + if have > 0 { + out.push(acc as u8); + } + } + out +} + /// Losslessly encodes 16-bit RGB as a JPEG XL codestream. fn jxl_rgb16(rgb: &[u16], w: usize, h: usize) -> Vec { use zune_core::{bit_depth::BitDepth, colorspace::ColorSpace, options::EncoderOptions}; @@ -84,6 +107,8 @@ fn samples() -> Vec> { .build(), ); out.push(tiff_ep("NIKON", w, h, &cfa, [0, 1, 1, 2], 12, vec![])); + // A Nikon NEF (packed 12-bit) whose maker note says the previews are Adobe RGB (ColorSpace 0x001E). + out.push(nef_compressed(w, h, 12, pack12(&cfa, w), [0, 1, 1, 2], false, vec![(0x0093, Val::Short(vec![6])), (0x001E, Val::Short(vec![2]))])); let codes = mosaic(&scene(64, 6), 64, [0, 1, 1, 2], 256, 1900); out.push(sony_craw(64, 6, &codes, [8000, 10400, 12900, 14100])); out.push(rw2(30, 8, &mosaic(&scene(30, 8), 30, [0, 1, 1, 2], 128, 4095), 12)); @@ -126,6 +151,12 @@ fn originals_develop() { } } +#[test] +fn a_seed_states_a_maker_note_colour_space() { + // The truncation and corruption tests below only exercise the maker-note reader if a seed has one. + assert!(samples().iter().any(|b| embedded_preview_color_space(b) == Some(PreviewColorSpace::AdobeRgb))); +} + #[test] fn every_truncation_fails_cleanly() { for b in samples() { diff --git a/crates/raw/tests/nikon_d4_depth.rs b/crates/raw/tests/nikon_d4_depth.rs new file mode 100644 index 0000000000..26076c7e88 --- /dev/null +++ b/crates/raw/tests/nikon_d4_depth.rs @@ -0,0 +1,44 @@ +//! The Nikon D4 profile (`cameras.rs`) was measured on 14-bit NEFs. The camera also writes 12-bit +//! files (lossless, lossy and uncompressed) whose samples are the 14-bit values shifted right by +//! two, so the profile's saturation level must follow the sample depth: a 12-bit D4 frame has to +//! develop as bright as the same scene at 14 bits. + +use photocraft_raw::testgen::{Val, tiff_ep}; +use photocraft_raw::{Demosaic, DevelopOptions, Limits, Rect, WhiteBalance, decode, develop_sensor}; + +const WIDTH: usize = 4992; +const HEIGHT: usize = 3292; + +/// A synthetic D4 NEF: a smooth ramp, 14-bit values (3000..7000, well below the saturation +/// level) stored at `bits`. +fn d4_nef(bits: u16) -> Vec { + let shift = 14 - u32::from(bits); + let data: Vec = (0..WIDTH * HEIGHT).map(|i| (3000 + ((i % WIDTH) + 2 * (i / WIDTH)) % 4000) as u16 >> shift).collect(); + tiff_ep("NIKON CORPORATION", WIDTH, HEIGHT, &data, [0, 1, 1, 2], bits, vec![(272, Val::Ascii("NIKON D4".into()))]) +} + +/// Mean linear luminance of the developed ProPhoto frame over a small window of the image. +fn mean_luminance(bits: u16) -> (f32, f64) { + let mut s = decode(&d4_nef(bits), &Limits::default()).expect("a synthetic D4 NEF decodes"); + let white = s.white[1]; + // Only a window is developed: the profile is keyed on the full sensor size, the test is not. + s.crop = Rect::new(2000, 1000, 64, 64); + let opts = DevelopOptions { demosaic: Demosaic::Bilinear, white_balance: WhiteBalance::Multipliers([2.0, 1.0, 1.5]), ..DevelopOptions::default() }; + let d = develop_sensor(&s, &opts).expect("a synthetic D4 NEF develops"); + let lin = |v: u16| (f64::from(v) / 65535.0).powf(1.8); + let pixels = d.rgb.as_chunks::<3>().0; + let y: f64 = pixels.iter().map(|p| 0.2880402 * lin(p[0]) + 0.7118741 * lin(p[1]) + 0.0000857 * lin(p[2])).sum(); + (white, y / pixels.len() as f64) +} + +#[test] +fn a_12_bit_d4_nef_develops_as_bright_as_the_same_scene_at_14_bit() { + let (white14, y14) = mean_luminance(14); + let (white12, y12) = mean_luminance(12); + let stops = (y12 / y14).log2(); + assert!(stops.abs() < 0.2, "12-bit differs from 14-bit by {stops:.2} stops (mean Y {y12:.4} vs {y14:.4})"); + // The 14-bit level is the measured one, untouched. + assert_eq!(white14, 15520.0); + // The 12-bit level is the same fraction of the (4095-range) data. + assert_eq!(white12, 3880.0); +} diff --git a/crates/ui-egui/src/actions.rs b/crates/ui-egui/src/actions.rs index 8a7ce9bf39..34d9ab466c 100644 --- a/crates/ui-egui/src/actions.rs +++ b/crates/ui-egui/src/actions.rs @@ -95,8 +95,32 @@ pub(crate) fn assign_shortcut(app: &mut PhotocraftApp, name: &str, shortcut: &st /// Replay edits synchronously, with view steps handled by the shell in the same order. /// Engine steps keep the headless action semantics (no dialogs or background jobs). pub(crate) fn play(app: &mut PhotocraftApp, params: &Value) -> Result { - let (action, from) = actions_cmds::playback_plan(&app.session, params).map_err(|e| e.to_string())?; - let recording = actions_cmds::begin_playback(&mut app.session, &action).map_err(|e| e.to_string())?; + play_owned(app, params, None) +} + +/// `suspended` is the recording a paused part of the same call took (`RECORD`); it comes +/// back, with that named call journaled, only when the whole call ends. +fn play_owned(app: &mut PhotocraftApp, params: &Value, suspended: Option) -> Result { + let (action, from) = match actions_cmds::playback_plan(&app.session, params) { + Ok(plan) => plan, + Err(e) => { + restore_recording(app, suspended.as_ref()); + return Err(e.to_string()); + } + }; + let recording = match actions_cmds::begin_playback(&mut app.session, &action) { + Ok(r) => r, + Err(e) => { + restore_recording(app, suspended.as_ref()); + return Err(e.to_string()); + } + }; + let owner = recording + .map(|(_, idx)| { + let into = app.session.actions.list.get(idx).map(|a| a.name.clone()); + json!({"index": idx, "into": into, "action": action.name, "from": from}) + }) + .or(suspended); let mut ran = 0u64; let mut failed = None; let mut paused = None; @@ -155,7 +179,18 @@ pub(crate) fn play(app: &mut PhotocraftApp, params: &Value) -> Result match (owner, d.fields.get_mut(RESUME)) { + (Some(owner), Some(Value::Object(r))) => { + r.insert(RECORD.into(), owner); + } + // No continuation to carry the recording: the call ends here. + (owner, _) => restore_recording(app, owner.as_ref()), + }, + _ => restore_recording(app, owner.as_ref()), + } Ok(match (failed, paused) { (Some(f), _) => json!({"action": action.name, "ran": ran, "failed": f}), (None, Some(p)) => json!({"action": action.name, "ran": ran, "paused": p}), @@ -435,21 +470,74 @@ pub fn insert_stop_confirm(app: &mut PhotocraftApp, fields: &serde_json::Map) { + let Some(owner) = owner else { return }; + let (Some(idx), Some(into), Some(name)) = ( + owner.get("index").and_then(Value::as_u64).and_then(|n| usize::try_from(n).ok()), + owner.get("into").and_then(Value::as_str), + owner.get("action").and_then(Value::as_str), + ) else { + return; + }; + let from = owner.get("from").and_then(Value::as_u64).and_then(|n| usize::try_from(n).ok()).unwrap_or(0); + // `suspended_guard` refuses what would move the recorded action, but another command may + // still replace the list: the call goes to the action of that name, never to whatever now + // sits at the old index, and is dropped if that action is gone. + let list = &app.session.actions.list; + let target = if list.get(idx).is_some_and(|a| a.name == into) { Some(idx) } else { list.iter().position(|a| a.name == into) }; + if let Some(idx) = target + && app.session.actions.recording.is_none() + { + actions_cmds::restore_recording(&mut app.session, idx, name, from); + } +} + +/// Whether a step dialog holds a suspended recording. +fn suspended(app: &PhotocraftApp) -> bool { + app.ui.dialogs.iter().any(|d| d.fields.get(RESUME).and_then(|r| r.get(RECORD)).is_some()) +} + +/// While a step dialog holds a suspended recording, refuse what would lose its call: a new +/// recording (the restore would find recording taken) or deleting/moving actions (the recorded +/// action could go away or change place). The engine checks these against `recording`, which +/// is `None` then. +pub(crate) fn suspended_guard(app: &PhotocraftApp, id: &str) -> Result<(), String> { + if matches!(id, "actions.record" | "actions.delete" | "actions.move") && suspended(app) { + return Err(tl!("Confirm or cancel the open action step dialog first").into()); + } + Ok(()) +} + +/// A step dialog's command failed: the action ends there. +pub fn abandoned(app: &mut PhotocraftApp, fields: &serde_json::Map) { + restore_recording(app, fields.get(RESUME).and_then(|r| r.get(RECORD))); +} + /// A step dialog confirmed: continue the action after it (`dialogs::confirm` calls this). pub fn resume(app: &mut PhotocraftApp, fields: &serde_json::Map) -> Result<(), String> { let Some(r) = fields.get(RESUME) else { return Ok(()) }; + let owner = r.get(RECORD).cloned(); // The dialog's command may run as a background job; the next step needs its result. if let Some(doc) = app.session.active().map(|d| d.doc.id) && let Some(job) = app.session.job_on(doc) && let Err(e) = app.session.wait_job(job.id) { + restore_recording(app, owner.as_ref()); let template = "Action playback failed: {error}"; app.ui.status = crate::i18n::fmt(tl!(template), &[("error", &e.to_string())]); app.ui.status_error = true; return Err(e.to_string()); } let params = json!({"action": r.get("action").cloned().unwrap_or(Value::Null), "from": r.get("from").cloned().unwrap_or(Value::Null)}); - match play(app, ¶ms) { + match play_owned(app, ¶ms, owner) { Ok(v) => { report_play(app, &v); Ok(()) @@ -466,6 +554,7 @@ pub fn resume(app: &mut PhotocraftApp, fields: &serde_json::Map) /// A step dialog cancelled: the action stops there, as in Photoshop. pub fn stopped(app: &mut PhotocraftApp, fields: &serde_json::Map) { if fields.contains_key(RESUME) { + abandoned(app, fields); app.ui.status = tl!("Action playback stopped").to_string(); app.ui.status_error = false; } @@ -1688,6 +1777,134 @@ mod tests { assert!(v.get("paused").is_none()); } + /// An 8×6 document, a Child action whose first step (a blur) shows its dialog and whose + /// second step adds a "Suffix" layer, and recording into Owner started. + fn recording_with_dialog_child() -> PhotocraftApp { + let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default()); + app.run("file.new", json!({"width": 8, "height": 6, "background": "#203040"})).unwrap(); + let mut child = + Action::new("Child", vec![("filter.blur.gaussianBlur".into(), json!({"radius": 1.5})), ("layer.new.layer".into(), json!({"name": "Suffix"}))]); + child.dialogs.insert(0); + app.session.actions.list.push(child); + app.run("actions.record", json!({"name": "Owner"})).unwrap(); + app + } + + fn suffixes(app: &PhotocraftApp) -> usize { + app.session.active().unwrap().doc.walk().iter().filter(|(_, _, l)| l.name == "Suffix").count() + } + + fn child_call() -> Vec<(String, Value)> { + vec![("actions.play".to_string(), json!({"action": "Child"}))] + } + + /// Play Child and return the id of its step dialog. + fn pause_child(app: &mut PhotocraftApp) -> u64 { + let v = play(app, &json!({"action": "Child"})).unwrap(); + v["paused"]["dialog"].as_u64().unwrap() + } + + #[test] + fn a_recorded_call_paused_by_a_dialog_records_one_call_and_replays_once() { + let mut app = recording_with_dialog_child(); + let refusal = crate::i18n::t("Confirm or cancel the open action step dialog first").to_string(); + + // Confirm: the dialog command and the resumed rest stay inside the one named call. + let live = app.session.journal.len(); + let id = pause_child(&mut app); + assert!(app.session.actions.recording.is_none(), "recording stays suspended while the step dialog is open"); + let names = |app: &PhotocraftApp| app.session.actions.list.iter().map(|a| a.name.clone()).collect::>(); + let before = names(&app); + assert_eq!(app.run("actions.record", json!({"name": "Intruder"})), Err(refusal.clone()), "no second recording while the call is suspended"); + assert_eq!(app.run("actions.delete", json!({"action": "Owner"})), Err(refusal.clone()), "the suspended owner can't be deleted"); + assert_eq!(app.run("actions.move", json!({"action": "Owner", "to": 0})), Err(refusal.clone()), "the suspended owner can't be moved"); + assert_eq!(names(&app), before, "the refused commands leave the list alone"); + crate::dialogs::confirm(&mut app, id).unwrap(); + assert!(app.session.actions.recording.is_some(), "recording comes back when the call completes"); + app.run("actions.stop", json!({})).unwrap(); + assert_eq!(app.session.actions.list[1].steps, child_call()); + assert_eq!(suffixes(&app), 1); + + // Replaying the recording repeats the call once. + app.run("file.new", json!({"width": 8, "height": 6})).unwrap(); + let start = app.session.journal.len(); + app.automation_input = true; + let v = play(&mut app, &json!({"action": "Owner"})).unwrap(); + app.automation_input = false; + assert!(v.get("failed").is_none(), "{v}"); + assert_eq!(suffixes(&app), 1, "replay creates the suffix once"); + let edits = |from: usize| -> Vec<(String, Value)> { + app.session.journal[from..].iter().filter(|(id, _)| !id.starts_with("actions.") && id != "file.new").cloned().collect() + }; + let expected = vec![("filter.blur.gaussianBlur".to_string(), json!({"radius": 1.5})), ("layer.new.layer".to_string(), json!({"name": "Suffix"}))]; + assert_eq!(edits(start), expected, "replay journals the blur and the suffix once each, in order"); + assert_eq!(edits(live), expected[..].iter().chain(&expected).cloned().collect::>(), "live then replay"); + + // Cancel: the call ends at the dialog and is recorded once. + app.run("actions.record", json!({"name": "Cancelled"})).unwrap(); + let id = pause_child(&mut app); + crate::dialogs::cancel(&mut app, id).unwrap(); + assert!(app.session.actions.recording.is_some(), "cancel restores recording"); + app.run("actions.stop", json!({})).unwrap(); + assert_eq!(app.session.actions.list[2].steps, child_call()); + } + + #[test] + fn a_failing_step_dialog_command_ends_the_recorded_call_once() { + let mut app = recording_with_dialog_child(); + let id = pause_child(&mut app); + assert!(app.session.actions.recording.is_none(), "recording stays suspended while the step dialog is open"); + app.ui.dialog_mut(id).unwrap().fields.insert("radius".into(), json!("not a radius")); + assert!(crate::dialogs::confirm(&mut app, id).is_err(), "the dialog command fails"); + assert!(app.session.actions.recording.is_some(), "recording comes back when the dialog command fails"); + assert_eq!(suffixes(&app), 0, "the action stops at the failed step"); + app.run("actions.stop", json!({})).unwrap(); + assert_eq!(app.session.actions.list[1].steps, child_call()); + } + + #[test] + fn a_failing_resumed_playback_ends_the_recorded_call_once() { + let mut app = recording_with_dialog_child(); + let id = pause_child(&mut app); + // The rest of the call can't be found any more: resuming it fails. + app.session.actions.list[0].name = "Renamed".into(); + assert!(crate::dialogs::confirm(&mut app, id).is_err(), "the resumed playback fails"); + assert!(app.session.actions.recording.is_some(), "recording comes back when the resumed playback fails"); + app.run("actions.stop", json!({})).unwrap(); + assert_eq!(app.session.actions.list[1].steps, child_call()); + } + + #[test] + fn a_suspended_call_is_recorded_into_its_action_after_the_list_changes() { + let mut app = recording_with_dialog_child(); + let id = pause_child(&mut app); + // Something else puts an action where Owner was. + app.session.actions.list.insert(1, Action::new("Bystander", vec![])); + crate::dialogs::confirm(&mut app, id).unwrap(); + app.run("actions.stop", json!({})).unwrap(); + assert!(app.session.actions.list[1].steps.is_empty(), "the action now at the old index gets nothing"); + assert_eq!(app.session.actions.list[2].name, "Owner"); + assert_eq!(app.session.actions.list[2].steps, child_call()); + } + + #[test] + fn escape_on_a_step_dialog_ends_the_recorded_call_once() { + let app = recording_with_dialog_child(); + let mut h = egui_kittest::Harness::builder().with_size(vec2(900.0, 700.0)).build_ui_state(|ui, app| crate::dialogs::show(app, ui.ctx()), app); + PhotocraftApp::setup_context(&h.ctx, crate::theme::ThemeKind::ALL[0]); + h.run_steps(2); + pause_child(h.state_mut()); + h.run_steps(4); + assert!(h.state().session.actions.recording.is_none(), "recording stays suspended while the step dialog is open"); + h.key_press(egui::Key::Escape); + h.run_steps(2); + assert!(h.state().ui.dialogs.is_empty(), "Esc closes the step dialog"); + assert!(h.state().session.actions.recording.is_some(), "Esc restores recording"); + let app = h.state_mut(); + app.run("actions.stop", json!({})).unwrap(); + assert_eq!(app.session.actions.list[1].steps, child_call()); + } + #[test] fn button_mode_plays_the_clicked_action_and_hides_its_steps() { use egui_kittest::{Harness, kittest::Queryable}; diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rs index 3a6fa065e9..c197989685 100644 --- a/crates/ui-egui/src/canvas.rs +++ b/crates/ui-egui/src/canvas.rs @@ -4363,10 +4363,20 @@ pub fn canvas_view(app: &mut PhotocraftApp, ui: &mut egui::Ui, idx: usize, rect: app.hover_doc = response.hover_pos().map(|p| xf.to_doc(p)); } if primary && app.ui.extras.rulers { + let before = app.guide_drag; crate::rulers::draw_rulers(app, ui, full, &xf); + // A guide dragged out of a ruler moved after this frame drew it: draw it again where it is. + if app.guide_drag != before { + ctx.request_repaint(); + } } else if app.ui.extras.rulers { crate::rulers::paint_rulers(app, ui, full, &xf, &doc); } + // After the ruler drags above, so the readout shows where the guide is now, and not after a + // release ended the drag. + if app.session.active_index() == Some(idx) { + crate::rulers::draw_guide_drag_readout(app, &ctx); + } crate::rotate_view::overlay(app, &ctx, &painter, &xf, &mut view, &response); if primary { // Tool input can change the stored camera while navigation edits the local view. diff --git a/crates/ui-egui/src/dialogs.rs b/crates/ui-egui/src/dialogs.rs index 3fe62df427..04eb0d0d47 100644 --- a/crates/ui-egui/src/dialogs.rs +++ b/crates/ui-egui/src/dialogs.rs @@ -654,6 +654,7 @@ pub fn confirm(app: &mut PhotocraftApp, id: u64) -> Result { DialogKind::Command => { let Some(cmd) = d.fields.get("__command").and_then(Value::as_str).map(str::to_string) else { app.filter_preview = None; + crate::actions::abandoned(app, &d.fields); return Err("dialog has no command".into()); }; if crate::filter_dialog::needs_displace_map(&cmd, &crate::filter_dialog::params_of(&d.fields)) { @@ -679,6 +680,8 @@ pub fn confirm(app: &mut PhotocraftApp, id: u64) -> Result { crate::filter_dialog::remember(app, &cmd, &d.fields); // A step dialog of a playing action: the action continues after it. crate::actions::resume(app, &d.fields)?; + } else { + crate::actions::abandoned(app, &d.fields); } result } diff --git a/crates/ui-egui/src/field_wheel.rs b/crates/ui-egui/src/field_wheel.rs new file mode 100644 index 0000000000..92b15965dc --- /dev/null +++ b/crates/ui-egui/src/field_wheel.rs @@ -0,0 +1,383 @@ +//! The mouse wheel on value fields (#5473, #4061): one step a notch, as the Up/Down keys (×10 +//! with Shift). +//! +//! - While a field has keyboard focus, the wheel steps it wherever the pointer is. [`begin_frame`] +//! takes the wheel out of the frame's input before anything is laid out, so neither the canvas +//! nor a panel scrolls or zooms with it. ⌥/Alt and ⌘/Ctrl + wheel stay the view's. +//! - Over a field without focus, the wheel steps it too, but only a gesture that starts over it: +//! a panel being scrolled keeps scrolling when a field passes under the pointer. A gesture that +//! leaves the field is the view's from then on. + +use egui::{Context, Event, Id, MouseWheelUnit, Rect, Ui, Vec2}; + +/// Wheel events this close together (seconds) are one gesture. +const GESTURE_GAP: f64 = 0.3; + +/// Who a wheel gesture belongs to. +#[derive(Clone, Copy, Debug, PartialEq)] +enum Owner { + /// It started this frame and no field has taken it yet. + New, + Field(Id), + /// It started where no field took it (a panel, the canvas). + Elsewhere, +} + +#[derive(Clone, Copy, Debug)] +struct Gesture { + last: f64, + owner: Owner, +} + +fn gesture_id() -> Id { + Id::new("pc-field-wheel-gesture") +} + +fn focused_id() -> Id { + Id::new("pc-field-wheel-focused") +} + +fn taken_id() -> Id { + Id::new("pc-field-wheel-taken") +} + +/// A wheel event a field takes: plain or Shift, not the view's Alt or Ctrl/Cmd zoom, nor a plain +/// sideways scroll (a trackpad swipe pans the view; Shift+wheel can arrive sideways). An event +/// with no delta at all counts: macOS starts a trackpad gesture with one, and it is what lets a +/// field under the pointer claim the gesture. +fn for_field(e: &Event) -> bool { + matches!(e, Event::MouseWheel { delta, modifiers, .. } + if (delta.y != 0.0 || delta.x == 0.0 || modifiers.shift) && !modifiers.alt && !modifiers.ctrl && !modifiers.command && !modifiers.mac_cmd) +} + +/// Before this frame's UI is laid out: hand the wheel to the focused value field, if any, and +/// follow which gesture the wheel is in. +pub fn begin_frame(ctx: &Context) { + ctx.data_mut(|d| d.remove::>(taken_id())); + // (the field's widget id, its slot id): focus is the widget's, a gesture the slot's. + let focused = ctx.data(|d| d.get_temp::<(Id, Id)>(focused_id())).filter(|(id, _)| ctx.memory(|m| m.has_focus(*id))); + let (now, wheel) = ctx.input(|i| (i.time, i.events.iter().any(|e| matches!(e, Event::MouseWheel { .. })))); + if let Some((_, field)) = focused { + let (taken, view_wheel): (Vec, bool) = ctx.input_mut(|i| { + let (taken, rest) = std::mem::take(&mut i.events).into_iter().partition(for_field); + i.events = rest; + (taken, i.events.iter().any(|e| matches!(e, Event::MouseWheel { .. }))) + }); + if wheel { + // The latest wheel is the view's when any of it was left to the view (Alt, Ctrl/Cmd). + let owner = if view_wheel { Owner::Elsewhere } else { Owner::Field(field) }; + ctx.data_mut(|d| d.insert_temp(gesture_id(), Gesture { last: now, owner })); + } + if !taken.is_empty() { + ctx.data_mut(|d| d.insert_temp(taken_id(), taken)); + } + // egui spreads each notch over a few frames: the tail of the field's own notches scrolls + // nothing, while the view's keeps all of its own. + if ctx.data(|d| d.get_temp::(gesture_id())).is_some_and(|g| g.owner == Owner::Field(field)) { + ctx.input_mut(|i| i.smooth_scroll_delta = Vec2::ZERO); + } + return; + } + if !wheel { + return; + } + let gesture = ctx.data(|d| d.get_temp::(gesture_id())); + let owner = match gesture { + Some(g) if now - g.last <= GESTURE_GAP => match g.owner { + // No field took it when it started. + Owner::New => Owner::Elsewhere, + owner => owner, + }, + _ => Owner::New, + }; + ctx.data_mut(|d| d.insert_temp(gesture_id(), Gesture { last: now, owner })); +} + +/// Record that value field `id` (whose slot is `field`, as given to [`notches`]) has keyboard +/// focus this frame, so the wheel is its next frame. +pub fn set_focused(ctx: &Context, id: Id, field: Id) { + ctx.data_mut(|d| d.insert_temp(focused_id(), (id, field))); +} + +/// Wheel notches for the value field `field` in `rect` this frame (up positive, Shift ×10): +/// all of the wheel while it is `focused`, else a gesture that started with the pointer over it. +pub fn notches(ui: &Ui, field: Id, focused: bool, rect: Rect) -> f32 { + let events: Vec = if focused { + ui.data_mut(|d| d.remove_temp::>(taken_id())).unwrap_or_default() + } else { + if !ui.is_enabled() { + return 0.0; + } + let Some(mut g) = ui.data(|d| d.get_temp::(gesture_id())) else { return 0.0 }; + let (events, wheel): (Vec, bool) = + ui.input(|i| (i.events.iter().filter(|e| for_field(e)).cloned().collect(), i.events.iter().any(|e| matches!(e, Event::MouseWheel { .. })))); + // Wheel the field doesn't take (a sideways swipe after a zero-delta start), or any wheel + // with the pointer off the field, hands the rest of the gesture to the view: coming back + // over the field in the same gesture doesn't step it. + if g.owner == Owner::Field(field) && wheel && (events.is_empty() || !ui.rect_contains_pointer(rect)) { + g.owner = Owner::Elsewhere; + ui.data_mut(|d| d.insert_temp(gesture_id(), g)); + return 0.0; + } + if !ui.rect_contains_pointer(rect) { + return 0.0; + } + match g.owner { + Owner::New if !events.is_empty() => { + g.owner = Owner::Field(field); + ui.data_mut(|d| d.insert_temp(gesture_id(), g)); + } + Owner::Field(id) if id == field => {} + _ => return 0.0, + } + // Nothing under the field scrolls with the wheel that steps it, smoothed tail included. + ui.ctx().input_mut(|i| i.smooth_scroll_delta = Vec2::ZERO); + events + }; + let wheel: Vec<(MouseWheelUnit, Vec2, bool)> = events + .iter() + .filter_map(|e| match e { + Event::MouseWheel { unit, delta, modifiers, .. } if for_field(e) => Some((*unit, *delta, modifiers.shift)), + _ => None, + }) + .collect(); + crate::widgets::count_notches(ui, field.with("wheel-acc"), &wheel, 10.0) +} + +#[cfg(test)] +mod tests { + use egui::accesskit::Role; + use egui::{Modifiers, Pos2, vec2}; + use egui_kittest::Harness; + use egui_kittest::kittest::Queryable; + + /// The value, the scroll area's vertical offset, whether the field is enabled, and the + /// horizontal offset. + type State = (f32, f32, bool, f32); + + /// A value field (0–1000) at the top left of a scroll area 100 pt tall, beside and above a + /// large filler. + fn harness(value: f32) -> Harness<'static, State> { + harness_stepping(value, 0.25) + } + + /// [`harness`] with each step `step_dt` seconds long. + fn harness_stepping(value: f32, step_dt: f32) -> Harness<'static, State> { + let mut h = Harness::builder().with_size(vec2(300.0, 200.0)).with_step_dt(step_dt).build_ui_state( + |ui, s: &mut State| { + super::begin_frame(ui.ctx()); + let out = egui::ScrollArea::both().max_height(100.0).max_width(200.0).show(ui, |ui| { + ui.add_enabled_ui(s.2, |ui| crate::widgets::value_field(ui, &mut s.0, 0.0..=1000.0, "px", 90.0)); + ui.allocate_space(vec2(1000.0, 1000.0)); + }); + s.1 = out.state.offset.y; + s.3 = out.state.offset.x; + }, + (value, 0.0, true, 0.0), + ); + h.run(); + h + } + + fn field(h: &Harness<'static, State>) -> egui::Rect { + h.get_by_role(Role::SpinButton).rect() + } + + /// `lines` wheel lines (up positive) at `at`, then let the gesture end. + fn wheel(h: &mut Harness<'static, State>, at: Pos2, lines: f32, modifiers: Modifiers) { + h.hover_at(at); + h.run_steps(1); + h.event(egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(0.0, lines), phase: egui::TouchPhase::Move, modifiers }); + h.run_steps(4); + } + + #[test] + fn the_wheel_over_a_field_steps_it_and_scrolls_nothing() { + let mut h = harness(100.0); + let at = field(&h).center(); + wheel(&mut h, at, 1.0, Modifiers::NONE); + assert_eq!(h.state().0, 101.0); + wheel(&mut h, at, -3.0, Modifiers::NONE); + assert_eq!(h.state().0, 98.0); + wheel(&mut h, at, 1.0, Modifiers::SHIFT); + assert_eq!(h.state().0, 108.0, "Shift: ten a notch"); + assert_eq!(h.state().1, 0.0, "the panel under the field didn't scroll"); + } + + #[test] + fn a_focused_field_takes_the_wheel_wherever_the_pointer_is() { + let mut h = harness(100.0); + h.get_by_role(Role::SpinButton).click(); + h.run(); + let away = field(&h).center() + vec2(0.0, 60.0); + wheel(&mut h, away, -2.0, Modifiers::NONE); + assert_eq!(h.state().0, 98.0); + assert_eq!(h.state().1, 0.0, "the panel under the pointer didn't scroll"); + assert!(h.get_by_role(Role::SpinButton).is_focused(), "the field keeps focus"); + // Alt + wheel stays the view's (zoom), not the field's. + wheel(&mut h, away, 1.0, Modifiers::ALT); + assert_eq!(h.state().0, 98.0); + } + + #[test] + fn a_gesture_that_starts_over_the_panel_keeps_scrolling_it_over_a_field() { + let mut h = harness(100.0); + let below = field(&h).center() + vec2(0.0, 40.0); + h.hover_at(below); + h.run_steps(1); + let down = + || egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(0.0, -1.0), phase: egui::TouchPhase::Move, modifiers: Modifiers::NONE }; + h.event(down()); + h.run_steps(1); + // Still the same gesture as the pointer reaches a field. + h.hover_at(field(&h).center()); + h.event(down()); + h.run_steps(1); + assert_eq!(h.state().0, 100.0, "the field passing under the pointer is not stepped"); + assert!(h.state().1 > 0.0, "the panel scrolled"); + } + + /// A plain sideways scroll (a trackpad swipe) is the view's, focused or hovered; Shift+wheel + /// that the system turned sideways still steps by ten. + #[test] + fn a_sideways_scroll_steps_a_field_only_with_shift() { + for focus in [false, true] { + for (m, want) in [(Modifiers::NONE, 100.0), (Modifiers::SHIFT, 110.0)] { + let mut h = harness(100.0); + if focus { + h.get_by_role(Role::SpinButton).click(); + h.run(); + } + let at = field(&h).center(); + h.hover_at(at); + h.run_steps(1); + h.event(egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(1.0, 0.0), phase: egui::TouchPhase::Move, modifiers: m }); + h.run_steps(4); + assert_eq!(h.state().0, want, "focus {focus}, {m:?}"); + } + } + } + + /// A trackpad gesture that macOS starts with a zero-delta event, then moves a frame later, + /// steps the field under the pointer. + #[test] + fn a_trackpad_gesture_that_starts_with_no_delta_steps_a_hovered_field() { + let mut h = harness(100.0); + h.hover_at(field(&h).center()); + h.run_steps(1); + let ev = |phase, y| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(0.0, y), phase, modifiers: Modifiers::NONE }; + h.event(ev(egui::TouchPhase::Start, 0.0)); + h.run_steps(1); + h.event(ev(egui::TouchPhase::Move, 2.0)); + h.run_steps(4); + assert_eq!(h.state().0, 102.0); + assert_eq!(h.state().1, 0.0, "the panel didn't scroll"); + } + + /// A trackpad gesture that starts with a zero-delta event over a field, then swipes sideways, + /// pans the view and leaves the field alone. + #[test] + fn a_sideways_swipe_after_a_zero_delta_start_pans_the_view() { + let mut h = harness(100.0); + h.hover_at(field(&h).center()); + h.run_steps(1); + let ev = |phase, x| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(x, 0.0), phase, modifiers: Modifiers::NONE }; + h.event(ev(egui::TouchPhase::Start, 0.0)); + h.run_steps(1); + h.event(ev(egui::TouchPhase::Move, -2.0)); + h.run_steps(4); + assert_eq!(h.state().0, 100.0, "the field was not stepped"); + assert!(h.state().3 > 0.0, "the panel panned sideways"); + } + + /// The same swipe with the pointer off the field hands the gesture to the view too: coming + /// back over the field in the same gesture doesn't step it. + #[test] + fn a_sideways_swipe_off_the_field_keeps_the_rest_of_the_gesture_the_views() { + // Short frames: moving the pointer takes a frame of its own, and the gesture must not end. + let mut h = harness_stepping(100.0, 1.0 / 30.0); + h.hover_at(field(&h).center()); + h.run_steps(1); + let ev = |phase, unit, d| egui::Event::MouseWheel { unit, delta: d, phase, modifiers: Modifiers::NONE }; + h.event(ev(egui::TouchPhase::Start, egui::MouseWheelUnit::Point, vec2(0.0, 0.0))); + h.run_steps(1); + // A short swipe, so the field stays in view. + h.hover_at(field(&h).center() + vec2(0.0, 40.0)); + h.event(ev(egui::TouchPhase::Move, egui::MouseWheelUnit::Point, vec2(-10.0, 0.0))); + h.run_steps(1); + h.hover_at(field(&h).center()); + h.event(ev(egui::TouchPhase::Move, egui::MouseWheelUnit::Line, vec2(0.0, -1.0))); + h.run_steps(4); + assert_eq!(h.state().0, 100.0, "the field was not stepped"); + assert!(h.state().1 > 0.0, "the panel scrolled"); + } + + /// A gesture that steps a field, then wheels on with the pointer off it, is the view's from + /// then on: coming back over the field in the same gesture doesn't step it again. + #[test] + fn a_gesture_that_wheels_off_the_field_does_not_step_it_on_coming_back() { + // Short frames: moving the pointer takes a frame of its own, and the gesture must not end. + let mut h = harness_stepping(100.0, 1.0 / 30.0); + h.hover_at(field(&h).center()); + h.run_steps(1); + // Up, so the panel (already at the top) doesn't move the field. + let up = + || egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(0.0, 1.0), phase: egui::TouchPhase::Move, modifiers: Modifiers::NONE }; + h.event(up()); + h.run_steps(1); + assert_eq!(h.state().0, 101.0); + h.hover_at(field(&h).center() + vec2(0.0, 40.0)); + h.event(up()); + h.run_steps(1); + h.hover_at(field(&h).center()); + h.event(up()); + h.run_steps(4); + assert_eq!(h.state().0, 101.0, "the field was stepped once, by the start of the gesture"); + } + + #[test] + fn a_disabled_field_ignores_the_wheel() { + let mut h = harness(100.0); + h.state_mut().2 = false; + h.run(); + let at = field(&h).center(); + wheel(&mut h, at, 1.0, Modifiers::NONE); + assert_eq!(h.state().0, 100.0); + } + + #[test] + fn wild_wheel_deltas_leave_a_finite_value_in_range() { + // egui itself asserts on a non-finite wheel event in debug builds: `count_notches` is checked + // with those below. + for lines in [1e30, -1e30, 1e6, -1e6] { + for focus in [false, true] { + let mut h = harness(100.0); + if focus { + h.get_by_role(Role::SpinButton).click(); + h.run(); + } + let at = field(&h).center(); + wheel(&mut h, at, lines, Modifiers::SHIFT); + let v = h.state().0; + assert!(v.is_finite() && (0.0..=1000.0).contains(&v), "{lines} (focus {focus}): {v}"); + } + } + } + + #[test] + fn notches_of_nan_or_infinite_deltas_are_none() { + use egui::MouseWheelUnit::{Line, Point}; + let ctx = egui::Context::default(); + let mut out = ctx.run_ui(Default::default(), |ui| { + let id = egui::Id::new("acc"); + for d in [f32::NAN, f32::INFINITY, f32::NEG_INFINITY] { + for unit in [Line, Point] { + assert_eq!(crate::widgets::count_notches(ui, id, &[(unit, vec2(0.0, d), false)], 10.0), 0.0, "{d} {unit:?}"); + // Nothing poisoned is carried over to the next notch. + assert_eq!(crate::widgets::count_notches(ui, id, &[(Line, vec2(0.0, 1.0), true)], 10.0), 10.0); + } + } + }); + out.textures_delta.clear(); + } +} diff --git a/crates/ui-egui/src/field_wheel_app_tests.rs b/crates/ui-egui/src/field_wheel_app_tests.rs new file mode 100644 index 0000000000..6d4f56db3e --- /dev/null +++ b/crates/ui-egui/src/field_wheel_app_tests.rs @@ -0,0 +1,105 @@ +//! #5473 in the app: a focused value field takes the wheel over the canvas, which neither pans +//! nor zooms with it. + +use egui::accesskit::Role; +use egui::vec2; +use egui_kittest::Harness; +use egui_kittest::kittest::Queryable; +use serde_json::json; + +use crate::PhotocraftApp; +use crate::state::Tool; + +fn harness() -> Harness<'static, PhotocraftApp> { + let mut h = Harness::builder().with_size(vec2(1440.0, 900.0)).with_max_steps(64).build_eframe(move |cc| { + PhotocraftApp::setup_context(&cc.egui_ctx, Default::default()); + let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default()); + app.run("file.new", json!({"width": 64, "height": 48})).unwrap(); + app.ui.tool = Tool::Brush; + app + }); + h.run_steps(8); + h +} + +/// The value field showing `value`: the options bar's Smoothing is the brush's only one at 10. +fn field<'a>(h: &'a Harness<'_, PhotocraftApp>, value: &str) -> egui_kittest::Node<'a> { + h.query_all_by_role(Role::SpinButton).find(|n| n.value().as_deref() == Some(value)).unwrap() +} + +fn wheel(h: &mut Harness<'_, PhotocraftApp>, at: egui::Pos2, lines: f32, modifiers: egui::Modifiers) { + h.hover_at(at); + h.run_steps(1); + h.event(egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta: vec2(0.0, lines), phase: egui::TouchPhase::Move, modifiers }); + h.run_steps(6); +} + +/// (zoom, centre) of the document's view. +fn view(h: &Harness<'_, PhotocraftApp>) -> (f32, [f32; 2]) { + let v = &h.state().ui.views[0]; + (v.zoom, v.center) +} + +#[test] +fn a_focused_field_takes_the_wheel_over_the_canvas() { + let mut h = harness(); + let canvas = egui::pos2(640.0, 500.0); + let before = view(&h); + wheel(&mut h, canvas, -1.0, egui::Modifiers::NONE); + assert_ne!(view(&h), before, "without a focused field the wheel pans the canvas"); + let before = view(&h); + field(&h, "10").click(); + h.run(); + wheel(&mut h, canvas, -2.0, egui::Modifiers::NONE); + assert_eq!(view(&h), before, "the canvas neither pans nor zooms"); + assert!(h.query_all_by_role(Role::SpinButton).any(|n| n.value().as_deref() == Some("8")), "Smoothing stepped from 10 to 8"); + // ⌥/Alt + wheel is still the view's zoom. + wheel(&mut h, canvas, 1.0, egui::Modifiers::ALT); + assert_ne!(view(&h).0, before.0, "Alt + wheel zooms"); + assert!(h.query_all_by_role(Role::SpinButton).any(|n| n.value().as_deref() == Some("8"))); +} + +#[test] +fn the_wheel_over_a_field_steps_it_without_a_click() { + let mut h = harness(); + let before = view(&h); + let at = field(&h, "10").rect().center(); + wheel(&mut h, at, 1.0, egui::Modifiers::NONE); + assert!(h.query_all_by_role(Role::SpinButton).any(|n| n.value().as_deref() == Some("11")), "Smoothing stepped from 10 to 11"); + wheel(&mut h, at, 1.0, egui::Modifiers::SHIFT); + assert!(h.query_all_by_role(Role::SpinButton).any(|n| n.value().as_deref() == Some("21")), "Shift: ten a notch"); + assert!(!field(&h, "21").is_focused(), "hovering doesn't put the cursor in the field"); + assert_eq!(view(&h), before, "the canvas didn't move"); +} + +/// How far a wheel of `delta` lines with `modifiers` over the canvas moves the view, a Smoothing +/// field focused or not, once egui's smoothed scroll has run out. The field isn't stepped. +fn canvas_pan(focus: bool, delta: egui::Vec2, modifiers: egui::Modifiers) -> (f32, [f32; 2]) { + let mut h = harness(); + if focus { + field(&h, "10").click(); + h.run(); + } + let canvas = egui::pos2(640.0, 500.0); + h.hover_at(canvas); + h.run_steps(1); + let before = view(&h); + h.event(egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Line, delta, phase: egui::TouchPhase::Move, modifiers }); + h.run_steps(40); + assert!(h.query_all_by_role(Role::SpinButton).any(|n| n.value().as_deref() == Some("10")), "focus {focus}: the field wasn't stepped"); + let after = view(&h); + (after.0 / before.0, [after.1[0] - before.1[0], after.1[1] - before.1[1]]) +} + +/// The wheel a focused field leaves to the view moves it as far as with no field focused: its +/// smoothed tail isn't cut off (⌘/Ctrl + wheel, and a plain sideways trackpad swipe). +#[test] +fn the_view_keeps_its_whole_wheel_while_a_field_is_focused() { + for (delta, m) in [(vec2(0.0, -1.0), egui::Modifiers::COMMAND), (vec2(0.0, -1.0), egui::Modifiers::CTRL), (vec2(-1.0, 0.0), egui::Modifiers::NONE)] { + let free = canvas_pan(false, delta, m); + assert!(free != (1.0, [0.0, 0.0]), "{delta:?} {m:?}: the wheel moves the view"); + let focused = canvas_pan(true, delta, m); + let close = (focused.0 - free.0).abs() < 1e-3 && (0..2).all(|k| (focused.1[k] - free.1[k]).abs() < 0.5); + assert!(close, "{delta:?} {m:?}: {focused:?} with a field focused, {free:?} without"); + } +} diff --git a/crates/ui-egui/src/file_ui.rs b/crates/ui-egui/src/file_ui.rs index 32f97bc4e8..6fcacd2ee8 100644 --- a/crates/ui-egui/src/file_ui.rs +++ b/crates/ui-egui/src/file_ui.rs @@ -817,10 +817,12 @@ fn driver_page(f: &mut Map) { match craft_print::rgb::page(&printer, settings.as_ref()) { Ok(pg) => { f.insert("paper".into(), json!([pg.paper.0, pg.paper.1])); + f.insert("printable".into(), json!([pg.printable.0, pg.printable.1, pg.printable.2, pg.printable.3])); f.insert("orientation".into(), json!("portrait")); f.remove("__pageError"); } Err(e) => { + f.remove("printable"); f.insert("__pageError".into(), json!(e.to_string())); } } @@ -936,7 +938,9 @@ fn print_body(app: &mut PhotocraftApp, ui: &mut egui::Ui, f: &mut Map) -> Value { + let mut p = params(f); + if (b(f, "dryRun", false) || !s(f, "output", "").is_empty()) + && let Some(o) = p.as_object_mut() + { + o.remove("printable"); + } + p +} + fn print_confirm(app: &mut PhotocraftApp, f: &Map) -> Result { - let r = app.run("file.print", params(f))?; + let r = app.run("file.print", print_params(f))?; if r["pending"] != json!(true) { print_status(app, &r); } @@ -1527,6 +1543,20 @@ mod tests { assert!(params(f).get("__printers").is_none()); } + /// An output path or a preview typed and confirmed in one frame doesn't take the driver's area. + #[test] + fn the_printable_area_goes_only_with_a_print_to_the_printer() { + let area = json!([0.0, 0.0, 842.29, 1191.14]); + let mut f = Map::new(); + f.insert("printable".into(), area.clone()); + assert_eq!(print_params(&f)["printable"], area); + f.insert("output".into(), json!("/tmp/out.pdf")); + assert!(print_params(&f).get("printable").is_none()); + f.insert("output".into(), json!("")); + f.insert("dryRun".into(), json!(true)); + assert!(print_params(&f).get("printable").is_none()); + } + /// #7410: File › Print opens with the settings of the last print, also those remembered from /// an earlier session (the preferences), before anything was printed in this one. #[test] diff --git a/crates/ui-egui/src/gpu_canvas.rs b/crates/ui-egui/src/gpu_canvas.rs index e456b4a753..a9d7f5a28f 100644 --- a/crates/ui-egui/src/gpu_canvas.rs +++ b/crates/ui-egui/src/gpu_canvas.rs @@ -1136,6 +1136,14 @@ impl GpuInfo { let template = "Driver: {driver}"; crate::i18n::fmt(tl!(template), &[("driver", &or(&self.driver, "unknown"))]) }, + ]; + // The card's own memory caps the GPU budgets, so it explains a huge canvas falling back + // to the CPU. Only discrete cards report one (integrated GPUs share system memory). + if let Some(mb) = self.video_memory_mb { + let template = "Graphics memory: {size}"; + v.push(crate::i18n::fmt(tl!(template), &[("size", &crate::chrome_ui::fmt_bytes(mb.saturating_mul(1 << 20)))])); + } + v.extend([ { let template = "GPU backend preference: {backend}"; crate::i18n::fmt(tl!(template), &[("backend", &or(&self.preference, "auto"))]) @@ -1159,7 +1167,7 @@ impl GpuInfo { }; crate::i18n::fmt(tl!(template), &[("renderer", tl!(renderer))]) }, - ]; + ]); if let Some(f) = &self.fallback { v.push({ let template = "Fallback: {reason}"; @@ -2793,6 +2801,19 @@ mod tests { assert_eq!(detect_video_memory(0xdead, 0xbeef), None, "no such adapter"); } + /// System Info names the card's own memory, after the driver, when the card reports one; an + /// integrated GPU or an unknown card shows no such line. + #[test] + fn system_info_shows_the_cards_memory() { + let info = GpuInfo { adapter: "Card".into(), driver: "Driver 1".into(), video_memory_mb: Some(8192), ..Default::default() }; + let lines = info.lines(); + assert_eq!(lines.get(2).map(String::as_str), Some("Driver: Driver 1")); + assert_eq!(lines.get(3).map(String::as_str), Some("Graphics memory: 8.0G")); + let none = GpuInfo { video_memory_mb: None, ..info }.lines(); + assert!(none.iter().all(|l| !l.starts_with("Graphics memory")), "{none:?}"); + assert_eq!(none.len() + 1, lines.len()); + } + /// The Linux reader finds the card by its PCI ids in a `/sys/class/drm`-shaped folder and reads /// amdgpu's VRAM size; a card without one, unreadable ids or a malformed size give nothing. #[test] diff --git a/crates/ui-egui/src/hold_keys.rs b/crates/ui-egui/src/hold_keys.rs index 3f2845cae8..8b8bef092c 100644 --- a/crates/ui-egui/src/hold_keys.rs +++ b/crates/ui-egui/src/hold_keys.rs @@ -16,6 +16,8 @@ //! selection tools do their own ⌘ handling in `canvas` (⌘ inside the selection cuts the //! selected pixels, outside it moves the layer, #896), and the Hand, Zoom, Crop, Slice, Path //! Selection, shape, Pen and Type tools keep ⌘ for themselves. +//! - With the Hand tool selected, ⌘ (Ctrl off the Mac) is Zoom In while held and ⌥ (with or +//! without ⌘) Zoom Out ([`hand_zoom`], #6434). //! - `~` (the backtick key) with the Brush or Pencil: a stroke started while it is held erases, //! with that tool's own brush ([`erase_held`], #3439). //! @@ -118,6 +120,28 @@ fn cmd_move_held(app: &PhotocraftApp, i: &InputState) -> bool { i.modifiers.command && cmd_moves(app.ui.tool) && app.ui.transform.is_none() && app.ui.text_edit.is_none() } +/// The Hand tool's own modifiers (#6434): ⌘ (Ctrl off the Mac) held is Zoom In, ⌥ (with or +/// without ⌘) Zoom Out, as in Photoshop; the Modifier Keys panel's latched keys count. Not while +/// Free Transform is open (its box keeps ⌘ for the distort handles), and a modifier pressed during +/// a Hand press doesn't turn it into a zoom, release included: only a press made with it held +/// zooms (that one is latched by [`for_frame`] until the button comes up). A middle-button pan +/// stays a pan whatever is held. +fn hand_zoom(app: &PhotocraftApp, i: &InputState) -> Option { + let p = &i.pointer; + let hand_press = ((p.primary_down() || p.primary_released()) && !p.primary_pressed()) || p.middle_down(); + if app.ui.tool != Tool::Hand || app.ui.transform.is_some() || hand_press { + return None; + } + let m = crate::workspace_ui::sticky_mods(app, i.modifiers); + if m.alt { + Some(Temporary::ZoomOut) + } else if m.command { + Some(Temporary::ZoomIn) + } else { + None + } +} + /// Is `id` a held temporary tool rather than a command? pub fn is_temporary(id: &str) -> bool { photocraft_engine::prefs::TEMPORARY_TOOLS.iter().any(|t| t.0 == id) @@ -160,6 +184,7 @@ pub fn held_tool(app: &PhotocraftApp, ctx: &egui::Context) -> Option let mut best: Option<(u8, Temporary, KeyboardShortcut)> = None; let mut cmd_move = false; let mut alt = false; + let mut hand = None; ctx.input(|i| { for t in Temporary::BOUND { if let Some(sc) = binding(app, t) @@ -171,12 +196,13 @@ pub fn held_tool(app: &PhotocraftApp, ctx: &egui::Context) -> Option } cmd_move = cmd_move_held(app, i); alt = i.modifiers.alt; + hand = hand_zoom(app, i); }); // ⌥ turns a held Zoom In around, as it does the Zoom tool: ⌘⌥Space zooms out (and wins the // tie with ⌥Space), unless ⌥ is part of the Zoom In key itself. let held = best.map(|(_, t, sc)| if t == Temporary::ZoomIn && alt && !sc.modifiers.alt { Temporary::ZoomOut } else { t }); // A bound key (⌘Space is Zoom In) wins over ⌘ alone. - held.or(cmd_move.then_some(Temporary::Move)) + held.or(hand).or(cmd_move.then_some(Temporary::Move)) } /// The binding id of the Brush and Pencil erase key (`prefs::TEMPORARY_TOOLS`). diff --git a/crates/ui-egui/src/hold_keys/tests.rs b/crates/ui-egui/src/hold_keys/tests.rs index 706169face..d2bbc687ac 100644 --- a/crates/ui-egui/src/hold_keys/tests.rs +++ b/crates/ui-egui/src/hold_keys/tests.rs @@ -696,7 +696,9 @@ fn cmd_is_not_the_move_tool_for_selection_hand_zoom_pen_shape_or_type_tools() { let mut h = harness(tool); h.event(Event::ModifiersChanged(platform(Modifiers::COMMAND))); h.run_steps(1); - assert_eq!(held_tool(h.state(), &h.ctx), None, "{tool:?}"); + // The Hand's own ⌘ is Zoom In (#6434). + let want = (tool == Tool::Hand).then_some(Temporary::ZoomIn); + assert_eq!(held_tool(h.state(), &h.ctx), want, "{tool:?}"); } for tool in [Tool::Brush, Tool::Eraser, Tool::Gradient, Tool::CloneStamp, Tool::Eyedropper, Tool::MagneticLasso, Tool::QuickSelection] { assert!(cmd_moves(tool), "{tool:?}"); @@ -849,3 +851,157 @@ fn a_held_key_keeps_a_pending_crop_and_another_tools_key_commits_it() { assert_eq!(h.state().session.active().unwrap().doc.size, photocraft_doc::Size::new(200, 150)); assert_eq!(h.state().ui.crop_rect, None); } + +/// #6434: with the Hand tool selected, ⌘ (Ctrl off the Mac) held is Zoom In and ⌥ (with or +/// without ⌘) Zoom Out, as in Photoshop; letting go gives the Hand back. +#[test] +fn cmd_and_alt_with_the_hand_tool_zoom_in_and_out() { + let mut h = harness(Tool::Hand); + let z0 = h.state().ui.views[0].zoom; + hold_mods(&mut h, Modifiers::COMMAND); + assert_eq!(held_tool(h.state(), &h.ctx), Some(Temporary::ZoomIn)); + click(&mut h, 200.0, 150.0, Modifiers::COMMAND); + let z1 = h.state().ui.views[0].zoom; + assert!(z1 > z0, "{z0} -> {z1}"); + hold_mods(&mut h, Modifiers::NONE); + assert_eq!(held_tool(h.state(), &h.ctx), None); + + hold_mods(&mut h, Modifiers::ALT); + assert_eq!(held_tool(h.state(), &h.ctx), Some(Temporary::ZoomOut)); + click(&mut h, 200.0, 150.0, Modifiers::ALT); + let z2 = h.state().ui.views[0].zoom; + assert!(z2 < z1, "{z1} -> {z2}"); + hold_mods(&mut h, Modifiers::COMMAND | Modifiers::ALT); + assert_eq!(held_tool(h.state(), &h.ctx), Some(Temporary::ZoomOut)); + click(&mut h, 200.0, 150.0, Modifiers::COMMAND | Modifiers::ALT); + assert!(h.state().ui.views[0].zoom < z2); + hold_mods(&mut h, Modifiers::NONE); + assert_eq!(held_tool(h.state(), &h.ctx), None); + assert_eq!(h.state().ui.tool, Tool::Hand, "the Hand is still the tool"); +} + +/// A ⌘-drag with the Hand is the Zoom tool's scrubby zoom, not a pan. +#[test] +fn cmd_drag_with_the_hand_tool_is_a_scrubby_zoom() { + let mut h = harness(Tool::Hand); + let z0 = h.state().ui.views[0].zoom; + drag_with(&mut h, Modifiers::COMMAND, 200.0, 150.0, 300.0, 150.0); + assert!(h.state().ui.views[0].zoom > z0 * 1.5, "{z0} -> {}", h.state().ui.views[0].zoom); + assert_eq!(h.state().ui.tool, Tool::Hand); +} + +/// ⌘ or ⌥ pressed during a Hand pan doesn't turn the drag into a zoom: the pan goes on. +#[test] +fn modifiers_pressed_during_a_hand_pan_keep_panning() { + for m in [Modifiers::COMMAND, Modifiers::ALT] { + let mut h = harness(Tool::Hand); + let (z0, c0) = (h.state().ui.views[0].zoom, h.state().ui.views[0].center); + press_at(&mut h, 200.0, 150.0); + hold_mods(&mut h, m); + assert_eq!(held_tool(h.state(), &h.ctx), None, "{m:?}"); + let p = screen(&h, 200.0, 150.0) + vec2(60.0, 40.0); + h.event(Event::PointerMoved(p)); + h.run_steps(2); + button(&mut h, p, false, m); + hold_mods(&mut h, Modifiers::NONE); + let v = &h.state().ui.views[0]; + assert_eq!(v.zoom, z0, "{m:?}: no zoom"); + assert!(v.center[0] < c0[0] - 30.0 && v.center[1] < c0[1] - 20.0, "{m:?}: panned {c0:?} -> {:?}", v.center); + } +} + +/// A middle-button pan with the Hand selected keeps panning when ⌘ or ⌥ goes down during it. +#[test] +fn modifiers_pressed_during_a_middle_button_pan_keep_panning() { + for m in [Modifiers::COMMAND, Modifiers::ALT] { + let mut h = harness(Tool::Hand); + let (z0, c0) = (h.state().ui.views[0].zoom, h.state().ui.views[0].center); + let p = screen(&h, 200.0, 150.0); + h.event(Event::PointerMoved(p)); + h.run_steps(1); + h.event(Event::PointerButton { pos: p, button: PointerButton::Middle, pressed: true, modifiers: Modifiers::NONE }); + h.run_steps(1); + hold_mods(&mut h, m); + assert_eq!(held_tool(h.state(), &h.ctx), None, "{m:?}"); + let q = p + vec2(60.0, 40.0); + h.event(Event::PointerMoved(q)); + h.run_steps(2); + h.event(Event::PointerButton { pos: q, button: PointerButton::Middle, pressed: false, modifiers: platform(m) }); + h.run_steps(1); + hold_mods(&mut h, Modifiers::NONE); + let v = &h.state().ui.views[0]; + assert_eq!(v.zoom, z0, "{m:?}: no zoom"); + assert!(v.center[0] < c0[0] - 30.0 && v.center[1] < c0[1] - 20.0, "{m:?}: panned {c0:?} -> {:?}", v.center); + } +} + +/// Free Transform keeps ⌘ (its distort handles) while the Hand is selected. +#[test] +fn cmd_with_the_hand_tool_is_not_a_zoom_during_free_transform() { + let mut h = harness(Tool::Hand); + with_layer(&mut h); + let ctx = h.ctx.clone(); + crate::menus::invoke(h.state_mut(), &ctx, "edit.freeTransform", json!({})).unwrap(); + h.run_steps(2); + assert!(h.state().ui.transform.is_some()); + hold_mods(&mut h, Modifiers::COMMAND); + assert_eq!(held_tool(h.state(), &h.ctx), None); +} + +/// The Modifier Keys panel's latched ⌥ and ⌘ count, for desktops that take Alt+click. +#[test] +fn latched_modifier_keys_zoom_with_the_hand_tool() { + let mut h = harness(Tool::Hand); + h.state_mut().ui.shell.sticky_command = true; + h.run_steps(1); + assert_eq!(held_tool(h.state(), &h.ctx), Some(Temporary::ZoomIn)); + h.state_mut().ui.shell.sticky_alt = true; + h.run_steps(1); + assert_eq!(held_tool(h.state(), &h.ctx), Some(Temporary::ZoomOut)); + h.state_mut().ui.shell = Default::default(); + h.state_mut().ui.tool = Tool::Brush; + h.state_mut().ui.shell.sticky_alt = true; + h.run_steps(1); + assert_eq!(held_tool(h.state(), &h.ctx), None, "only the Hand's ⌥ zooms"); +} + +/// A Hand press made without a modifier stays the Hand through its release: ⌘ or ⌥ pressed +/// before letting go (without moving past the drag threshold) doesn't zoom on the release. +#[test] +fn modifiers_pressed_before_a_hand_click_is_released_do_not_zoom() { + for m in [Modifiers::COMMAND, Modifiers::ALT] { + let mut h = harness(Tool::Hand); + let (z0, c0) = (h.state().ui.views[0].zoom, h.state().ui.views[0].center); + let p = screen(&h, 200.0, 150.0); + h.event(Event::PointerMoved(p)); + h.run_steps(1); + button(&mut h, p, true, Modifiers::NONE); + hold_mods(&mut h, m); + button(&mut h, p, false, m); + h.run_steps(1); + let v = &h.state().ui.views[0]; + assert_eq!((v.zoom, v.center), (z0, c0), "{m:?}: the release didn't zoom"); + // The modifier still zooms the next click. + click(&mut h, 200.0, 150.0, m); + assert_ne!(h.state().ui.views[0].zoom, z0, "{m:?}"); + hold_mods(&mut h, Modifiers::NONE); + } +} + +/// A click whose press and release arrive in one frame, with ⌘ held, still zooms. +#[test] +fn a_one_frame_cmd_click_with_the_hand_tool_zooms() { + let mut h = harness(Tool::Hand); + let z0 = h.state().ui.views[0].zoom; + hold_mods(&mut h, Modifiers::COMMAND); + let p = screen(&h, 200.0, 150.0); + h.event(Event::PointerMoved(p)); + h.run_steps(1); + let m = platform(Modifiers::COMMAND); + h.input_mut().events.extend([ + Event::PointerButton { pos: p, button: PointerButton::Primary, pressed: true, modifiers: m }, + Event::PointerButton { pos: p, button: PointerButton::Primary, pressed: false, modifiers: m }, + ]); + h.run_steps(2); + assert!(h.state().ui.views[0].zoom > z0); +} diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index ab918f9b34..07e46b13c4 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -3881,6 +3881,7 @@ navigator Zoom Zvětšení GPU Memory Full Paměť GPU je plná The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Vrstvy potřebují {needed} paměti GPU a mohou zabrat {budget}, takže úpravy, které překreslují celý dokument, to dělají na CPU. Kliknutím nastavíte Paměť GPU. GPU memory budget: {budget} Rozpočet paměti GPU: {budget} + Graphics memory: {size} Paměť GPU: {size} This document's layers: {needed} of {budget} for layers Vrstvy tohoto dokumentu: {needed} z {budget} pro vrstvy This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Vrstvy tohoto dokumentu potřebují {needed}, ale mohou zabrat {budget}: překreslení celého dokumentu probíhá na CPU GPU Memory (MB, 0 = Automatic) Paměť GPU (MB, 0 = Automaticky) @@ -3910,3 +3911,5 @@ navigator Zoom Zvětšení # Graphics Adapter preference (#1885) GPU adapter Adaptér GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Nejprve potvrďte nebo zrušte otevřený dialog kroku akce diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 2fae6d9de9..6cce25b70b 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -3281,6 +3281,7 @@ curves Smooth Glätten GPU Memory Full GPU-Speicher voll The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Die Ebenen brauchen {needed} GPU-Speicher und dürfen {budget} belegen, daher zeichnen Änderungen, die das ganze Dokument neu zeichnen, auf der CPU. Klicken, um den GPU-Speicher einzustellen. GPU memory budget: {budget} GPU-Speicherbudget: {budget} + Graphics memory: {size} Grafikspeicher: {size} This document's layers: {needed} of {budget} for layers Ebenen dieses Dokuments: {needed} von {budget} für Ebenen This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Die Ebenen dieses Dokuments brauchen {needed}, dürfen aber {budget} belegen: Das ganze Dokument wird auf der CPU neu gezeichnet GPU Memory (MB, 0 = Automatic) GPU-Speicher (MB, 0 = Automatisch) @@ -3308,3 +3309,5 @@ curves Smooth Glätten # Graphics Adapter preference (#1885) GPU adapter GPU-Adapter +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Bestätige oder brich zuerst den offenen Dialog des Aktionsschritts ab diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 588d9b9090..ed11cce277 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -3970,6 +3970,7 @@ curves Smooth Εξομάλυνση GPU Memory Full Η μνήμη GPU είναι πλήρης The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Τα επίπεδα χρειάζονται {needed} μνήμης GPU και μπορούν να καταλάβουν {budget}, οπότε οι αλλαγές που ξανασχεδιάζουν όλο το έγγραφο το κάνουν στη CPU. Κάντε κλικ για να ορίσετε τη Μνήμη GPU. GPU memory budget: {budget} Όριο μνήμης GPU: {budget} + Graphics memory: {size} Μνήμη γραφικών: {size} This document's layers: {needed} of {budget} for layers Επίπεδα αυτού του εγγράφου: {needed} από {budget} για επίπεδα This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Τα επίπεδα αυτού του εγγράφου χρειάζονται {needed} αλλά μπορούν να καταλάβουν {budget}: η επανασχεδίαση όλου του εγγράφου γίνεται στη CPU GPU Memory (MB, 0 = Automatic) Μνήμη GPU (MB, 0 = Αυτόματο) @@ -3999,3 +4000,5 @@ curves Smooth Εξομάλυνση # Graphics Adapter preference (#1885) GPU adapter Προσαρμογέας GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Επιβεβαιώστε ή ακυρώστε πρώτα το ανοιχτό παράθυρο βήματος της ενέργειας diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 5c51baa9fe..2c657b0f9b 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -4232,6 +4232,7 @@ navigator Zoom Zoom GPU Memory Full Memoria de GPU llena The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Las capas necesitan {needed} de memoria de GPU y pueden ocupar {budget}, así que las ediciones que redibujan todo el documento lo hacen en la CPU. Haga clic para ajustar Memoria de GPU. GPU memory budget: {budget} Presupuesto de memoria de GPU: {budget} + Graphics memory: {size} Memoria gráfica: {size} This document's layers: {needed} of {budget} for layers Capas de este documento: {needed} de {budget} para capas This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Las capas de este documento necesitan {needed} pero pueden ocupar {budget}: los redibujados de todo el documento usan la CPU GPU Memory (MB, 0 = Automatic) Memoria de GPU (MB, 0 = Automático) @@ -4261,3 +4262,5 @@ navigator Zoom Zoom # Graphics Adapter preference (#1885) GPU adapter Adaptador de GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Confirme o cancele primero el cuadro de diálogo abierto del paso de la acción diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index a8ffdcc6a6..6b1c01ddb8 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -3279,6 +3279,7 @@ curves Smooth Lisser GPU Memory Full Mémoire GPU pleine The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Les calques ont besoin de {needed} de mémoire GPU et peuvent en occuper {budget} : les modifications qui redessinent tout le document le font sur le CPU. Cliquez pour régler Mémoire GPU. GPU memory budget: {budget} Budget de mémoire GPU : {budget} + Graphics memory: {size} Mémoire graphique : {size} This document's layers: {needed} of {budget} for layers Calques de ce document : {needed} sur {budget} pour les calques This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Les calques de ce document ont besoin de {needed} mais peuvent occuper {budget} : le document entier se redessine sur le CPU GPU Memory (MB, 0 = Automatic) Mémoire GPU (Mo, 0 = Automatique) @@ -3310,3 +3311,5 @@ curves Smooth Lisser # Graphics Adapter preference (#1885) GPU adapter Adaptateur GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Validez ou annulez d’abord la boîte de dialogue ouverte de l’étape de l’action diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index a7ed13c5c8..b1e3143507 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -4187,6 +4187,7 @@ cameraRaw Yellow Sárga GPU Memory Full GPU-memória megtelt The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. A rétegeknek {needed} GPU-memória kell, és {budget} foglalhatnak, ezért a teljes dokumentumot újrarajzoló szerkesztések a CPU-n futnak. Kattints a GPU-memória beállításához. GPU memory budget: {budget} GPU-memóriakeret: {budget} + Graphics memory: {size} Grafikus memória: {size} This document's layers: {needed} of {budget} for layers A dokumentum rétegei: {needed} / {budget} a rétegeknek This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU A dokumentum rétegeinek {needed} kell, de {budget} foglalhatnak: a teljes dokumentum újrarajzolása a CPU-n fut GPU Memory (MB, 0 = Automatic) GPU-memória (MB, 0 = Automatikus) @@ -4216,3 +4217,5 @@ cameraRaw Yellow Sárga # Graphics Adapter preference (#1885) GPU adapter GPU-adapter +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Előbb hagyd jóvá vagy vond vissza a művelet lépésének nyitott párbeszédablakát diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index 2e62390382..497905c93b 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -3266,6 +3266,7 @@ curves Smooth Haluskan GPU Memory Full Memori GPU Penuh The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Layer membutuhkan {needed} memori GPU dan boleh memakai {budget}, sehingga suntingan yang menggambar ulang seluruh dokumen melakukannya di CPU. Klik untuk mengatur Memori GPU. GPU memory budget: {budget} Anggaran memori GPU: {budget} + Graphics memory: {size} Memori grafis: {size} This document's layers: {needed} of {budget} for layers Layer dokumen ini: {needed} dari {budget} untuk layer This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Layer dokumen ini membutuhkan {needed} tetapi boleh memakai {budget}: penggambaran ulang seluruh dokumen memakai CPU GPU Memory (MB, 0 = Automatic) Memori GPU (MB, 0 = Otomatis) @@ -3297,3 +3298,5 @@ curves Smooth Haluskan # Graphics Adapter preference (#1885) GPU adapter Adaptor GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Konfirmasi atau batalkan dulu dialog langkah tindakan yang terbuka diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index b029b6aeae..dbd07334ff 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -4391,6 +4391,7 @@ shape Appearance Aspetto GPU Memory Full Memoria GPU piena The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. I livelli richiedono {needed} di memoria GPU e possono occuparne {budget}, quindi le modifiche che ridisegnano tutto il documento lo fanno sulla CPU. Fai clic per impostare Memoria GPU. GPU memory budget: {budget} Budget di memoria GPU: {budget} + Graphics memory: {size} Memoria grafica: {size} This document's layers: {needed} of {budget} for layers Livelli di questo documento: {needed} su {budget} per i livelli This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU I livelli di questo documento richiedono {needed} ma possono occupare {budget}: i ridisegni dell'intero documento usano la CPU GPU Memory (MB, 0 = Automatic) Memoria GPU (MB, 0 = Automatico) @@ -4416,3 +4417,5 @@ shape Appearance Aspetto # Graphics Adapter preference (#1885) GPU adapter Adattatore GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Conferma o annulla prima la finestra di dialogo aperta del passo dell’azione diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 5602f7a911..275bd096d1 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -3946,6 +3946,7 @@ curves Smooth スムーズ GPU Memory Full GPU メモリ不足 The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. レイヤーには {needed} の GPU メモリが必要ですが、使えるのは {budget} のため、ドキュメント全体を再描画する編集は CPU で行われます。クリックして GPU メモリを設定します。 GPU memory budget: {budget} GPU メモリ予算: {budget} + Graphics memory: {size} グラフィックメモリ: {size} This document's layers: {needed} of {budget} for layers このドキュメントのレイヤー: レイヤー用 {budget} のうち {needed} This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU このドキュメントのレイヤーには {needed} が必要ですが、使えるのは {budget} です: ドキュメント全体の再描画は CPU で行われます GPU Memory (MB, 0 = Automatic) GPU メモリ(MB、0 = 自動) @@ -3977,3 +3978,5 @@ curves Smooth スムーズ # Graphics Adapter preference (#1885) GPU adapter GPU アダプター +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first 先に開いているアクションのステップのダイアログを確定またはキャンセルしてください diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 4e355a66d6..e91a448d7f 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -3457,6 +3457,7 @@ curves Smooth 매끄럽게 GPU Memory Full GPU 메모리 부족 The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. 레이어에 GPU 메모리 {needed}가 필요하지만 {budget}만 사용할 수 있어 문서 전체를 다시 그리는 편집은 CPU에서 처리됩니다. 클릭하여 GPU 메모리를 설정합니다. GPU memory budget: {budget} GPU 메모리 예산: {budget} + Graphics memory: {size} 그래픽 메모리: {size} This document's layers: {needed} of {budget} for layers 이 문서의 레이어: 레이어용 {budget} 중 {needed} This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU 이 문서의 레이어에 {needed}가 필요하지만 {budget}만 사용할 수 있습니다: 문서 전체 다시 그리기는 CPU를 사용합니다 GPU Memory (MB, 0 = Automatic) GPU 메모리(MB, 0 = 자동) @@ -3489,3 +3490,5 @@ curves Smooth 매끄럽게 # Graphics Adapter preference (#1885) GPU adapter GPU 어댑터 +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first 먼저 열려 있는 액션 단계 대화 상자를 확인하거나 취소하세요 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index dedcfa112a..315771244e 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -4030,6 +4030,7 @@ curves Smooth Vloeiend maken GPU Memory Full GPU-geheugen vol The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. De lagen hebben {needed} GPU-geheugen nodig en mogen {budget} gebruiken, dus bewerkingen die het hele document opnieuw tekenen doen dat op de CPU. Klik om GPU-geheugen in te stellen. GPU memory budget: {budget} GPU-geheugenbudget: {budget} + Graphics memory: {size} Grafisch geheugen: {size} This document's layers: {needed} of {budget} for layers Lagen van dit document: {needed} van {budget} voor lagen This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU De lagen van dit document hebben {needed} nodig maar mogen {budget} gebruiken: het hele document wordt op de CPU opnieuw getekend GPU Memory (MB, 0 = Automatic) GPU-geheugen (MB, 0 = Automatisch) @@ -4059,3 +4060,5 @@ curves Smooth Vloeiend maken # Graphics Adapter preference (#1885) GPU adapter GPU-adapter +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Bevestig of annuleer eerst het geopende dialoogvenster van de handelingsstap diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 9790e26251..7e09d52e7d 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -3868,6 +3868,7 @@ curves Smooth Wygładź GPU Memory Full Pamięć GPU pełna The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Warstwy potrzebują {needed} pamięci GPU i mogą zająć {budget}, więc edycje, które odświeżają cały dokument, robią to na CPU. Kliknij, aby ustawić Pamięć GPU. GPU memory budget: {budget} Budżet pamięci GPU: {budget} + Graphics memory: {size} Pamięć graficzna: {size} This document's layers: {needed} of {budget} for layers Warstwy tego dokumentu: {needed} z {budget} na warstwy This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Warstwy tego dokumentu potrzebują {needed}, ale mogą zająć {budget}: odświeżanie całego dokumentu używa CPU GPU Memory (MB, 0 = Automatic) Pamięć GPU (MB, 0 = Automatycznie) @@ -3899,3 +3900,5 @@ curves Smooth Wygładź # Graphics Adapter preference (#1885) GPU adapter Karta GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Najpierw zatwierdź lub anuluj otwarte okno kroku operacji diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index 8d9db90793..b69718a151 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -4060,6 +4060,7 @@ layerLabel No Color Sem cor GPU Memory Full Memória da GPU cheia The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. As camadas precisam de {needed} de memória da GPU e podem ocupar {budget}, então as edições que redesenham o documento inteiro fazem isso na CPU. Clique para ajustar Memória da GPU. GPU memory budget: {budget} Orçamento de memória da GPU: {budget} + Graphics memory: {size} Memória gráfica: {size} This document's layers: {needed} of {budget} for layers Camadas deste documento: {needed} de {budget} para camadas This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU As camadas deste documento precisam de {needed} mas podem ocupar {budget}: o documento inteiro é redesenhado na CPU GPU Memory (MB, 0 = Automatic) Memória da GPU (MB, 0 = Automático) @@ -4089,3 +4090,5 @@ layerLabel No Color Sem cor # Graphics Adapter preference (#1885) GPU adapter Adaptador de GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Confirme ou cancele primeiro a caixa de diálogo aberta da etapa da ação diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 2fcf5f5f15..7518f34145 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -3245,6 +3245,7 @@ curves Smooth Сгладить GPU Memory Full Память GPU заполнена The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Слоям нужно {needed} памяти GPU, а занимать они могут {budget}, поэтому правки, перерисовывающие весь документ, выполняются на CPU. Нажмите, чтобы задать «Память GPU». GPU memory budget: {budget} Бюджет памяти GPU: {budget} + Graphics memory: {size} Видеопамять: {size} This document's layers: {needed} of {budget} for layers Слои этого документа: {needed} из {budget} для слоёв This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Слоям этого документа нужно {needed}, но занимать они могут {budget}: весь документ перерисовывается на CPU GPU Memory (MB, 0 = Automatic) Память GPU (МБ, 0 = автоматически) @@ -3277,3 +3278,5 @@ curves Smooth Сгладить # Graphics Adapter preference (#1885) GPU adapter Адаптер GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Сначала подтвердите или отмените открытый диалог шага операции diff --git a/crates/ui-egui/src/i18n/sr.tsv b/crates/ui-egui/src/i18n/sr.tsv index 43a05378e9..81410aa727 100644 --- a/crates/ui-egui/src/i18n/sr.tsv +++ b/crates/ui-egui/src/i18n/sr.tsv @@ -4341,6 +4341,7 @@ shape Appearance Izgled GPU Memory Full GPU memorija je puna The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Slojevima treba {needed} GPU memorije, a smeju da zauzmu {budget}, pa izmene koje ponovo iscrtavaju ceo dokument to rade na CPU-u. Kliknite da podesite GPU memoriju. GPU memory budget: {budget} Budžet GPU memorije: {budget} + Graphics memory: {size} Grafička memorija: {size} This document's layers: {needed} of {budget} for layers Slojevi ovog dokumenta: {needed} od {budget} za slojeve This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Slojevima ovog dokumenta treba {needed}, a smeju da zauzmu {budget}: ceo dokument se ponovo iscrtava na CPU-u GPU Memory (MB, 0 = Automatic) GPU memorija (MB, 0 = Automatski) @@ -4370,3 +4371,5 @@ shape Appearance Izgled # Graphics Adapter preference (#1885) GPU adapter GPU adapter +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Prvo potvrdite ili otkažite otvoreni dijalog koraka radnje diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 37667e447e..4564844589 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -16,7 +16,7 @@ Top: Üst: Left: Sol: Bottom: Alt: - Right: Doğru: + Right: Sağ: Target: Hedef: Selected Artboards Seçilen Çalışma Yüzeyleri Center Columns Merkezi Sütunlar @@ -43,18 +43,18 @@ Help Yardım (coming soon) (yakında) New… Yeni… - New from Clipboard Pano'dan yeni + New from Clipboard Panodan Yeni Open… Aç… Open As… Farklı Aç… - Open EXR Parts… EXR Parçalarını açın… - Add beauty precomp from the AOVs AOV'lerden güzellik ön kompozisyonu ekleyin - Both Her ikisi de + Open EXR Parts… EXR Parçalarını Aç… + Add beauty precomp from the AOVs AOV'lerden güzellik ön kompozisyonu ekle + Both Her İkisi Left Sol Right Sağ Open Recent Son Kullanılanları Aç Clear Recent Files Son Dosyaları Temizle - Remove from Recent En Son'dan kaldır - Remove {name} from Recent {name} öğesini En Son'dan kaldır + Remove from Recent Son Kullanılanlardan Kaldır + Remove {name} from Recent {name} öğesini Son Kullanılanlardan kaldır Close Kapat Minimize Küçült Maximize Büyüt @@ -73,36 +73,36 @@ Export Preferences… Dışa Aktarma Tercihleri… Save for Web (Legacy)… Web İçin Kaydet (Eski)… Artboards to Files… Çalışma Yüzeylerinden Dosyalara… - Artboards to PDF… Çalışma yüzeylerinden PDF'ye… + Artboards to PDF… Çalışma Yüzeylerinden PDF'ye… Layers to Files… Katmanlardan Dosyalara… - Layer Comps to Files… Dosyalara Katman Kompozisyonları… + Layer Comps to Files… Katman Kompozisyonlarından Dosyalara… Color Lookup Tables… Renk Arama Tabloları… - Data Sets as Files… Dosya Olarak Veri Kümeleri… - Paths to Illustrator… İllüstratöre Giden Yollar… + Data Sets as Files… Veri Kümelerini Dosya Olarak… + Paths to Illustrator… Yollardan Illustrator'a… Render Video… Videoyu Oluştur… Generate Oluştur - Image Assets Resim Varlıkları + Image Assets Görüntü Varlıkları Place Embedded… Gömülü Olarak Yerleştir… Place Linked… Bağlantılı Olarak Yerleştir… Package… Paketle… Automate Otomatikleştir Batch… Toplu… - Create Droplet… Damlacık oluştur… + Create Droplet… Damlacık Oluştur… Crop and Straighten Photos Fotoğrafları Kırp ve Düzelt Contact Sheet II… İletişim Sayfası II… Conditional Mode Change… Koşullu Mod Değişikliği… - Fit Image… Resmi Sığdır… + Fit Image… Görüntüyü Sığdır… Lens Correction… Mercek Düzeltme… Merge to HDR Pro… HDR Pro'ya Birleştir… Photomerge… Fotoğraf Birleştir… - Scripts Komut dosyaları + Scripts Komut Dosyaları Image Processor… Görüntü İşlemcisi… Delete All Empty Layers Tüm Boş Katmanları Sil Flatten All Layer Effects Tüm Katman Efektlerini Düzleştir Flatten All Masks Tüm Maskeleri Düzleştir Script Events Manager… Komut Dosyası Olay Yöneticisi… - Import İthalat - Browse… Göz at… + Import İçe Aktar + Browse… Gözat… Source Files Kaynak Dosyalar Use: Kullan: Files Dosyalar @@ -120,7 +120,7 @@ Undo Geri Al Redo Yinele Toggle Last State Son Durumu Değiştir - Fade… Solmaya… + Fade… Soldur… Cut Kes Copy Kopyala Copy Merged Birleştirilmiş Olarak Kopyala @@ -138,15 +138,15 @@ No Spelling Suggestions Yazım Önerisi Yok Fill… Doldur… Stroke… Kontur… - Content-Aware Fill… İçeriğe Uygun Dolgu… + Content-Aware Fill… İçeriğe Duyarlı Dolgu… Delete and Fill Selection Seçimi Sil ve Doldur - Content-Aware Scale İçeriğe Uygun Ölçek - Puppet Warp Kukla Çözgü + Content-Aware Scale İçeriğe Duyarlı Ölçekleme + Puppet Warp Kukla Çarpıtma Perspective Warp Perspektif Çarpıtma Free Transform Serbest Dönüştürme - Free Transform a Copy Bir Kopyayı Ücretsiz Dönüştürme + Free Transform a Copy Bir Kopyayı Serbest Dönüştür Transform Dönüştür - Again Yinele + Again Tekrarla Transform Again on a Copy Bir Kopyada Yeniden Dönüştür Scale Ölçekle Rotate Döndür @@ -155,7 +155,7 @@ Skew Eğ Distort Çarpıt Perspective Perspektif - Warp Deforme Et + Warp Çarpıt Flip Horizontal Yatay Çevir Flip Vertical Dikey Çevir Rotate 180° 180° Döndür @@ -169,13 +169,13 @@ Auto-Blend Layers… Katmanları Otomatik Karıştır… Define Brush Preset… Fırça Ön Ayarını Tanımla… Define Pattern… Deseni Tanımla… - Define Custom Shape… Özel Şekil Tanımlayın… + Define Custom Shape… Özel Şekli Tanımla… Purge Temizle Clipboard Pano Histories Geçmiş Video Cache Video Önbelleği All Tümü - Presets Ön ayarlar + Presets Ön Ayarlar Preset Manager… Ön Ayar Yöneticisi… Migrate Presets Ön Ayarları Taşı Export/Import Presets… Ön Ayarları Dışa/İçe Aktar… @@ -192,17 +192,17 @@ Tools… Araçlar… History Log… Geçmiş Günlüğü… File Handling… Dosya İşleme… - Export… İhracat… + Export… Dışa Aktar… Performance… Performans… - Scratch Disks… Kazı Diskleri… + Scratch Disks… Karalama Diskleri… Cursors… İmleçler… - Transparency & Gamut… Şeffaflık ve Gamut… + Transparency & Gamut… Saydamlık ve Gamut… Units & Rulers… Birimler ve Cetveller… Guides, Grid & Slices… Kılavuzlar, Izgaralar ve Dilimler… Plug-ins… Eklentiler… - Type… Tür… + Type… Metin… Enhanced Controls… Gelişmiş Kontroller… - Camera Raw… Kamera Raw… + Camera Raw… Camera Raw… Raw Defaults… Ham Varsayılanlar… Integrations… Entegrasyonlar… AI Integrations… Yapay Zeka Entegrasyonları… @@ -210,14 +210,14 @@ Language Options Dil Seçenekleri Settings… Ayarlar… Mode Mod - Bitmap Bit eşlem - Grayscale Gri tonlamalı - Duotone Çift tonlu + Bitmap Bit Eşlem + Grayscale Gri Tonlamalı + Duotone Çift Tonlu Indexed Color İndekslenmiş Renk RGB Color RGB Rengi CMYK Color CMYK Rengi - Lab Color Laboratuvar Rengi - Multichannel Çok kanallı + Lab Color Lab Renk + Multichannel Çok Kanallı 8 Bits/Channel 8 Bit/Kanal 8 bit 8 bitlik Integer Tamsayı @@ -235,8 +235,8 @@ Levels… Düzeyler… Curves… Eğriler… Exposure… Pozlama… - Vibrance… Titreşim… - Hue/Saturation… Renk Tonu/Doygunluk… + Vibrance… Canlılık… + Hue/Saturation… Ton/Doygunluk… Color Balance… Renk Dengesi… Black & White… Siyah ve Beyaz… Photo Filter… Fotoğraf Filtresi… @@ -259,42 +259,42 @@ Image Size… Görüntü Boyutu… Canvas Size… Tuval Boyutu… Image Rotation Görüntü Döndürme - Flip Canvas Horizontal Kanvası Yatay Çevir - Flip Canvas Vertical Kanvası Dikey Çevir + Flip Canvas Horizontal Tuvali Yatay Çevir + Flip Canvas Vertical Tuvali Dikey Çevir Crop Kırp Trim… Kırp (Kenar)… Reveal All Tümünü Göster Duplicate… Çoğalt… - Apply Image… Resmi Uygula… + Apply Image… Görüntüyü Uygula… Calculations… Hesaplamalar… Variables Değişkenler Define… Tanımla… - Data Sets… Veri Setleri… + Data Sets… Veri Kümeleri… Apply Data Set… Veri Kümesini Uygula… - Variable Data Sets… Değişken Veri Setleri… + Variable Data Sets… Değişken Veri Kümeleri… Trap… Tuzak… Analysis Analiz Set Measurement Scale… Ölçüm Ölçeğini Ayarla… - Select Data Points… Veri Noktalarını Seçin… + Select Data Points… Veri Noktalarını Seç… Record Measurements Ölçümleri Kaydet Ruler Tool Cetvel Aracı Count Tool Sayma Aracı - Place Scale Marker… Ölçek İşaretçisini Yerleştirin… + Place Scale Marker… Ölçek İşaretçisini Yerleştir… Custom… Özel… New Yeni Layer… Katman… Group… Grup… Group from Layers… Katmanlardan Grup… - Artboard… Çalışma yüzeyi… - Artboard from Group… Gruptan çalışma yüzeyi… + Artboard… Çalışma Yüzeyi… + Artboard from Group… Gruptan Çalışma Yüzeyi… Artboard from Layers… Katmanlardan Çalışma Yüzeyi… - Layer via Copy Kopyalama yoluyla katman + Layer via Copy Kopyalama Yoluyla Katman Layer via Cut Kesim Yoluyla Katman Layer From Background… Arka Plandan Katman… Layer from Background… Arka Plandan Katman… Background From Layer Katmandan Arka Plan New Shape Layer Yeni Şekil Katmanı - New Type Layer Yeni Tip Katmanı + New Type Layer Yeni Metin Katmanı New Fill Layer Yeni Dolgu Katmanı New Adjustment Layer Yeni Ayarlama Katmanı New Layer Based Slice Yeni Katman Tabanlı Dilim @@ -309,48 +309,48 @@ Layer Style Katman Stili Blending Options… Karışım Seçenekleri… Bevel & Emboss… Eğim ve Kabartma… - Use Global Light Global Light'ı kullanın + Use Global Light Genel Işığı Kullan Overprint Üst Baskı Inner Shadow… İç Gölge… Inner Glow… İç Işıma… Satin… Saten… Color Overlay… Renk Kaplama… - Gradient Overlay… Degrade Kaplama… - Pattern Overlay… Desen Kaplama… + Gradient Overlay… Degrade Kaplaması… + Pattern Overlay… Desen Kaplaması… Outer Glow… Dış Işıma… Drop Shadow… Alt Gölge… Copy Layer Style Katman Stilini Kopyala Paste Layer Style Katman Stilini Yapıştır Clear Layer Style Katman Stilini Temizle - Global Light… Küresel Işık… + Global Light… Genel Işık… Hide All Effects Tüm Efektleri Gizle - Scale Effects… Ölçek Etkileri… + Scale Effects… Efektleri Ölçekle… Smart Filter Akıllı Filtre - Convert for Smart Filters Akıllı Filtreler için Dönüştürme + Convert for Smart Filters Akıllı Filtreler için Dönüştür Clear Smart Filters Akıllı Filtreleri Temizle Disable Smart Filters Akıllı Filtreleri Devre Dışı Bırak Delete Filter Mask Filtre Maskesini Sil Disable Filter Mask Filtre Maskesini Devre Dışı Bırak Solid Color… Düz Renk… - Gradient… Gradyan… + Gradient… Degrade… Pattern… Desen… Layer Mask Katman Maskesi - Vector Mask vektör maskesi + Vector Mask Vektör Maskesi Reveal Selection Seçimi Göster Hide Selection Seçimi Gizle Hide All Tümünü Gizle - From Transparency Şeffaflıktan + From Transparency Saydamlıktan Delete Vector Mask Vektör Maskesini Sil Enable Layer Mask Katman Maskesini Etkinleştir Disable Layer Mask Katman Maskesini Devre Dışı Bırak Enable Vector Mask Vektör Maskesini Etkinleştir - Link Layer Mask Bağlantı Katmanı Maskesi + Link Layer Mask Katman Maskesini Bağla Unlink Layer Mask Katman Maskesinin Bağlantısını Kaldır - Link Vector Mask Bağlantı Vektör Maskesi + Link Vector Mask Vektör Maskesini Bağla Add Vector Mask Vektör Maskesi Ekle Vector Mask from Current Path Geçerli Yoldan Vektör Maskesi Create Clipping Mask Kırpma Maskesi Oluştur - Release Clipping Mask Kırpma Maskesini Serbest Bırakın + Release Clipping Mask Kırpma Maskesini Serbest Bırak Smart Objects Akıllı Nesneler Smart Object Akıllı Nesne Convert to Smart Object Akıllı Nesneye Dönüştür @@ -368,53 +368,53 @@ Entropy Entropi Kurtosis Basıklık Maximum Maksimum - Mean ortalama + Mean Ortalama Median Medyan - Minimum Asgari + Minimum Minimum Range Aralık - Skewness çarpıklık + Skewness Çarpıklık Standard Deviation Standart Sapma Summation Toplama Variance Varyans Video Layers Video Katmanları Interpret Footage… Görüntüyü Yorumla… Replace Footage… Görüntüyü Değiştir… - Reload Frame Çerçeveyi Yeniden Yükle + Reload Frame Kareyi Yeniden Yükle Show Altered Video Değiştirilen Videoyu Göster - Restore Frame Çerçeveyi Geri Yükle - Restore All Frames Tüm Çerçeveleri Geri Yükle - Insert Blank Frame Boş Çerçeve Ekle - Delete Frame Çerçeveyi Sil - Duplicate Frame Çerçeveyi Çoğalt - Frame from Layers Katmanlardan Çerçeve + Restore Frame Kareyi Geri Yükle + Restore All Frames Tüm Kareleri Geri Yükle + Insert Blank Frame Boş Kare Ekle + Delete Frame Kareyi Sil + Duplicate Frame Kareyi Çoğalt + Frame from Layers Katmanlardan Kare Video Frames to Layers… Video Karelerinden Katmanlara… Rasterize Rasterleştir - Rasterize Type Rasterleştirme Türü - Rasterize Type Layer Tip Katmanını Rasterleştir + Rasterize Type Metni Rasterleştir + Rasterize Type Layer Metin Katmanını Rasterleştir Rasterize Shape Şekli Rasterleştir New Guide Layout… Yeni Kılavuz Düzeni… - New Guides From Shape Shape'den Yeni Kılavuzlar + New Guides From Shape Şekilden Yeni Kılavuzlar Lock Layers… Katmanları Kilitle… Link Layers Katmanları Bağla - Select Linked Layers Bağlantılı Katmanları Seçin + Select Linked Layers Bağlantılı Katmanları Seç Merge Layers Katmanları Birleştir Merge Down Aşağı Birleştir Merge Visible Görünürleri Birleştir - Stamp Visible Damga Görünür - Select Layer Above Yukarıdaki Katmanı Seçin - Select Layer Below Aşağıdaki Katmanı Seçin - Select Top Layer Üst Katmanı Seçin - Select Bottom Layer Alt Katmanı Seçin + Stamp Visible Görünür Katmanları Damgala + Select Layer Above Yukarıdaki Katmanı Seç + Select Layer Below Aşağıdaki Katmanı Seç + Select Top Layer Üst Katmanı Seç + Select Bottom Layer Alt Katmanı Seç Add Layer Above to Selection Seçime Yukarıdaki Katmanı Ekle Add Layer Below to Selection Aşağıdaki Katmanı Seçime Ekle - Stamp Down Damgalama + Stamp Down Aşağıya Damgala Flatten Image Görüntüyü Düzleştir - Matting Paspas + Matting Matlama Color Decontaminate… Renkli Dekontamine… Remove Black Matte Siyah Matı Kaldır Remove White Matte Beyaz Matı Kaldır - Defringe… Borcu kaldır… - Group Layers Grup Katmanları + Defringe… Kenar Halesini Kaldır… + Group Layers Katmanları Gruplandır Ungroup Layers Katmanların Grubunu Çöz Hide Layers Katmanları Gizle Arrange Sırala @@ -424,9 +424,9 @@ Send to Back En Arkaya Gönder Reverse Ters Combine Shapes Şekilleri Birleştir - Unite Shapes Şekilleri Birleştir - Subtract Front Shape Ön Şekli Çıkart - Intersect Shape Areas Şekil Alanlarını Kesiş + Unite Shapes Şekil Alanlarını Birleştir + Subtract Front Shape Ön Şekli Çıkar + Intersect Shape Areas Şekil Alanlarını Kesiştir Exclude Overlapping Shapes Çakışan Şekilleri Hariç Tut Merge Shape Components Şekil Bileşenlerini Birleştir Align Hizala @@ -437,7 +437,7 @@ Horizontal Centers Yatay Merkezler Right Edges Sağ Kenarlar Distribute Dağıt - Vertically Dikey olarak + Vertically Dikey Olarak Horizontally Yatay olarak Layer Edges Katman Kenarları Isolate Layers Katmanları Yalıt @@ -463,7 +463,7 @@ Crisp Çıtır Strong Güçlü Smooth Pürüzsüz - Windows LCD Windows LCD'si + Windows LCD Windows LCD Windows Windows Orientation Oryantasyon Horizontal Yatay @@ -472,25 +472,25 @@ Standard Ligatures Standart Bitişik Harfler Contextual Alternates Bağlamsal Alternatifler Discretionary Ligatures İsteğe Bağlı Bitişik Harfler - Swash çalkalama - Oldstyle Eski tarz + Swash Süslü Harfler + Oldstyle Eski Stil Stylistic Alternates Stilistik Alternatifler Titling Alternates Başlık Alternatifleri Ornaments Süsler Ordinals Sıra Sayıları Fractions Kesirler - Create Work Path İş Yolu Oluştur + Create Work Path Çalışma Yolu Oluştur Convert to Shape Şekle Dönüştür - Warp Text… Metni Çözgü… + Warp Text… Metni Çarpıt… Convert to Point Text Nokta Metnine Dönüştür Convert to Paragraph Text Paragraf Metnine Dönüştür Default Features Varsayılan Özellikler East Asian Features Doğu Asya Özellikleri Middle Eastern Features Orta Doğu Özellikleri - Middle Eastern & South Asian Composer Orta Doğulu ve Güney Asyalı Besteci + Middle Eastern & South Asian Composer Orta Doğu ve Güney Asya Dizgi Motoru Update All Text Layers Tüm Metin Katmanlarını Güncelle Replace All Missing Fonts Tüm Eksik Yazı Tiplerini Değiştir - Resolve Missing Fonts… Eksik Yazı Tiplerini Çözün… + Resolve Missing Fonts… Eksik Yazı Tiplerini Çöz… Font Preview Size Yazı Tipi Önizleme Boyutu None Yok Small Küçük @@ -498,8 +498,8 @@ Large Büyük Extra Large Ekstra Büyük Huge Devasa - Load Default Type Styles Varsayılan Yazım Stillerini Yükle - Save Default Type Styles Varsayılan Yazım Stillerini Kaydet + Load Default Type Styles Varsayılan Metin Stillerini Yükle + Save Default Type Styles Varsayılan Metin Stillerini Kaydet Deselect Seçimi Kaldır Reselect Yeniden Seç Inverse Ters Çevir @@ -511,7 +511,7 @@ Smart Radius Akıllı Yarıçap Shift Edge Kenarı Kaydır Decontaminate Dekontaminasyon - Refine Edge Kenarı İyileştir + Refine Edge Kenarı Hassaslaştır Modify Değiştir Border… Kenarlık… Smooth… Düzelt… @@ -525,7 +525,7 @@ Save Selection… Seçimi Kaydet… Match All Tümünü Eşleştir Last Filter Son Filtre - Filter Gallery… Galeriyi Filtrele… + Filter Gallery… Filtre Galerisi… Adaptive Wide Angle… Uyarlanabilir Geniş Açı… Camera Raw Filter… Camera Raw Filtresi… Liquify… Sıvılaştır… @@ -547,34 +547,34 @@ Gaussian Blur… Gauss Bulanıklığı… Lens Blur… Mercek Bulanıklığı… Motion Blur… Hareket Bulanıklığı… - Radial Blur… Radyal Bulanıklık… + Radial Blur… Radyal Bulanıklığı… Shape Blur… Şekil Bulanıklığı… Smart Blur… Akıllı Bulanıklaştırma… Surface Blur… Yüzey Bulanıklığı… Average Ortalama - Displace… Yer değiştir… - Pinch… Tut… + Displace… Yer Değiştir… + Pinch… Sıkıştır… Polar Coordinates… Kutupsal Koordinatlar… Ripple… Dalgalanma… Shear… Kesme… Spherize… Küreselleştir… - Twirl… Döndür… + Twirl… Girdap… Wave… Dalga… - ZigZag… ZigZag… + ZigZag… Zikzak… Noise Gürültü Add Noise… Gürültü Ekle… - Despeckle Benek giderme + Despeckle Benekleri Gider Dust & Scratches… Toz ve Çizikler… Median… Medyan… - Reduce Noise… Gürültüyü Azaltın… + Reduce Noise… Gürültüyü Azalt… Pixelate Pikselleştir Color Halftone… Renk Yarım Tonu… - Crystallize… Kristalleşin… + Crystallize… Kristalleştir… Facet Faset Fragment Parça Mezzotint… Mezzotint… Mosaic… Mozaik… - Pointillize… Noktalaştırın… + Pointillize… Noktalaştır… Render İşleme Clouds Bulutlar Difference Clouds Fark Bulutları @@ -582,17 +582,17 @@ Flame… Alev… Lens Flare… Mercek Parlaması… Lighting Effects… Aydınlatma Efektleri… - Relight… Yeniden aydınlat… + Relight… Yeniden Aydınlat… Picture Frame… Resim Çerçevesi… Tree… Ağaç… Sharpen Keskinleştir - Sharpen Edges Kenarları Keskinleştirin + Sharpen Edges Kenarları Keskinleştir Sharpen More Daha Fazla Keskinleştir Smart Sharpen… Akıllı Keskinleştirme… Unsharp Mask… Keskinliği Azaltma Maskesi… High Pass… Yüksek Geçiş… Stylize Stilize Et - Diffuse… Yaygın… + Diffuse… Yay… Emboss… Kabartma… Extrude… Ekstrüzyon… Find Edges Kenarları Bul @@ -600,29 +600,29 @@ Solarize Solarizasyon Tiles… Fayans… Trace Contour… Konturu İzle… - Wind… Rüzgar… - Video video + Wind… Rüzgâr… + Video Video De-Interlace… Taramasızlaştırma… NTSC Colors NTSC Renkleri Other Diğer Maximum… Maksimum… - Minimum… Asgari… - Offset… Ofset… + Minimum… Minimum… + Offset… Kaydırma… Plug-ins Eklentiler Proof Setup Prova Kurulumu Proof Colors Prova Renkleri Gamut Warning Gamut Uyarısı - Working CMYK CMYK'de çalışıyor - Working Cyan Plate Çalışan Camgöbeği Plaka - Working Magenta Plate Çalışan Macenta Plaka - Working Yellow Plate Sarı Plaka Çalışması - Working Black Plate Siyah Plaka Çalışma - Working CMY Plate Çalışan CMY Plakası + Working CMYK Çalışma CMYK'si + Working Cyan Plate Çalışma Camgöbeği Plakası + Working Magenta Plate Çalışma Macenta Plakası + Working Yellow Plate Çalışma Sarı Plakası + Working Black Plate Çalışma Siyah Plakası + Working CMY Plate Çalışma CMY Plakası Legacy Macintosh RGB Eski Macintosh RGB Internet Standard RGB İnternet Standardı RGB - Monitor RGB RGB'yi izleyin + Monitor RGB Monitör RGB Color Blindness — Protanopia-type Renk Körlüğü — Protanopi tipi - Color Blindness — Deuteranopia-type Renk Körlüğü – Döteranopi tipi + Color Blindness — Deuteranopia-type Renk Körlüğü — Döteranopi tipi Zoom In Yakınlaştır Zoom Out Uzaklaştır Fit on Screen Ekrana Sığdır @@ -636,7 +636,7 @@ Custom Pixel Aspect Ratio… Özel Piksel En Boy Oranı… Square Kare D1/DV NTSC (0.91) D1/DV NTSC (0,91) - D1/DV NTSC Widescreen (1.21) D1/DV NTSC Geniş Ekran (1.21) + D1/DV NTSC Widescreen (1.21) D1/DV NTSC Geniş Ekran (1,21) D1/DV PAL (1.09) D1/DV PAL (1,09) D1/DV PAL Widescreen (1.46) D1/DV PAL Geniş Ekran (1,46) Anamorphic 2:1 (2) Anamorfik 2:1 (2) @@ -647,7 +647,7 @@ Standard Screen Mode Standart Ekran Modu Full Screen Mode With Menu Bar Menü Çubuklu Tam Ekran Modu Full Screen Mode Tam Ekran Modu - Cycle Screen Mode Döngü Ekranı Modu + Cycle Screen Mode Ekran Modları Arasında Geç Show Göster Extras Ekstralar Selection Edges Seçim Kenarları @@ -655,7 +655,7 @@ Current Path Geçerli Yol Grid Izgara Guides Kılavuzlar - Canvas Guides Kanvas Kılavuzları + Canvas Guides Tuval Kılavuzları Artboard Guides Çalışma Yüzeyi Kılavuzları Count Sayım Smart Guides Akıllı Kılavuzlar @@ -666,8 +666,8 @@ Pixel Art Preview Piksel Sanat Önizlemesi Pattern Preview Desen Önizlemesi Brush Preview Fırça Önizlemesi - Mesh ağ - Edit Pins Pinleri Düzenle + Mesh Ağ + Edit Pins Pimleri Düzenle Document Bounds Belge Sınırları Show Extras Options… Ekstra Seçeneklerini Göster… Rulers Cetveller @@ -676,15 +676,15 @@ Lock Guides Kılavuzları Kilitle Clear Guides Kılavuzları Temizle Clear Selected Artboard Guides Seçilen Çalışma Yüzeyi Kılavuzlarını Temizle - Clear Canvas Guides Şeffaf Kanvas Kılavuzları + Clear Canvas Guides Tuval Kılavuzlarını Temizle New Guide… Yeni Kılavuz… Lock Slices Dilimleri Kilitle Clear Slices Dilimleri Temizle Match Zoom Yakınlaştırmayı Eşleştir - Match Location Eşleşme Konumu - Match Rotation Maç Rotasyonu - Cascade Çağlayan - Tile Fayans + Match Location Konumu Eşleştir + Match Rotation Döndürmeyi Eşleştir + Cascade Basamakla + Tile Döşe Tile All Horizontally Tümünü Yatay Olarak Döşe Tile All Vertically Tümünü Dikey Olarak Döşe 2-up Horizontal 2'li Yatay @@ -695,11 +695,11 @@ 4-up 4'lü 6-up 6'lı Consolidate All to Tabs Tümünü Sekmelerde Birleştir - Float in Window Pencerede Kaydır - Float All in Windows Tümünü Windows'ta Kaydır + Float in Window Pencerede Yüzdür + Float All in Windows Tümünü Pencerelerde Yüzdür New Window for Document Belge için Yeni Pencere Workspace Çalışma alanı - Essentials Temel bilgiler + Essentials Temel Öğeler Graphic and Web Grafik ve Web Painting Boyama Photography Fotoğrafçılık @@ -711,27 +711,27 @@ Reset all tools to their default settings? Tüm araçlar varsayılan ayarlarına sıfırlansın mı? Lock Workspace Çalışma Alanını Kilitle Theme Tema - Pro Theme Profesyonel Tema + Pro Theme Pro Tema Pro Medium Gray Theme Pro Orta Gri Tema Pro Light Gray Theme Pro Açık Gri Tema - Pro Light Theme Profesyonel Işık Teması + Pro Light Theme Pro Açık Tema Studio Theme Stüdyo Teması - Studio Light Theme Stüdyo Işık Teması + Studio Light Theme Stüdyo Açık Tema Classic Theme Klasik Tema - Solarized dark Solarize karanlık - Solarized Dark Theme Solarize Karanlık Tema - Breeze dark Esinti karanlık - Breeze Dark Theme Esinti Koyu Tema - Breeze light Esinti ışığı - Breeze Light Theme Esinti Işık Teması + Solarized dark Solarized koyu + Solarized Dark Theme Solarized Koyu Tema + Breeze dark Breeze koyu + Breeze Dark Theme Breeze Koyu Tema + Breeze light Breeze açık + Breeze Light Theme Breeze Açık Tema Soft dark Yumuşak koyu Soft light Yumuşak açık Soft Dark Theme Yumuşak koyu tema Soft Light Theme Yumuşak açık tema - Adwaita Light Theme Adwaita Işık Teması - Adwaita Dark Theme Adwaita Karanlık Tema + Adwaita Light Theme Adwaita Açık Tema + Adwaita Dark Theme Adwaita Koyu Tema Adwaita Adwaita - Adwaita dark Adwaita karanlık + Adwaita dark Adwaita koyu Next Theme Sonraki Tema Actions Eylemler Brush Settings Fırça Ayarları @@ -744,7 +744,7 @@ Glyphs Glifler Gradients Degradeler Histogram Histogram - History Tarih + History Geçmiş Info Bilgi Measurement Log Ölçüm Günlüğü Modifier Keys Değiştirici Tuşlar @@ -758,15 +758,15 @@ Shapes Şekiller Styles Stiller Swatches Renk Örnekleri - Timeline Zaman çizelgesi + Timeline Zaman Çizelgesi Tool Presets Araç Ön Ayarları Tools Araçlar About PhotoCraft PhotoCraft Hakkında PhotoCraft Website PhotoCraft Web Sitesi PhotoCraft on GitHub GitHub'da PhotoCraft ArtCraft Website ArtCraft Web Sitesi - Join the ArtCraft Discord… ArtCraft Discord'una katılın… - Report an Issue… Bir Sorun Bildirin… + Join the ArtCraft Discord… ArtCraft Discord'una Katıl… + Report an Issue… Sorun Bildir… WIA Support… WIA Desteği… Apply Uygula HSB/HSL HSB/HSL @@ -775,16 +775,16 @@ Motion Hareket Notes… Notlar… Other… Diğer… - Remove Warp Split Warp Split'i Kaldır + Remove Warp Split Çarpıtma Bölünmesini Kaldır Shape Şekil Split Warp Crosswise Çözgüyü Çapraz Olarak Böl Split Warp Horizontally Çözgüyü Yatay Olarak Böl Split Warp Vertically Çözgüyü Dikey Olarak Böl Statistics… İstatistikler… - Refine Strokes Konturları İyileştir + Refine Strokes Fırça Vuruşlarını Hassaslaştır @plural {n} item|{n} items {n} öğe Auto Otomatik - (print to the printer) (yazıcıya yazdırın) + (print to the printer) (yazıcıya yazdır) + Add variable + Değişken ekle 30 frames @ 30 fps 30 kare @ 30 fps 3D LUT File 3D LUT Dosyası @@ -796,34 +796,34 @@ Add Ekle Add Layer Mask Katman Maskesi Ekle Add Stop Durak Ekle - Add a layer style Katman stili ekleme + Add a layer style Katman stili ekle Add a mask (from the selection; {key} inverts) Bir maske ekleyin (seçimden; {key} tersine çevirir) - Add an adjustment Düzenleme ekle + Add an adjustment Ayarlama ekle Add disk Disk ekle Add space after paragraph Paragraftan sonra boşluk ekle - Add space before paragraph Paragraftan önce boşluk ekleyin + Add space before paragraph Paragraftan önce boşluk ekle Add to Sample Örneğe Ekle Add to selection ({key}) Seçime ekle ({key}) Adjust for Zoom Yakınlaştırma için Ayarlama - Adjustment visible Ayar görünür + Adjustment visible Ayarlama görünür Adobe RGB (1998) compatible Adobe RGB (1998) uyumlu Align and Distribute Hizala ve Dağıt Align and distribute Hizala ve dağıt - Align horizontal centers Yatay merkezleri hizalayın + Align horizontal centers Yatay merkezleri hizala Align left edges Sol kenarları hizala - Align right edges Sağ kenarları hizalayın + Align right edges Sağ kenarları hizala Aligned Hizalı All Caps Tamamı Büyük Harf All Slices Tüm Dilimler All User Slices Tüm Kullanıcı Dilimleri All shortcuts reset to PhotoCraft defaults. Tüm kısayollar PhotoCraft varsayılanlarına sıfırlanır. - Alt Alternatif - Always use pressure for opacity Opaklık için her zaman baskıyı kullanın - Always use pressure for size Her zaman boyuta göre baskı kullanın + Alt Alt + Always use pressure for opacity Opaklık için her zaman basıncı kullan + Always use pressure for size Boyut için her zaman basıncı kullan Amount Miktar - Anchor: Çapa: + Anchor: Çapa noktası: Angle Açı - Angle Gradient Açı Gradyanı + Angle Gradient Açısal Degrade Angle Jitter Açı Değişimi Answer the unsaved-changes prompt first Önce kaydedilmemiş değişiklikler istemini yanıtlayın Anti-alias Kenar yumuşatma @@ -833,24 +833,24 @@ Add Mask to Selection Maskeyi Seçime Ekle Subtract Mask from Selection Maskeyi Seçimden Çıkar Intersect Mask with Selection Maskeyi Seçimle Kesiştir - Apply Per Tip İpucu Başına Uygula + Apply Per Tip Uç Başına Uygula Apply next selected layer comp Sonraki seçilen katman kompozisyonunu uygula Apply previous selected layer comp Önceki seçilen katman kompozisyonunu uygula Artboard Çalışma yüzeyi Artboard Background Color Çalışma Yüzeyi Arka Plan Rengi - Assign working space Çalışma alanı atayın + Assign working space Çalışma renk uzayını ata Author: Yazar: Auto Hide Otomatik Gizle Auto-Select: Otomatik Seç: Automatically level near-horizontal line segments Yataya yakın çizgi bölümlerini otomatik olarak hizalayın - Automatically straighten and level Otomatik olarak düzeltin ve seviyelendirin - Automatically straighten near-vertical line segments Dikeye yakın çizgi bölümlerini otomatik olarak düzelt + Automatically straighten and level Otomatik olarak doğrultun ve hizalayın + Automatically straighten near-vertical line segments Dikeye yakın çizgi bölümlerini otomatik olarak doğrultun Background Arka plan Background Color Arka Plan Rengi Background Contents Arka Plan İçeriği Custom background color Özel Arka Plan Rengi - Balance Bakiye - Baseline Temel + Balance Denge + Baseline Taban Çizgisi Baseline shift Taban çizgisi kayması Basic Temel Before (Y) Önce (Y) @@ -862,7 +862,7 @@ Bicubic Sharper (reduction) Bikübik Daha Keskin (azaltma) Bilinear Çift doğrusal Black Siyah - Black & White Siyah Beyaz + Black & White Siyah ve Beyaz Black Point Compensation Kara Nokta Telafisi Black, White Siyah, Beyaz Blacks Siyahlar @@ -873,9 +873,9 @@ Both Axes Her İki Eksen Bottom Alt Brightness Parlaklık - Brightness Jitter Parlaklık Değişimi + Brightness Jitter Parlaklık Titreşimi Brightness/Contrast Parlaklık/Kontrast - Bring the selected pin forward Seçilen pini öne getir + Bring the selected pin forward Seçilen pimi öne getir Brush Preset picker Fırça Ön Ayarı seçici Brush Reconstruct Options Fırçayla Yeniden Yapılandırma Seçenekleri Brush Tool Options Fırça Aracı Seçenekleri @@ -885,15 +885,15 @@ Reset Sıfırla Cancel (Esc) İptal (Esc) Manage submitted jobs in the system print queue Gönderilen işleri sistem yazdırma kuyruğunda yönetin - Cancel any current edits (Esc) Mevcut düzenlemeleri iptal et (Esc) + Cancel any current edits (Esc) Geçerli düzenlemeleri iptal et (Esc) Cancel current crop operation (Esc) Geçerli kırpma işlemini iptal et (Esc) Cancel transform (Esc) Dönüşümü iptal et (Esc) Cancel warp (Esc) Çözgüyü iptal et (Esc) - Canvas Kanvas - Canvas extension color: Kanvas uzatma rengi: + Canvas Tuval + Canvas extension color: Tuval uzatma rengi: Capture Yakala Capture the visibility, position and style of every layer with + below, then switch between versions. Aşağıdaki + ile her katmanın görünürlüğünü, konumunu ve stilini yakalayın, ardından sürümler arasında geçiş yapın. - Catch-up on Stroke End Strok Sonunda Yakalama + Catch-up on Stroke End Vuruş Sonunda Yakalama Center Merkez Center Crop Marks Orta Kırpma İşaretleri Center text Metni ortala @@ -901,33 +901,33 @@ Change All Tümünü Değiştir Change Screen Mode (F) Ekran Modunu Değiştir (F) Change To: Şuna Değiştir: - Channel Mixer Kanal Mikseri + Channel Mixer Kanal Karıştırıcı Channel: Kanal: - Check All Layers Tüm Katmanları Kontrol Et - Check Spelling Yazımı Kontrol Et + Check All Layers Tüm Katmanları Denetle + Check Spelling Yazımı Denetle Clarity Netlik Clear All Tümünü Temizle Clear Override Geçersiz Kılmayı Temizle Clear Samples Örnekleri Temizle - Click sets foreground · right-click sets background Ön planı ayarlar'a tıklayın · arka planı sağ tıklayın + Click sets foreground · right-click sets background Tıklama ön planı, sağ tıklama arka planı ayarlar Click the first point or press {key} to close · Esc cancels Kapatmak için ilk noktayı tıklayın veya {key} tuşuna basın · Esc iptal eder - Click to add a point · drag off or {key}-click or Delete to remove Nokta eklemek için tıklayın · sürükleyin veya {key} tuşuna basıp tıklayın veya kaldırmak için Sil + Click to add a point · drag off or {key}-click or Delete to remove Nokta eklemek için tıklayın · kaldırmak için dışarı sürükleyin, {key}-tıklayın veya Delete'e basın Click to apply, {key}-click to clear overrides, double-click for Style Options Uygulamak için tıklayın, geçersiz kılmaları temizlemek için {key}-tıklayın, Stil Seçenekleri için çift tıklayın Click to edit the gradient Degradeyi düzenlemek için tıklayın - Click to restore the current colour Mevcut rengi geri yüklemek için tıklayın - Click to zoom in · {key}-click to zoom out · drag right/left to zoom in/out Yakınlaştırmak için tıklayın · {key}-uzaklaştırmak için tıklayın · yakınlaştırmak/uzaklaştırmak için sağa/sola sürükleyin + Click to restore the current colour Geçerli rengi geri yüklemek için tıklayın + Click to zoom in · {key}-click to zoom out · drag right/left to zoom in/out Yakınlaştırmak için tıklayın · uzaklaştırmak için {key}-tıklayın · yakınlaştırmak/uzaklaştırmak için sağa/sola sürükleyin Click with the Note tool to add a note. Not eklemek için Not aracıyla tıklayın. Click: corner · Drag: smooth · Click first point: close · {key} finish · Esc cancel Tıklayın: köşe · Sürükleyin: pürüzsüz · İlk noktaya tıklayın: kapat · {key} bitiş · Esc iptal Click: corner · Drag: smooth · {alt}-drag: break handle · Click or drag first point: close · {key} finish · Esc cancel Tıklayın: köşe · Sürükleyin: pürüzsüz · {alt}-sürükleyin: tutamacı kırın · İlk noktayı tıklayın veya sürükleyin: kapat · {key} bitiş · Esc iptal - Clip to layer below Aşağıdaki katmana klip + Clip to layer below Aşağıdaki katmana kırp Clipped Kırpılmış Close Style Options Stil Seçeneklerini Kapat - Cmd Komut + Cmd Cmd Coated CMYK Kaplamalı CMYK Color & Swatches Renk ve Renk Örnekleri Color Balance Renk Dengesi - Color Detail Renk Detayı - Color Grading Renk Derecelendirmesi + Color Detail Renk Ayrıntısı + Color Grading Renk Derecelendirme Color Lookup Renk Arama Color Management Renk Yönetimi Color Mixer Renk Karıştırıcı @@ -937,19 +937,20 @@ Color: Renk: Colorize Renklendir Colors Renkler - Commit Perspective Warp ({key}) Perspektif Çarpıtma İşlemi ({key}) - Commit Puppet Warp ({key}) Kukla Çarpıtma İşlemi ({key}) - Commit any current edits ({key}) Mevcut düzenlemeleri tamamlayın ({key}) + Commit Perspective Warp ({key}) Perspektif Çarpıtmayı Uygula ({key}) + Commit Puppet Warp ({key}) Kukla Çarpıtmayı Uygula ({key}) + Commit any current edits ({key}) Geçerli düzenlemeleri tamamlayın ({key}) Commit current crop operation ({key}) Geçerli kırpma işlemini gerçekleştir ({key}) Commit transform ({key}) Dönüşümü kaydet ({key}) - Commit warp ({key}) Çözgü gerçekleştir ({key}) + Commit warp ({key}) Çarpıtmayı onayla ({key}) Constant Sabit - Constrain proportions Oranları sınırla + Constrain proportions Oranları koru Contact Sheet II İletişim Sayfası II Content-Aware İçeriğe Duyarlı Contiguous Bitişik Contrast Kontrast Control: Kontrol: + Convert to sRGB sRGB'ye dönüştür Copies Kopyalar Copper Bakır @@ -958,18 +959,18 @@ Corner Crop Marks Köşe Kırpma İşaretleri Corner radius Köşe yarıçapı Correction Düzeltme - Count Jitter Titreşimi say + Count Jitter Sayım Titreşimi Create Oluştur Create Droplet Damlacık Oluştur Create Texture Doku Oluştur - Create Video Timeline Video Zaman Çizelgesi Oluşturun + Create Video Timeline Video Zaman Çizelgesi Oluştur Create a new count group Yeni bir sayım grubu oluşturun Create a new document or open an existing file. Yeni bir belge oluşturun veya mevcut bir dosyayı açın. Create a new group Yeni bir grup oluştur Create a new layer Yeni bir katman oluştur Create new action Yeni eylem oluştur Create new channel Yeni kanal oluştur - Create new document from current state Mevcut durumdan yeni belge oluştur + Create new document from current state Geçerli durumdan yeni belge oluştur Create new fill or adjustment layer Yeni dolgu veya ayarlama katmanı oluştur Create new gradient Yeni degrade oluştur Create new group Yeni grup oluştur @@ -977,14 +978,14 @@ Create new pattern from the selection Seçimden yeni desen oluştur Create new shape from the current path Geçerli yoldan yeni şekil oluştur Create new snapshot Yeni anlık görüntü oluştur - Create new style (from the selected type) Yeni stil oluştur (seçilen türden) + Create new style (from the selected type) Yeni stil oluştur (seçilen metinden) Create new style from the selected layer Seçilen katmandan yeni stil oluştur Create new tool preset Yeni araç ön ayarı oluştur - Crop Factor Mahsul Faktörü + Crop Factor Kırpma Faktörü Ctrl Ctrl - Current & Below Güncel ve Aşağıda + Current & Below Geçerli ve Altındakiler Current Layer Geçerli Katman - Current Size Mevcut Boyut + Current Size Geçerli Boyut Current Tool Only Yalnızca Geçerli Araç Curve Eğri Curves Eğriler @@ -993,8 +994,8 @@ Cyan Camgöbeği Cyan · Red Camgöbeği · Kırmızı Darken Koyulaştır - Darks Karanlıklar - Data Sets Veri Setleri + Darks Koyu Tonlar + Data Sets Veri Kümeleri Default Varsayılan Default colours (D) Varsayılan renkler (D) Default printer Varsayılan yazıcı @@ -1011,8 +1012,8 @@ Delete Timeline Zaman Çizelgesini Sil Delete Tool Preset Araç Ön Ayarını Sil Delete count group Sayım grubunu sil - Delete current channel Mevcut kanalı sil - Delete current state Mevcut durumu sil + Delete current channel Geçerli kanalı sil + Delete current state Geçerli durumu sil Delete effect layer Efekt katmanını sil Delete layer ‘{name}’? '{name}' katmanı silinsin mi? Delete {count} layers? {names} {count} katman silinsin mi? {names} @@ -1031,17 +1032,17 @@ Density Yoğunluk Density: Yoğunluk: Depth Derinlik - Depth Jitter Derinlik Değişimi + Depth Jitter Derinlik Titreşimi Description Açıklama Deselect All Tümünün Seçimini Kaldır - Detail Detay + Detail Ayrıntı Diamond Gradient Elmas Degrade Difference Fark Diffusion Difüzyon Discard the embedded profile (don't color manage) Gömülü profili atın (renk yönetimi yapmayın) - Discontiguous bitişik değil + Discontiguous Bitişik Değil Discord Discord - Dismiss Reddet + Dismiss Kapat Display P3 Display P3 Display Text Metni Görüntüle Dither Titreşim @@ -1053,18 +1054,18 @@ Done Bitti Dots Noktalar Drag a rectangle around the object Nesnenin çevresine bir dikdörtgen sürükleyin - Drag on the image to add a constraint; Shift for horizontal/vertical; right-click to delete. Kısıtlama eklemek için resmin üzerine sürükleyin; Yatay/dikey için kaydırma; silmek için sağ tıklayın. + Drag on the image to add a constraint; Shift for horizontal/vertical; right-click to delete. Kısıtlama eklemek için görüntü üzerinde sürükleyin; yatay/dikey için Shift; silmek için sağ tıklayın. Drag to move the active shape's path or the Work Path Etkin şeklin yolunu veya Çalışma Yolunu taşımak için sürükleyin - Click: select anchor · Drag: move anchor, handle or segment · {shift}-click: add · {alt}-click: whole subpath Tıklayın: çapayı seçin · Sürükleyin: çapayı, tutamacı veya parçayı taşıyın · {shift}-tıklayın: ekleyin · {alt}-tıklayın: alt yolun tamamı + Click: select anchor · Drag: move anchor, handle or segment · {shift}-click: add · {alt}-click: whole subpath Tıklayın: çapa noktasını seçin · Sürükleyin: çapa noktasını, tutamacı veya parçayı taşıyın · {shift}-tıklayın: ekleyin · {alt}-tıklayın: alt yolun tamamı Draw with the Pen tool (P) or make a work path from a selection. Kalem aracıyla (P) çizim yapın veya seçimden bir çalışma yolu oluşturun. Drop an image or PSD anywhere to open it. Açmak için bir görüntüyü veya PSD'yi herhangi bir yere bırakın. Native file drag-and-drop is unavailable Yerel dosya sürükle ve bırak özelliği kullanılamıyor - Native file drag-and-drop is not supported on Wayland yet. Use File › Open, or copy the image in your file manager and paste it with {paste}. Yerel dosya sürükle ve bırak özelliği henüz Wayland'de desteklenmiyor. Dosyayı Kullan › Aç veya resmi dosya yöneticinize kopyalayıp {paste} ile yapıştırın. + Native file drag-and-drop is not supported on Wayland yet. Use File › Open, or copy the image in your file manager and paste it with {paste}. Yerel dosya sürükle ve bırak özelliği henüz Wayland'de desteklenmiyor. Dosya › Aç'ı kullanın veya görüntüyü dosya yöneticinizde kopyalayıp {paste} ile yapıştırın. To drop files, start PhotoCraft under XWayland: `{command}` Dosyaları bırakmak için XWayland altında PhotoCraft'ı başlatın: `{command}` - Or set Preferences › Performance › Linux display server to X11: PhotoCraft then always starts under XWayland. Veya Tercihler › Performans › Linux görüntüleme sunucusunu X11: PhotoCraft olarak ayarlayın, ardından her zaman XWayland altında başlar. + Or set Preferences › Performance › Linux display server to X11: PhotoCraft then always starts under XWayland. Veya Tercihler › Performans › Linux görüntüleme sunucusunu X11 olarak ayarlayın: PhotoCraft bundan sonra her zaman XWayland altında başlar. Edit › Paste Düzenle › Yapıştır Duplicate Layers… Katmanları Çoğalt… - Duplicate style Yinelenen stil + Duplicate style Stili çoğalt Edit Toolbar… Araç Çubuğunu Düzenle… Use File › Open, or paste a copied image with {paste}. Dosya › Aç'ı kullanın veya kopyalanan görüntüyü {paste} ile yapıştırın. Edit in Quick Mask Mode (Q) Hızlı Maske Modunda Düzenleme (Q) @@ -1072,12 +1073,12 @@ Effects Efektler Embed Color Profile Renk Profilini Göm Embedded Profile Mismatch Gömülü Profil Uyuşmazlığı - Enable airbrush-style build-up effects Airbrush stili oluşturma efektlerini etkinleştirin + Enable airbrush-style build-up effects Airbrush tarzı birikim efektlerini etkinleştir Enhance Edge Kenarı Geliştir Entire Font Yazı Tipinin Tamamı - Exact tam + Exact Tam Expansion: Genişleme: - Export Presets Ön Ayarları Dışa Aktarma + Export Presets Ön Ayarları Dışa Aktar Export selected measurements (CSV) Seçilen ölçümleri dışa aktar (CSV) Exposure Pozlama Exposure and Gamma Pozlama ve Gama @@ -1086,52 +1087,52 @@ Factor: Faktör: Faux Bold Sahte Kalın Faux Italic Sahte İtalik - Feather Tüy - Fewer Points Daha Az Puan + Feather Geçiş Yumuşatma + Fewer Points Daha Az Nokta File Settings Dosya Ayarları Fill Doldur - Fill: Doldurun: + Fill: Dolgu: Filter for adjustment layers Ayarlama katmanları için filtre Filter for pixel layers Piksel katmanları için filtre Filter for shape layers Şekil katmanları için filtre Filter for smart objects Akıllı nesneler için filtre - Filter for type layers Yazım katmanları için filtre + Filter for type layers Metin katmanları için filtre Filter: Filtre: Finger Painting Parmak Boyama - Fisheye Balıkgözü - Fit Uygun + Fisheye Balık Gözü + Fit Sığdır Fit Screen Ekrana Sığdır - Fill Screen Doldurma Ekranı + Fill Screen Ekranı Doldur Fit in View Görünüme Sığdır Fixed Sabit Fixed Ratio Sabit Oran Fixed Size Sabit Boyut Flip Çevir Flip X X'i Çevir - Flip X Jitter X Değişimini Çevir - Flip Y Y Çevirme - Flip Y Jitter Çevir Y Titreşimi + Flip X Jitter X Çevirme Titreşimi + Flip Y Y'yi Çevir + Flip Y Jitter Y Çevirme Titreşimi Flow Akış - Flow Jitter Akış Değişimi + Flow Jitter Akış Titreşimi Focal Length Odak Uzunluğu Font Yazı tipi Font Size: Yazı Tipi Boyutu: Font size Yazı tipi boyutu Foreground Ön plan Foreground to Background Ön Plandan Arka Plana - Foreground/Background Jitter Ön Plan/Arka Plan Değişimi + Foreground/Background Jitter Ön Plan/Arka Plan Titreşimi Format Biçim - Frame from Layers… Katmanlardan Çerçeve… - Free Ücretsiz + Frame from Layers… Katmanlardan Kare… + Free Serbest Full Spherical Tam Küresel Fuzziness: Bulanıklık: GPU GPU Gamma Correction Gama Düzeltmesi Gamma: Gama: - Global Küresel - Glow Color Parıltılı Renk - Gradient Map Gradyan Haritası - Grain Tahıl + Global Genel + Glow Color Işıma Rengi + Gradient Map Degrade Eşlemesi + Grain Tane Gray Gri Gray Gamma 2.2 Gri Gama 2.2 Green Yeşil @@ -1142,28 +1143,28 @@ Height: Yükseklik: Hide Auto Slices Otomatik Dilimleri Gizle Hide Properties Özellikleri Gizle - Highlight Compression Sıkıştırmayı Vurgula - Highlight Priority Önceliği Vurgula + Highlight Compression Parlak Ton Sıkıştırma + Highlight Priority Parlak Ton Önceliği Highlights Öne Çıkanlar Home Ana sayfa Horizontal scale Yatay ölçek - Hue Renk Tonu - Hue Jitter Ton Değişimi + Hue Ton + Hue Jitter Renk Tonu Titreşimi Hue/Saturation Ton/Doygunluk Hyphenate Tireleme Ignore Yoksay Ignore All Tümünü Yoksay - Image Size Resim Boyutu + Image Size Görüntü Boyutu Import Brushes… Fırçaları İçe Aktar… Import brushes (.abr) Fırçaları içe aktar (.abr) Import Presets Ön Ayarları İçe Aktar - Imported İthal - Indent First Önce Girintiyi Girin + Imported İçe Aktarıldı + Indent First İlk Satır Girintisi Indent Left Sola Girinti Indent Right Sağa Girinti Indent first line İlk satıra girinti koy Indent left margin Sol kenar boşluğunu girintile - Indent right margin Sağ kenar boşluğuna girinti + Indent right margin Sağ kenar boşluğunu girintile Input: Giriş: Inside İçeride Interlaced Taramalı @@ -1171,12 +1172,12 @@ Intersect with selection ({key}) Seçimle kesiştir ({key}) Invert All Tümünü Ters Çevir Invert has no settings. Tersine çevirmenin hiçbir ayarı yoktur. - Italic italik + Italic İtalik Join us on Discord Discord'da bize katılın - Justify all Hepsini gerekçelendir - Justify last centered Son ortayı iki yana yasla - Justify last left Son sola yasla - Justify last right Son sağa yasla + Justify all Tümünü iki yana yasla + Justify last centered Son satır ortalı, iki yana yasla + Justify last left Son satır sola yaslı, iki yana yasla + Justify last right Son satır sağa yaslı, iki yana yasla Kerning Karakter Aralığı Keyboard Shortcuts Klavye Kısayolları Keyboard Shortcuts and Menus Klavye Kısayolları ve Menüler @@ -1184,40 +1185,40 @@ Label Size Etiket Boyutu Labels Etiketler Lanczos (sharp) Lanczos (keskin) - Landscape Manzara + Landscape Yatay Last Document State Son Belge Durumu Layout Düzen - Leading Lider + Leading Satır Aralığı Leading (set to the font size × auto-leading when Auto) Satır Aralığı (Otomatik olduğunda yazı tipi boyutu × otomatik satır aralığına ayarlanır) Leave as is (don't color manage) Olduğu gibi bırakın (renk yönetimi yapmayın) Left align text Metni sola hizala Length: Uzunluk: - Level Seviye - Levels Seviyeler + Level Düzey + Levels Düzeyler Lighten Açıklaştır - Lightness hafiflik - Lights Işıklar + Lightness Açıklık + Lights Açık Tonlar Limits: Sınırlar: Linear Gradient Doğrusal Degrade - Link layers Katmanları bağlayın - Link width and height Bağlantı genişliği ve yüksekliği + Link layers Katmanları bağla + Link width and height Genişliği ve yüksekliği bağla Liquify is not open Sıvılaştırma açık değil Load Yükle - Load 3D LUT… 3D LUT'u yükleyin… + Load 3D LUT… 3D LUT'u Yükle… Load channel as selection Kanalı seçim olarak yükle Load… Yükle… - Localized Color Clusters Yerelleştirilmiş Renk Kümeleri + Localized Color Clusters Yerel Renk Kümeleri Lock Kilit Lock all Tümünü kilitle - Lock image pixels Resim piksellerini kilitle + Lock image pixels Görüntü piksellerini kilitle Lock layer Katmanı kilitle - Lock position Kilit konumu - Lock transparent pixels Şeffaf pikselleri kilitle + Lock position Konumu kilitle + Lock transparent pixels Saydam pikselleri kilitle Lock: Kilit: Logical Length: Mantıksal Uzunluk: Logical Units: Mantıksal Birimler: Luminance parlaklık - Luminance Detail Parlaklık Detayı + Luminance Detail Lüminans Ayrıntısı Magenta Macenta Magenta · Green Macenta · Yeşil Maintain aspect ratio En boy oranını koru @@ -1225,23 +1226,23 @@ Mask All Tümünü Maskele Mask Options Maske Seçenekleri Masking Maskeleme - Master Usta + Master Ana Matte Mat Median: Medyan: Menus Menüler - Mesh Size Örgü Boyutu + Mesh Size Ağ Boyutu Metadata Meta veriler Metrics Metrikler Midpoint Orta nokta Midtones Orta tonlar - Midtones from: Orta tonlar: - Midtones to: Orta tonlar: + Midtones from: Orta tonlar (başlangıç): + Midtones to: Orta tonlar (bitiş): Minimum Depth Minimum Derinlik Minimum Diameter Minimum Çap Minimum Roundness Minimum Yuvarlaklık Mode: Mod: Monochrome Tek renkli - More Points Daha Fazla Puan + More Points Daha Fazla Nokta Move effect layer down Efekt katmanını aşağı taşı Move effect layer up Efekt katmanını yukarı taşı Move to Şuraya taşı: @@ -1264,16 +1265,16 @@ No matching commands Eşleşen komut yok No presets for the current tool. Geçerli araç için ön ayar yok. No presets of this type. Bu türden ön ayar yok. - No properties Mülk yok + No properties Özellik yok No tool presets. Araç ön ayarı yok. Noise Reduction Gürültü Azaltma Normal Normal Not in Dictionary: Sözlükte Yok: OK Tamam - Offset Ofset + Offset Kaydırma Only Web Colors Yalnızca Web Renkleri Opacity Opaklık - Opacity Jitter Opaklık Değişimi + Opacity Jitter Opaklık Titreşimi Opacity: Opaklık: Open a document to define variables. Değişkenleri tanımlamak için bir belge açın. Open a document to select a colour range. Bir renk aralığı seçmek için bir belge açın. @@ -1283,7 +1284,7 @@ Option-click to define a source point to clone from Kopyalanacak bir kaynak noktası tanımlamak için Option tuşunu basılı tutarak tıklayın Original Orijinal Output Channel: Çıkış Kanalı: - Output Levels: Çıkış Seviyeleri: + Output Levels: Çıkış Düzeyleri: Output: Çıkış: Outside Dışarıda Overlay Color Kaplama Rengi @@ -1292,7 +1293,7 @@ Override Pressure Basıncı Geçersiz Kıl Override Rotation Döndürmeyi Geçersiz Kıl Override Tilt Eğimi Geçersiz Kıl - PRESET DETAILS ÖN AYAR DETAYLARI + PRESET DETAILS ÖN AYAR AYRINTILARI PSD PSD Paint Overlay Boya Kaplaması Panel locations are saved in the workspace. Keyboard shortcuts, menus and toolbar are optional. Panel konumları çalışma alanına kaydedilir. Klavye kısayolları, menüler ve araç çubuğu isteğe bağlıdır. @@ -1302,22 +1303,22 @@ Pattern Size Desen Boyutu Pause Duraklat Percent Yüzde - Perceptual algısal + Perceptual Algısal Perspective Warp is not active Perspektif Çarpıtma etkin değil Perspective Warp: draw planes along the image's perspective, then switch to Warp Perspektif Çarpıtma: görüntünün perspektifi boyunca düzlemler çizin, ardından Çarpıtma'ya geçin Photo Filter Fotoğraf Filtresi PhotoCraft PhotoCraft PhotoCraft Manages Colors PhotoCraft Renkleri Yönetir - PhotoCraft — an open-source, native image editor written in Rust. PhotoCraft — Rust'ta yazılmış açık kaynaklı, yerel bir resim düzenleyici. + PhotoCraft — an open-source, native image editor written in Rust. PhotoCraft — Rust'ta yazılmış açık kaynaklı, yerel bir görüntü düzenleyici. Pin Depth: Pim Derinliği: Pixel Length: Piksel Uzunluğu: Pixels/Centimeter Piksel/Santimetre Pixels/Inch Piksel/İnç Pixels: Piksel: - Play Oyna + Play Oynat Play selection Seçimi oynat - Portrait Portre - Position Pozisyon + Portrait Dikey + Position Konum Position and Size Konum ve Boyut Posterize Posterleştir Preserve Details Ayrıntıları Koru @@ -1329,10 +1330,10 @@ Press keys… Tuşlara basın… Pressure Basınç Pressure for Opacity Opaklık Basıncı - Pressure for Size Boyuta Göre Basınç + Pressure for Size Boyut Basıncı Prevent auto-nesting in and out of Artboards and Frames Çalışma Yüzeyleri ve Çerçevelerin içine ve dışına otomatik yerleştirmeyi önleyin Preview Önizleme - Previous frame Önceki çerçeve + Previous frame Önceki kare Previous note Önceki not Print Yazdır Printer Yazıcı @@ -1340,22 +1341,22 @@ Printer Setup Yazıcı Kurulumu Printing Marks Baskı İşaretleri Progressive Aşamalı - Promote Tanıt - Protect Detail Detayı Koruyun - Protect Foreground Color Ön Plan Rengini Koruyun - Protect Tones Tonları Koruyun + Promote Yükselt + Protect Detail Ayrıntıyı Koru + Protect Foreground Color Ön Plan Rengini Koru + Protect Tones Tonları Koru Proximity Match Yakınlık Eşleşmesi - Pulled String Mode Çekilmiş Dize Modu + Pulled String Mode Çekilen İp Modu Puppet Warp is not active Kukla Çarpıtma etkin değil - Purity saflık + Purity Saflık Quality Kalite Quick Actions Hızlı Eylemler Quick Export As PNG PNG Olarak Hızlı Dışa Aktarma - Radial Gradient Radyal Gradyan + Radial Gradient Radyal Degrade Radius Yarıçap Radius: Yarıçap: Range: Aralık: - Rate Oran + Rate Hız Recently Used Son Kullanılanlar Reconstruct Yeniden inşa et Record ● a sequence of edits, then play ▶ it on any document. Bir dizi düzenlemeyi kaydedin ● ve ardından herhangi bir belgede oynatın. @@ -1363,14 +1364,14 @@ Redefine style by current selection Stili geçerli seçime göre yeniden tanımlayın Refine Hassaslaştır Reflected Gradient Yansıyan Degrade - Registration Marks Tescil İşaretleri - Regular Düzenli - Relative akraba + Registration Marks Kayıt İşaretleri + Regular Normal + Relative Bağıl Relative Colorimetric Bağıl Kolorimetrik Remove Kaldır - Remove All Pins Tüm Pinleri Kaldır + Remove All Pins Tüm Pimleri Kaldır Remove Background Arka Planı Kaldır - Remove Planes Uçakları Kaldır + Remove Planes Düzlemleri Kaldır Remove stop Durağı kaldır Remove variable Değişkeni kaldır Rename Yeniden adlandır @@ -1378,16 +1379,16 @@ Rename Layer… Katmanı Yeniden Adlandır… Rename Tool Preset… Araç Ön Ayarını Yeniden Adlandır… Rename… Yeniden adlandır… - Resample Yeniden örnekle + Resample Yeniden Örnekle Reset All to Defaults Tümünü Varsayılanlara Sıfırla Import Shortcuts… Kısayolları İçe Aktar… Load a keyboard shortcut set saved as .kys .kys olarak kaydedilen bir klavye kısayolu kümesi yükleyin - Imported {n} shortcuts from {file}. Click OK to keep them. {n} kısayolları {file} adresinden içe aktarıldı. Bunları saklamak için Tamam'ı tıklayın. - {n} commands are not in PhotoCraft. {n} komutları PhotoCraft'ta değil. - Keyboard shortcuts imported İçe aktarılan klavye kısayolları - Your keyboard shortcut set {set} is in use here: {n} shortcuts differ from the defaults. Edit › Keyboard Shortcuts shows them; Reset All to Defaults undoes this. {set} klavye kısayol grubunuz burada kullanılıyor: {n} kısayolları varsayılanlardan farklı. Düzenle › Klavye Kısayolları bunları gösterir; Tümünü Varsayılanlara Sıfırla bu işlemi geri alır. + Imported {n} shortcuts from {file}. Click OK to keep them. {n} kısayol {file} dosyasından içe aktarıldı. Saklamak için Tamam'a tıklayın. + {n} commands are not in PhotoCraft. {n} komut PhotoCraft'ta yok. + Keyboard shortcuts imported Klavye kısayolları içe aktarıldı + Your keyboard shortcut set {set} is in use here: {n} shortcuts differ from the defaults. Edit › Keyboard Shortcuts shows them; Reset All to Defaults undoes this. {set} klavye kısayol setiniz burada kullanılıyor: {n} kısayol varsayılanlardan farklı. Düzenle › Klavye Kısayolları bunları gösterir; Tümünü Varsayılanlara Sıfırla bu işlemi geri alır. Import keyboard shortcuts? Klavye kısayolları içe aktarılsın mı? - PhotoCraft found your keyboard shortcut set {set} from another image editor on this computer: {n} of its shortcuts differ from PhotoCraft's. Import it? PhotoCraft, {set} klavye kısayol setinizi bu bilgisayardaki başka bir resim düzenleyicide buldu: {n} kısayolları PhotoCraft'ınkilerden farklı. İçe aktarılsın mı? + PhotoCraft found your keyboard shortcut set {set} from another image editor on this computer: {n} of its shortcuts differ from PhotoCraft's. Import it? PhotoCraft, bu bilgisayardaki başka bir görüntü düzenleyicide {set} klavye kısayol setinizi buldu: {n} kısayol PhotoCraft'tan farklı. İçe aktarılsın mı? Edit › Keyboard Shortcuts › Reset All to Defaults undoes an import. Düzenle › Klavye Kısayolları › Tümünü Varsayılanlara Sıfırla, içe aktarma işlemini geri alır. Don't Import İçe Aktarma The keyboard shortcut set was not imported: {error} Klavye kısayol seti içe aktarılmadı: {error} @@ -1405,62 +1406,62 @@ Rotation Döndürme Roughness Pürüzlülük Roundness Yuvarlaklık - Roundness Jitter Yuvarlaklık Değişimi + Roundness Jitter Yuvarlaklık Titreşimi Rulers & Grids Cetveller ve Izgaralar Sample All Layers Tüm Katmanları Örnekle Sample: Örnek: Sampling: Background Swatch Örnekleme: Arka Plan Renk Örneği Sampling: Continuous Örnekleme: Sürekli Sampling: Once Örnekleme: Bir kez - Saturate Doygunluk + Saturate Doygunlaştır Saturation Doygunluk - Saturation Jitter Doygunluk Değişimi - Save HTML and Images HTML ve Görselleri Kaydet + Saturation Jitter Doygunluk Titreşimi + Save HTML and Images HTML ve Görüntüleri Kaydet Save as PDF PDF olarak kaydet Save selection as channel Seçimi kanal olarak kaydet Save… Kaydet… - Scale to Fit Media Medyaya Sığacak Şekilde Ölçeklendirin + Scale to Fit Media Ortama Sığacak Şekilde Ölçekle Scatter Dağılım - Scratch disks Kazıma diskleri + Scratch disks Karalama diskleri Search Ara Search commands Arama komutları Search commands, tools and panels… Komutları, araçları ve panelleri arayın… - Search fonts Yazı tiplerini arayın + Search fonts Yazı tipi ara Select All Tümünü Seç - Select Subject Konuyu Seçin - Select a type layer or click into text to insert glyphs Bir yazım katmanı seçin veya glif eklemek için metne tıklayın + Select Subject Konuyu Seç + Select a type layer or click into text to insert glyphs Bir metin katmanı seçin veya glif eklemek için metne tıklayın Select text to apply a character style Karakter stili uygulamak için metni seçin - Select: Seçin: + Select: Seç: Selections Seçimler - Selective seçici + Selective Seçici Selective Color Seçici Renk - Send the selected pin backward Seçilen pini geriye gönder - Set additional smoothing options Ek yumuşatma seçeneklerini ayarlayın + Send the selected pin backward Seçilen pimi geriye gönder + Set additional smoothing options Ek yumuşatma seçeneklerini ayarla Set background color Arka plan rengini ayarla Set foreground color Ön plan rengini ayarla - Set painting symmetry options Boyama simetrisi seçeneklerini ayarlama + Set painting symmetry options Boyama simetrisi seçeneklerini ayarla Symmetry Off Simetri Kapalı Set shape fill type Şekil doldurma türünü ayarla - Set shape stroke type Şekil kontur türünü ayarlama - Set the text color Metin rengini ayarlama + Set shape stroke type Şekil kontur türünü ayarla + Set the text color Metin rengini ayarla Shadows Gölgeler Shape: Şekil: - Sharpening Bileme + Sharpening Keskinleştirme Shift Shift Shortcut removed. Kısayol kaldırıldı. Show All Menu Items Tüm Menü Öğelerini Göster Show Backdrop Arka Planı Göster Show Guides Kılavuzları Göster Show Mask Maskeyi Göster - Show Mesh Mesh'i Göster + Show Mesh Ağı Göster Show Overlay Kaplamayı Göster Show Transform Controls Dönüştürme Kontrollerini Göster - Show or hide the Notes panel Notlar panelini gösterme veya gizleme + Show or hide the Notes panel Notlar panelini göster veya gizle Show: Göster: - Sides Taraflar - Sides: Taraflar: + Sides Kenarlar + Sides: Kenar sayısı: Size Boyut - Size Jitter Boyut Değişimi + Size Jitter Boyut Titreşimi Size: Boyut: Slice Options… Dilim Seçenekleri… Slices From Guides Kılavuzlardan Dilimler @@ -1474,33 +1475,33 @@ Split: Bölünmüş: Star ratio Yıldız oranı Stop playing/recording Oynatmayı/kaydetmeyi durdur - Straighten Düzelt - Straighten Layer Katmanı Düzleştir + Straighten Doğrult + Straighten Layer Katmanı Doğrult Strength: Güç: Strikethrough Üstü çizili Stroke Kontur - Stroke Catch-up İnme Yakalama - Stroke: İnme: + Stroke Catch-up Vuruş Yakalama + Stroke: Kontur: Style Stil Style Options Stil Seçenekleri Style Options… Stil Seçenekleri… - Style: Normal Tarz: Normal - Subtract from Sample Örnekten Çıkart + Style: Normal Stil: Normal + Subtract from Sample Örnekten Çıkar Subtract from selection ({key}) Seçimden çıkar ({key}) Suggestions: Öneriler: Swap colours (X) Renkleri değiştir (X) Swaps height and width Yüksekliği ve genişliği değiştirir - Switch between free transform and warp modes Serbest dönüştürme ve çarpıtma modları arasında geçiş yapın + Switch between free transform and warp modes Serbest dönüştürme ve bükme modları arasında geçiş yapın Switch theme Temayı değiştir Temperature Sıcaklık - Tetrahedral dörtyüzlü + Tetrahedral Dörtyüzlü Text Position: Metin Konumu: Texture Doku - Texture Each Tip Her Ucu Doku + Texture Each Tip Her Uca Doku Uygula Threshold Eşik - Threshold Level Eşik Seviyesi + Threshold Level Eşik Düzeyi Thumbnail size (smallest: list) Küçük resim boyutu (en küçük: liste) - Tilt X X'i yatır + Tilt X X Eğimi Tilt Y Y Eğimi Tint Renk tonu Toggle count group visibility Sayım grubu görünürlüğünü değiştir @@ -1511,29 +1512,30 @@ Toolbar Araç Çubuğu Top Üst Total: Toplam: - Tracking Takip - Tracking (1/1000 em) Takip (1/1000 em) - Transparency Şeffaflık - Transparent Şeffaf + Tracking İzleme + Tracking (1/1000 em) İzleme (1/1000 em) + Transparency Saydamlık + Transparent Saydam Trilinear Üç çizgili - Type Styles Tip Stilleri + Type Styles Metin Stilleri Type: Tür: Underline Altı çizili - Untitled İsimsiz - Untitled-1 İsimsiz-1 + Untitled Adsız + Untitled-1 Adsız-1 Update layer comp (visibility, position and appearance) Katman kompozisyonunu güncelleyin (görünürlük, konum ve görünüm) Use Default Varsayılanı Kullan Use Legacy Eskiyi Kullan Use Measurement Scale Ölçüm Ölçeğini Kullan + Variables bind a layer's visibility, text or pixels to a named data slot. Değişkenler bir katmanın görünürlüğünü, metnini veya piksellerini adlandırılmış bir veri yuvasına bağlar. Vertical scale Dikey ölçek Vibrance Canlılık - View Options Seçenekleri Görüntüle - Vignetting Kenar ayrıntısı kaybı + View Options Görünüm Seçenekleri + Vignetting Vinyet Violet, Orange Menekşe, Turuncu Visibility Görünürlük Visible Görünür - Warp: Çözgü: + Warp: Çarpıtma: Web Snap Web Snap Weight Ağırlık Weight: Ağırlık: @@ -1550,12 +1552,12 @@ Zoom in Yakınlaştır Zoom out Uzaklaştır command or shortcut komut veya kısayol - current akım - image file path resim dosyası yolu + current geçerli + image file path görüntü dosyası yolu modified değiştirilmiş - name isim + name ad new yeni - {name} options {name} seçenekler + {name} options {name} seçenekleri ↑↓ navigate {key} run esc close ↑↓ gezin {key} çalıştır esc kapat Version {version} Sürüm {version} New Document Yeni Belge @@ -1568,15 +1570,15 @@ Command Komut Adjustment layers have nothing to transform Ayarlama katmanlarının dönüştürülecek hiçbir şeyi yok Altitude Rakım - Android 1080p Android1080p + Android 1080p Android 1080p Apple Watch 45mm Apple Watch 45mm - Aqua Su + Aqua Turkuaz Art & Illustration Sanat ve İllüstrasyon ArtCraft ArtCraft Background Eraser Tool Arka Plan Silgisi Aracı - Bevel & Emboss Eğim Ver ve Kabart - Blend Mode Karışım Modu - Blues Blues + Bevel & Emboss Eğim ve Kabartma + Blend Mode Karıştırma Modu + Blues Maviler Blur Tool Bulanıklık Aracı Bold Kalın Brush Fırça @@ -1584,40 +1586,40 @@ Brush Pose Fırça Duruşu Brush Tip Shape Fırça Ucu Şekli Brush Tool Fırça Aracı - Build-up İnşaat - Burn Tool Koyulaştırma Aracı + Build-up Birikim + Burn Tool Yakma Aracı Centimeters Santimetre - Choke Şok + Choke Daraltma Classic Klasik Click to add text Metin eklemek için tıklayın Click to fill similar colours Benzer renkleri doldurmak için tıklayın Clone Stamp Tool Klonlama Damgası Aracı - Color Burn Renk Yanması + Color Burn Renk Yakma Color Dodge Renk Soldurma Color Dynamics Renk Dinamiği Color Overlay Renk Kaplaması Comic Book Çizgi Roman - Conform Uygun - Content-Aware Fill needs a selection on a pixel layer İçeriğe Uygun Dolgu, piksel katmanında seçim yapılmasını gerektirir + Conform Uyarla + Content-Aware Fill needs a selection on a pixel layer İçeriğe Duyarlı Dolgu, piksel katmanında seçim yapılmasını gerektirir Could not transform: the layer is empty Dönüştürülemedi: katman boş Could not use Perspective Warp: the layer is empty Perspektif Çarpıtma kullanılamadı: katman boş - Could not use Puppet Warp: no opaque pixels Puppet Warp kullanılamadı: opak piksel yok - Could not use Puppet Warp: the layer is empty Puppet Warp kullanılamadı: katman boş + Could not use Puppet Warp: no opaque pixels Kukla Çarpıtma kullanılamadı: opak piksel yok + Could not use Puppet Warp: the layer is empty Kukla Çarpıtma kullanılamadı: katman boş Crop Tool Kırpma Aracı Crosswise Çapraz olarak - Current Tool Güncel Araç + Current Tool Geçerli Araç Custom Shape Tool Özel Şekil Aracı Cyans Camgöbeği Default PhotoCraft Size Varsayılan PhotoCraft Boyutu Delete Workspace Çalışma Alanını Sil Diamond Elmas - Dimensions: Boyutlar: + Dimensions: Ölçüler: Direction Yön Distance Uzaklık - Document Dimensions Belge Boyutları + Document Dimensions Belge Ölçüleri Document Profile Belge Profili Document Sizes Belge Boyutları - Dodge Tool Açıklaştırma Aracı + Dodge Tool Soldurma Aracı Down Aşağı Drag to draw a gradient Degrade çizmek için sürükleyin Drag to move the active layer Etkin katmanı taşımak için sürükleyin @@ -1628,9 +1630,9 @@ Efficiency Verimlilik Efficiency: 100% Verimlilik: %100 Ellipse Tool Elips Aracı - Elliptical Marquee Tool Eliptik İşaretleme Aracı - Single Row Marquee Tool Tek Satır İşaretleme Aracı - Single Column Marquee Tool Tek Sütun İşaretleme Aracı + Elliptical Marquee Tool Eliptik Seçim Çerçevesi Aracı + Single Row Marquee Tool Tek Satır Seçim Çerçevesi Aracı + Single Column Marquee Tool Tek Sütun Seçim Çerçevesi Aracı Emboss Kabartma Eraser Silgi Eraser Tool Silgi Aracı @@ -1640,10 +1642,10 @@ Fade Solmaya Fill Opacity Dolgu Opaklığı Film & Video Film ve Video - From Gönderen + From Şuradan General Genel GitHub GitHub - Gradient Overlay Degrade Yerleşimi + Gradient Overlay Degrade Kaplaması Gradient Tool Degrade Aracı Greens Yeşiller Hand Tool El Aracı @@ -1655,7 +1657,7 @@ Horizontal Type Tool Yatay Metin Aracı Horizontal Type Mask Tool Yatay Metin Maskesi Aracı Vertical Type Mask Tool Dikey Metin Maskesi Aracı - Image Size: Resim Boyutu: + Image Size: Görüntü Boyutu: Inches İnç Indexed Dizine eklendi Initial Direction Başlangıç Yönü @@ -1669,21 +1671,21 @@ Lasso Kement Lasso Tool Kement Aracı Layer Count Katman Sayısı - Layer Knocks Out Drop Shadow Katman Alt Gölgeyi Ortadan Kaldırır - Legal Yasal - Letter Mektup - Light Işık + Layer Knocks Out Drop Shadow Katman Düşen Gölgeyi Deler + Legal Legal + Letter Letter + Light Hafif Line Tool Çizgi Aracı Linear Doğrusal - Linear Burn Doğrusal Yanma + Linear Burn Doğrusal Yakma Linear Height Doğrusal Yükseklik Link with Layer Katmanla Bağlantı - Lorem Ipsum Lorem İpsum + Lorem Ipsum Lorem Ipsum Magentas Macentalar Magic Eraser Tool Sihirli Silgi Aracı Magic Wand Tool Sihirli Değnek Aracı Marquee Seçim Çerçevesi - Mean: Anlamı: + Mean: Ortalama: Measurement Scale Ölçüm Ölçeği Measurement Scale Marker Ölçüm Ölçeği İşaretleyicisi Millimeters Milimetre @@ -1703,17 +1705,17 @@ Original Ratio Orijinal Oran Out Of Gamut Gamut Dışı Outer Bevel Dış Eğim - Outer Glow Dış Parıltı + Outer Glow Dış Işıma Overlay Kaplama Paint Bucket Tool Boya Kovası Aracı - Paints from the document's opening state Belgenin açılış durumundaki boyalar + Paints from the document's opening state Belgenin açılış durumundan boyar Path Selection Tool Yol Seçimi Aracı Direct Selection Tool Doğrudan Seçim Aracı - Add Anchor Point Tool Bağlantı Noktası Ekleme Aracı - Delete Anchor Point Tool Bağlantı Noktası Silme Aracı - Click a segment to add an anchor point · {alt}-click an anchor to delete it Bağlantı noktası eklemek için bir segmenti tıklayın · {alt}-silmek için bir bağlantıyı tıklayın - Click an anchor point to delete it · {alt}-click a segment to add one Silmek için bir bağlantı noktasını tıklayın · {alt}-bir parça eklemek için bir parçayı tıklayın - Pattern Overlay Desen Yerleşimi + Add Anchor Point Tool Çapa Noktası Ekleme Aracı + Delete Anchor Point Tool Çapa Noktası Silme Aracı + Click a segment to add an anchor point · {alt}-click an anchor to delete it Çapa noktası eklemek için bir parçaya tıklayın · silmek için bir çapa noktasına {alt}-tıklayın + Click an anchor point to delete it · {alt}-click a segment to add one Silmek için bir çapa noktasına tıklayın · eklemek için bir parçaya {alt}-tıklayın + Pattern Overlay Desen Kaplaması Pen Pressure Kalem Basıncı Pen Tilt Kalem Eğimi Pen Tool Kalem Aracı @@ -1724,19 +1726,19 @@ Pillow Emboss Yastık Kabartma Pixel Replacement Piksel Değiştirme Pixels Piksel - Points Puanlar + Points Punto Polygon Tool Çokgen Aracı Polygonal Lasso Tool Çokgen Kement Aracı - Portrait, 4 x 6 Portre, 4 x 6 - Portrait, 5 x 7 Portre, 5 x 7 - PostScript (72 points/inch) PostScript (72 nokta/inç) + Portrait, 4 x 6 Dikey, 4 x 6 + Portrait, 5 x 7 Dikey, 5 x 7 + PostScript (72 points/inch) PostScript (72 punto/inç) Postcard Kartpostal Poster Poster Pro (Dark) Pro (Koyu) - Pro (Light) Pro (Hafif) + Pro (Light) Pro (Açık) Pro (Light Gray) Pro (Açık Gri) Pro (Medium Gray) Pro (Orta Gri) - Protect Texture Dokuyu Koruyun + Protect Texture Dokuyu Koru Purple Mor Quick Mask Hızlı Maske Quick Selection Tool Hızlı Seçim Aracı @@ -1746,7 +1748,7 @@ Ratio Oran Recent Son Rectangle Tool Dikdörtgen Aracı - Rectangular Marquee Tool Dikdörtgen İşaretleme Aracı + Rectangular Marquee Tool Dikdörtgen Seçim Çerçevesi Aracı Reds Kırmızılar Reflected Yansıyan Sample: foreground colour Örnek: ön plan rengi @@ -1754,7 +1756,7 @@ Satin Saten Save Pixel Aspect Ratio Piksel En Boy Oranını Kaydet Scattering Saçılma - Scratch Sizes Çizik Boyutları + Scratch Sizes Karalama Boyutları Select Data Points Veri Noktalarını Seçin Selection Seçim SemiBold Yarı Kalın @@ -1773,22 +1775,22 @@ Sponge Tool Sünger Aracı Spot Healing Brush Tool Nokta Düzeltme Fırçası Aracı Spread Yayılma - Square, 12 x 12 Kare, 12x12 - Square, 5 x 5 Kare, 5x5 - Std Dev: Standart Geliştirme: - Studio (Dark) Stüdyo (Karanlık) - Studio (Light) Stüdyo (Işık) + Square, 12 x 12 Kare, 12 x 12 + Square, 5 x 5 Kare, 5 x 5 + Std Dev: Standart Sapma: + Studio (Dark) Stüdyo (Koyu) + Studio (Light) Stüdyo (Açık) Stylus Wheel Kalem Tekerleği Subtract Çıkar Tabloid Tabloid Text Replacement Metin Değiştirme Thin İnce - Traditional (72.27 points/inch) Geleneksel (72,27 nokta/inç) + Traditional (72.27 points/inch) Geleneksel (72,27 punto/inç) Transfer Aktarım Triangle Tool Üçgen Aracı Unsaved changes Kaydedilmemiş değişiklikler Uses the foreground and background colours. Ön plan ve arka plan renklerini kullanır. - Web ağ + Web Web Web Large Web Büyük Web Minimum Web Minimumu Web Most Common Web En Yaygın @@ -1796,20 +1798,20 @@ Wet Edges Islak Kenarlar Yellows Sarılar Zoom Tool Yakınlaştırma Aracı - {name} Properties {name} Özellikler + {name} Properties {name} Özellikleri Revert “{name}” to the last saved version? Your changes will be lost. “{name}” son kaydedilen sürüme döndürülsün mü? Değişiklikleriniz kaybolacak. Do you want to save the changes you made to “{name}” before quitting? Çıkmadan önce “{name}” öğesinde yaptığınız değişiklikleri kaydetmek istiyor musunuz? Do you want to save the changes you made to “{name}” before closing? Kapatmadan önce “{name}” üzerinde yaptığınız değişiklikleri kaydetmek istiyor musunuz? - Doc: {flat}/{layered} Doküman: {flat}/{layered} - Scratch: {size} Çizik: {size} + Doc: {flat}/{layered} Belge: {flat}/{layered} + Scratch: {size} Karalama: {size} Untagged {mode} Etiketlenmemiş {mode} Invalid {mode} profile Geçersiz {mode} profili Unnamed {mode} profile Adsız {mode} profili {w} px x {h} px ({ppi} ppi) {w} px x {h} px ({ppi} ppi) {w} {unit} x {h} {unit} ({ppi} ppi) {w} {unit} x {h} {unit} ({ppi} ppi) Resolution: {dpi} pixels/inch Çözünürlük: {dpi} piksel/inç - Doc: {w} × {h} px Doküman: {w} × {h} piksel - Frame {current} / {total} Çerçeve {current} / {total} + Doc: {w} × {h} px Belge: {w} × {h} piksel + Frame {current} / {total} Kare {current} / {total} Count: {n} Sayım: {n} BLANK DOCUMENT PRESETS ({n}) BOŞ BELGE ÖN AYARLARI ({n}) Constraints ({n}) Kısıtlamalar ({n}) @@ -1819,7 +1821,7 @@ @plural Group · {n} layer|Group · {n} layers Grup · {n} katman Additional plugins folder Ek eklentiler klasörü Adobe Adobe - Adobe rgb Adobe rgb + Adobe rgb Adobe RGB Allow agent control Aracı kontrolüne izin ver Allow scripts to connect Komut dosyalarının bağlanmasına izin ver Always Her zaman @@ -1842,33 +1844,33 @@ Cache levels Önbellek düzeyleri Cache tile size Önbellek kutucuğu boyutu Camera Raw Defaults Camera Raw Varsayılanları - Canvas border Kanvas kenarlığı - Show canvas dots Kanvas noktalarını göster + Canvas border Tuval kenarlığı + Show canvas dots Tuval noktalarını göster Clip thumbnails to layer bounds Küçük resimleri katman sınırlarına kırp Clip Thumbnails to Layer Bounds Küçük resimleri katman sınırlarına kırp - Canvas color Kanvas rengi - Canvas custom color Kanvas özel rengi + Canvas color Tuval rengi + Canvas custom color Tuval özel rengi Color picker Renk seçici Color space Renk alanı Column width Sütun genişliği Concise Kısa Control port Kontrol portu - Convert to srgb srgb'ye dönüştür + Convert to srgb sRGB'ye dönüştür Cursors İmleçler Custom dark Özel koyu - Custom light Özel ışık - Dark Karanlık + Custom light Özel açık + Dark Koyu Dark gray Koyu gri Dashed lines Kesikli çizgiler Destination Hedef - Detailed Detaylı + Detailed Ayrıntılı Disks Diskler - Display p3 Ekran p3 + Display p3 Display P3 Double click layer mask launches select and mask Çift tıklama katman maskesi seçme ve maskelemeyi başlatır Drop shadow Alt gölge Dynamic color sliders Dinamik renk kaydırıcıları East asian Doğu Asya - Effect cache mb Efekt önbelleği mb + Effect cache mb Efekt önbelleği (MB) Enable flick panning Hızlı kaydırmayı etkinleştir Enable floating document window docking Kayan belge penceresi yerleştirmeyi etkinleştir Enable narrow options bar Dar seçenekler çubuğunu etkinleştir @@ -1878,13 +1880,13 @@ Extra large Ekstra büyük File Handling Dosya İşleme File path Dosya yolu - Fill new type layers with placeholder Yeni yazı katmanlarını yer tutucuyla doldurma + Fill new type layers with placeholder Yeni metin katmanlarını yer tutucuyla doldur Font preview Yazı tipi önizlemesi Full size tip Tam boyutlu uç Gamut warning color Gamut uyarı rengi Gamut warning opacity Gamut uyarı opaklığı - Generator enabled Jeneratör etkin - Gif Gif + Generator enabled Oluşturucu etkin + Gif GIF Glossy parlak Grid color Izgara rengi Grid colors Izgara renkleri @@ -1897,27 +1899,27 @@ Guides, Grid & Slices Kılavuzlar, Izgaralar ve Dilimler Gutter Oluk History Log Geçmiş Günlüğü - History states Tarih durumları + History states Geçmiş durumları Ignore exif profile tag Exif profil etiketini yoksay Image interpolation Görüntü enterpolasyonu - Image previews Resim önizlemeleri + Image previews Görüntü önizlemeleri Integrations Entegrasyonlar Interface Arayüz Jpeg quality JPEG kalitesi - Jpg Jpg + Jpg JPG Language Dil Large tabs Büyük sekmeler Legacy compositing Eski birleştirme Light gray Açık gri Line Hat - Lines çizgiler + Lines Çizgiler Lossless Kayıpsız Lowercase extension Küçük harf uzantısı - Maximize psd compatibility PSD uyumluluğunu en üst düzeye çıkarın + Maximize psd compatibility PSD uyumluluğunu en üst düzeye çıkar Medium gray Orta gri - Memory usage mb Bellek kullanımı mb + Memory usage mb Bellek kullanımı (MB) Low resolution previews Düşük çözünürlüklü önizlemeler - Missing glyph protection Glif koruması eksik + Missing glyph protection Eksik glif koruması Modern Çağdaş Nearest neighbor En yakın komşu Never Asla @@ -1927,36 +1929,36 @@ Open documents as tabs Belgeleri sekmeler halinde aç Overscroll Aşırı kaydırma Performance Performans - Png png + Png PNG Point size Nokta boyutu Precise Hassas Preserve details Ayrıntıları koru Print resolution Yazdırma çözünürlüğü - Pro Profesyonel - Pro light Profesyonel ışık + Pro Pro + Pro light Pro açık Pro light gray Pro açık gri - Pro medium Profesyonel orta - Pro photo Profesyonel fotoğraf + Pro medium Pro orta + Pro photo ProPhoto Quick export format Hızlı dışa aktarma formatı Quick export location Hızlı dışa aktarma konumu Recent file count Son dosya sayısı Recent files Son dosyalar - Recent fonts En yeni yazı tipleri + Recent fonts Son kullanılan yazı tipleri Recover on launch Başlatıldığında kurtar Remember workspace changes Çalışma alanı değişikliklerini hatırla - Resize image during place Yerleştirme sırasında resmi yeniden boyutlandır - Rotate view with trackpad İzleme dörtgeniyle görünümü döndürme + Resize image during place Yerleştirme sırasında görüntüyü yeniden boyutlandır + Rotate view with trackpad Görünümü dokunmatik yüzeyle döndür Same folder Aynı klasör Save in background Arka planda kaydet - Scratch Disks Kazı Diskleri + Scratch Disks Karalama Diskleri Screen Ekran Screen resolution Ekran çözünürlüğü - Scrubby slider acceleration Temiz kaydırıcı hızlandırması + Scrubby slider acceleration Kaydırıcı sürükleme hızlanması Sessions only Yalnızca oturumlar Sharpen for Şunun için keskinleştir: Show channels in color Kanalları renkli göster Show crosshair in brush tip Fırça ucunda artı işaretini göster - Show extension panels Uzatma panellerini göster + Show extension panels Uzantı panellerini göster Show font names in english İngilizce yazı tipi adlarını göster Show menu colors Menü renklerini göster Show only crosshair while painting Boyama sırasında yalnızca artı işaretini göster @@ -1969,34 +1971,34 @@ Slice color Dilim rengi Smart guide color Akıllı kılavuz rengi Smart quotes Akıllı tırnaklar - Snap vector tools and transforms to pixel grid Vektör araçlarını tutturun ve piksel ızgarasına dönüştürün - Srgb Srgb + Snap vector tools and transforms to pixel grid Vektör araçlarını ve dönüşümleri piksel ızgarasına yapıştır + Srgb sRGB Standard Standart Studio Stüdyo - Studio light Stüdyo ışığı + Studio light Stüdyo açık Subdivisions Alt bölümler System Sistem Text engine Metin motoru Text file Metin dosyası - Tiny minik + Tiny Minik Touch gestures Dokunma hareketleri - Transparency & Gamut Şeffaflık ve Gamut - Type units Tip birimleri - UI font size kullanıcı arayüzü yazı tipi boyutu + Transparency & Gamut Saydamlık ve Gamut + Type units Metin birimleri + UI font size Arayüz yazı tipi boyutu UI scale Kullanıcı arayüzü ölçeği Units & Rulers Birimler ve Cetveller Use additional plugins folder Ek eklentiler klasörünü kullan - Use esc to commit Taahhüt etmek için esc kullanın + Use esc to commit Onaylamak için Esc kullan Use gpu GPU'yu kullan - Use legacy free transform Eski ücretsiz dönüşümü kullanın - Use shift key for tool switch Araç anahtarı için Shift tuşunu kullanın - Vary round brush hardness on hud Hud üzerinde yuvarlak fırça sertliğini değiştirin - Webp Webp - World ready Dünya hazır + Use legacy free transform Eski serbest dönüştürmeyi kullan + Use shift key for tool switch Araç değiştirmek için Shift tuşunu kullan + Vary round brush hardness on hud HUD'da yuvarlak fırça sertliğini değiştir + Webp WebP + World ready Dünya dili uyumlu (World-Ready) Zoom clicked point to center Tıklanan noktayı merkeze yakınlaştır Zoom resizes windows Yakınlaştırma pencereleri yeniden boyutlandırır Zoom with scroll wheel Kaydırma tekerleği ile yakınlaştırma - Zoom with trackpad pinch İzleme dörtgeni tutamıyla yakınlaştırma + Zoom with trackpad pinch Dokunmatik yüzeyde sıkıştırarak yakınlaştır Pass Through Geçirgen Dissolve Eritme Darker Color Daha Koyu Renk @@ -2012,18 +2014,18 @@ Luminosity Parlaklık @plural {n} sample|{n} samples {n} örnek {added}, {removed} subtracted {added}, {removed} çıkarıldı - Adjustment Preview Ayar Önizlemesi + Adjustment Preview Ayarlama Önizlemesi Airbrush: keeps depositing paint while the pointer rests. Airbrush: İşaretçi dururken boyayı bırakmaya devam eder. Angle: Açı: - Blend If Eğer karıştır + Blend If Koşullu Karıştırma Close Tab Group Sekme Grubunu Kapat Collapse Daralt Collapse All Groups Tüm Grupları Daralt Collapse Panel Group Panel Grubunu Daralt Collapse group ({key}-click: all groups) Grubu daralt ({key}-tıklama: tüm gruplar) - Create new brush from the current settings Mevcut ayarlardan yeni fırça oluştur - Create new brush from these settings Bu ayarlardan yeni fırça oluşturun - Update the current brush with these settings Mevcut fırçayı bu ayarlarla güncelleyin + Create new brush from the current settings Geçerli ayarlardan yeni fırça oluştur + Create new brush from these settings Bu ayarlardan yeni fırça oluştur + Update the current brush with these settings Geçerli fırçayı bu ayarlarla güncelle Delete brush Fırçayı sil Drag the arrow to set the angle, the dots to set the roundness Açıyı ayarlamak için oku, yuvarlaklığı ayarlamak için noktaları sürükleyin Expand Genişlet @@ -2034,7 +2036,7 @@ Import Brushes… (.abr) Fırçaları İçe Aktar… (.abr) Move Group Down Grubu Aşağı Taşı Move Group Up Grubu Yukarı Taşı - Reset the brush to the defaults Fırçayı varsayılanlara sıfırlayın + Reset the brush to the defaults Fırçayı varsayılanlara sıfırla Restore original size Orijinal boyutu geri yükle Roundness: Yuvarlaklık: Search Brushes Fırçalarda Ara @@ -2048,20 +2050,20 @@ More documents Daha fazla belge These settings aren't available in PhotoCraft yet. Bu ayarlar henüz PhotoCraft'ta mevcut değildir. Graphics Grafik - Reset GPU Backend GPU Arka Uçunu Sıfırla + Reset GPU Backend GPU Arka Ucunu Sıfırla Applies at next launch. Bir sonraki açılışta geçerlidir. - Click to sample the foreground colour · {key}-click for background Ön plan rengini örneklemek için tıklayın · {key}-arka plan için tıklayın + Click to sample the foreground colour · {key}-click for background Ön plan rengini örneklemek için tıklayın · arka plan için {key}-tıklayın {key}-click to set the source {key}-kaynağı ayarlamak için tıklayın {key} to subtract {key} çıkarmak için - Clone source {n} ({key}-click with Clone Stamp to set) Kaynağı kopyala {n} ({key}-ayarlamak için Klonlama Damgası ile tıklayın) + Clone source {n} ({key}-click with Clone Stamp to set) Klon kaynağı {n} (ayarlamak için Klonlama Damgası ile {key}-tıklayın) Source: not set ({key}-click with Clone Stamp) Kaynak: ayarlanmadı ({key}-Klon Damgası ile tıklayın) Pixel Layer Piksel Katmanı - Type Layer Tip Katmanı + Type Layer Metin Katmanı Shape Layer Şekil Katmanı Group Layer Grup Katmanı Fill Layer Dolgu Katmanı Smart Object Layer Akıllı Nesne Katmanı - Create Warped Text Çarpık Metin Oluştur + Create Warped Text Çarpıtılmış Metin Oluştur Rasterize Smart Object Akıllı Nesneyi Rasterleştir Rasterize Fill Content Dolgu İçeriğini Rasterleştir Rasterize Layer Style Katman Stilini Rasterleştir @@ -2070,8 +2072,8 @@ Diameter: Çap: Hardness: Sertlik: No brush presets Fırça ön ayarı yok - Toggle the Brush Settings panel (F5) Fırça Ayarları panelini açın/kapatın (F5) - Create new brush preset from the current settings Geçerli ayarlardan yeni fırça hazır ayarı oluşturun + Toggle the Brush Settings panel (F5) Fırça Ayarları panelini aç/kapat (F5) + Create new brush preset from the current settings Geçerli ayarlardan yeni fırça ön ayarı oluştur Brush Settings… (F5): every option of this brush Fırça Ayarları… (F5): bu fırçanın tüm seçenekleri Rename Brush… Fırçayı Yeniden Adlandır… Delete Brush Fırçayı Sil @@ -2099,34 +2101,34 @@ Load the brush after each stroke Her vuruştan sonra fırçayı yükle Clean the brush after each stroke Her vuruştan sonra fırçayı temizle Mix Karışım - Wetness Jitter Islaklık Titreme + Wetness Jitter Islaklık Titreşimi Mix Jitter Karıştırma Titreşimi Show the layer mask as an overlay Katman maskesini kaplama olarak göster Toggle visibility Görünürlüğü aç/kapat Unlink the mask from the layer Maskenin katmanla bağlantısını kaldırın - Link the mask to the layer Maskeyi katmana bağlama - Gradient Gradyan + Link the mask to the layer Maskeyi katmana bağla + Gradient Degrade Gradient Options Degrade Seçenekleri Align with layer Katmanla hizala Reset Alignment Hizalamayı Sıfırla Centre the gradient (offset 0, 0) Degradeyi ortalayın (kaydırma 0, 0) Gradient Editor Degrade Düzenleyici Gradient picker Degrade seçici - Gradient stops Gradyan durakları + Gradient stops Degrade durakları Save As Preset Ön Ayar Olarak Kaydet The gradient the Gradient tool paints with Degrade aracının boyadığı degrade Adds the current gradient to the Gradients panel Geçerli degradeyi Degradeler paneline ekler The current gradient (pick one in Window › Gradients) Geçerli degrade (Pencere › Degradeler'den birini seçin) - Select a type layer to edit its character and paragraph settings. Karakter ve paragraf ayarlarını düzenlemek için bir yazı katmanı seçin. + Select a type layer to edit its character and paragraph settings. Karakter ve paragraf ayarlarını düzenlemek için bir metin katmanı seçin. Text color Metin rengi - Type Options Tip Seçenekleri + Type Options Metin Seçenekleri Anti-aliasing method Kenar yumuşatma yöntemi - Horizontal type Yatay tip - Vertical type Dikey tip + Horizontal type Yatay metin + Vertical type Dikey metin Fill path with foreground color Yolu ön plan rengiyle doldur Stroke path with brush Fırçayla kontur yolu Load path as a selection Yolu seçim olarak yükle - Make work path from selection Seçimden iş yolunu yap + Make work path from selection Seçimden çalışma yolu oluştur Add vector mask Vektör maskesi ekle Create new path Yeni yol oluştur Delete path Yolu sil @@ -2145,12 +2147,12 @@ Cancel opening Açılışı iptal et Cancelled opening {name} {name} açılışı iptal edildi The document “{name}” does not have an embedded {mode} profile. '{name}' belgesinde gömülü bir {mode} profili yok. - The document “{name}” has an embedded color profile that does not match the current {mode} working space. '{name}' belgesinin gömülü renk profili geçerli {mode} çalışma alanıyla eşleşmiyor. - Working: {working} Çalışma alanı: {working} + The document “{name}” has an embedded color profile that does not match the current {mode} working space. “{name}” belgesinin gömülü renk profili geçerli {mode} çalışma renk uzayıyla eşleşmiyor. + Working: {working} Çalışma renk uzayı: {working} Developing {name} {name} geliştiriliyor Cancelled {label} {label} iptal edildi Esc to cancel İptal etmek için Esc - Opened {name} {name} tarihinde açıldı + Opened {name} {name} açıldı Opening {name} {name} açılıyor Saved {name} {name} kaydedildi Saving {name} {name} kaydediliyor @@ -2167,7 +2169,7 @@ Chrome Krom Conté Crayon Conte Crayon Graphic Pen Grafik Kalemi - Halftone Pattern Noktalı Resim Deseni + Halftone Pattern Yarım Ton Deseni Note Paper Not Kağıdı Photocopy Fotokopi Plaster Alçı @@ -2177,28 +2179,28 @@ Water Paper Su Kağıdı Move Taşı Pencil Kalem - Clone Stamp Klon Damgası - Dodge Dodge - Burn Yanık + Clone Stamp Klonlama Damgası + Dodge Soldurma + Burn Yakma Quick Selection Hızlı Seçim - History Brush Tarih Fırçası - Paints from the History panel's source state Tarih panelinin kaynak durumundan boyar - Sets the source for the history brush Tarih fırçasının kaynağını ayarlar + History Brush Geçmiş Fırçası + Paints from the History panel's source state Geçmiş panelinin kaynak durumundan boyar + Sets the source for the history brush Geçmiş fırçasının kaynağını ayarlar Color Replacement Renk Değiştirme New Group Yeni Grup Layer Comp Katman Kompozisyonu Alpha Alfa - Make Yap - Model Modeli + Make Üretici + Model Model F F Artist Sanatçı Spot Color Nokta Rengi - Roman Roma + Roman Roman Bold Italic Kalın İtalik - Justification Gerekçe + Justification İki Yana Yaslama Symbols Semboller Punctuation Noktalama işaretleri - Make Work Path İş Yolu Yap + Make Work Path Çalışma Yolu Oluştur Make Selection Seçim Yap Fill Path Yolu Doldur Stroke Path Kontur Yolu @@ -2207,8 +2209,8 @@ H H Ruler Cetvel New Layer Comp Yeni Katman Kompozisyonu - Duplicate Layer Comp Yinelenen Katman Kompozisyonu - Rename Layer Comp Katman Kompozisyonunu Yeniden Adlandırın + Duplicate Layer Comp Katman Kompozisyonunu Çoğalt + Rename Layer Comp Katman Kompozisyonunu Yeniden Adlandır Apply Layer Comp Katman Kompozisyonunu Uygula Update Layer Comp Katman Kompozisyonunu Güncelle Method Yöntem @@ -2218,18 +2220,18 @@ Pixel Piksel Adjustment Ayarlama Drag (lasso) or click points (polygonal) · {add} add · {sub} subtract Noktaları sürükleyin (kement) veya tıklayın (çokgen) · {add} ekle · {sub} çıkar - Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels Kırpma kutusunu sürükleyin · taşımak için içeriye sürükleyin · kenarları yeniden boyutlandırın ({ratio} oranı, {centre} merkez) · Çizim sırasında boşluk hareket eder · oklar iter · X yönünü değiştirir · {commit} gerçekleştirir · Esc iptal eder - {mode} Color · {bits} bit {mode} Renkli · {bits} bit - Scrubby Zoom Süpürge Yakınlaştırma + Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels Kırpma kutusunu sürükleyin · taşımak için içeriye sürükleyin · kenarlar yeniden boyutlandırır ({ratio} oran, {centre} merkez) · çizerken Space taşır · ok tuşları hafifçe kaydırır · X yönü değiştirir · {commit} onaylar · Esc iptal eder + {mode} Color · {bits} bit {mode} Renk · {bits} bit + Scrubby Zoom Sürüklemeli Yakınlaştırma Auto Erase Otomatik Silme Color Adaptation Renk Uyarlaması - Preserve Transparency Şeffaflığı Koruyun + Preserve Transparency Saydamlığı Koru New Style… Yeni Stil… shortcut kısayol Saved Kaydedildi Arc Yay Arch Kemer - Bulge çıkıntı + Bulge Şişkinlik Shell Lower Kabuk Alt Kısmı Shell Upper Kabuk Üstü Flag Bayrak @@ -2244,35 +2246,35 @@ Rectangle Dikdörtgen New Channel Yeni Kanal Save Selection Seçimi Kaydet - Load Selection Yük Seçimi + Load Selection Seçimi Yükle @id edit.purge.undo Geri Al - Rendering Mode İşleme Modu + Rendering Mode Oluşturma Modu Automatic (recommended) Otomatik (önerilen) CPU / Compatibility CPU / Uyumluluk Automatic uses GPU acceleration when available and falls back to CPU rendering on errors. Otomatik, mümkün olduğunda GPU hızlandırmayı kullanır ve hatalarda CPU oluşturmaya geri döner. Switched to CPU rendering CPU oluşturmaya geçildi GPU acceleration could not continue. Your documents are unchanged. GPU hızlandırması devam edemedi. Belgeleriniz değişmedi. - PhotoCraft is using the CPU image compositor. The window may still use your graphics adapter. PhotoCraft, CPU görüntü düzenleyicisini kullanıyor. Pencere hala grafik bağdaştırıcınızı kullanıyor olabilir. + PhotoCraft is using the CPU image compositor. The window may still use your graphics adapter. PhotoCraft, CPU görüntü birleştiricisini kullanıyor. Pencere yine de grafik bağdaştırıcınızı kullanıyor olabilir. Retry GPU requires a restart. Save your work first. GPU'yu yeniden dene, yeniden başlatma gerektirir. Öncelikle çalışmanızı kaydedin. - Keep Using CPU CPU'yu Kullanmaya Devam Edin + Keep Using CPU CPU'yu Kullanmaya Devam Et Retry GPU GPU'yu yeniden dene Advanced Gelişmiş GPU Backend GPU Arka Ucu Details Ayrıntılar Rendering mode Oluşturma modu - Freeze Lasso: drag to freeze an area, Alt-drag to thaw it (L) Kementi Dondur: Bir alanı dondurmak için sürükleyin, buzunu çözmek için Alt tuşuna basarak sürükleyin (L) + Freeze Lasso: drag to freeze an area, Alt-drag to thaw it (L) Kementi Dondur: bir alanı dondurmak için sürükleyin, çözmek için Alt tuşuyla sürükleyin (L) 3 x 3 3 x 3 4 x 4 4 x 4 5 x 5 5 x 5 Camera Raw Filter ({layer}) Camera Raw Filtresi ({layer}) Camera Raw ({name}) Camera Raw ({name}) - Edit Type Türü Düzenle + Edit Type Metni Düzenle Grid: Izgara: - Highlight Clipping Warning (O) Kırpılma Uyarısını Vurgula (O) + Highlight Clipping Warning (O) Parlak Ton Kırpma Uyarısı (O) Lasso around an area, then drag the selection Bir alanı kementle çevreleyin, ardından seçimi sürükleyin Patch: Yama: Shadow Clipping Warning (U) Gölge Kırpılması Uyarısı (U) - Show Lab Color Readouts Laboratuvar Renk Okumalarını Göster + Show Lab Color Readouts Lab Renk Okumalarını Göster Show Red at 3 o'clock Kırmızıyı saat 3 yönünde göster Show Selected Region Seçilen Bölgeyi Göster Show Skin Tone Indicator Cilt Tonu Göstergesini Göster @@ -2291,16 +2293,16 @@ No patterns Desen yok Enable {name} {name}'yi etkinleştir Hold Alt while drawing for straight segments Düz parçalar çizerken Alt tuşunu basılı tutun - Drag or click polygon points · hold Alt during lasso for straight segments · {add} add · {sub} before drawing subtracts Çokgen noktalarını sürükleyin veya tıklayın · düz parçalar için kement sırasında Alt tuşunu basılı tutun · {add} ekleyin · çizim çıkarmadan önce {sub} + Drag or click polygon points · hold Alt during lasso for straight segments · {add} add · {sub} before drawing subtracts Çokgen noktalarını sürükleyin veya tıklayın · düz parçalar için kement sırasında Alt tuşunu basılı tutun · {add} ekler · çizimden önce {sub} çıkarır Extend Uzat Structure: Yapı: - Content-Aware Move Tool İçeriğe Uygun Taşıma Aracı + Content-Aware Move Tool İçeriğe Duyarlı Taşıma Aracı TIFF Options TIFF Seçenekleri Targa Options Targa Seçenekleri 24 bits/pixel 24 bit/piksel 32 bits/pixel 32 bit/piksel Including layers will increase file size. Katmanların eklenmesi dosya boyutunu artıracaktır. - Discard Layers and Save a Copy Katmanları Atın ve Bir Kopyasını Kaydedin + Discard Layers and Save a Copy Katmanları At ve Kopyasını Kaydet Don't show again Bir daha gösterme Save failed: {error} Kaydetme başarısız oldu: {error} Save cancelled Kaydetme iptal edildi @@ -2318,47 +2320,47 @@ Sort Sırala Username Kullanıcı adı Display name Görünen ad - Real name Gerçek isim + Real name Gerçek ad Reverse the order Sırayı tersine çevir - Grab bag Çantayı al + Grab bag Çeşitli Table Tablo Name (A–Z) Ad (A–Z) Merged PRs Birleştirilmiş PR'ler - Commits Taahhütler + Commits Commit'ler Lines added Satırlar eklendi Lines deleted Satırlar silindi - Line delta Çizgi deltası + Line delta Satır farkı Binary assets added İkili varlıklar eklendi Binary assets removed İkili varlıklar kaldırıldı - First commit İlk taahhüt + First commit İlk commit First İlk - Last commit Son taahhüt + Last commit Son commit Last Son - Contributors: {contributors} · Commits: {commits} Katkıda Bulunanlar: {contributors} · Taahhütler: {commits} + Contributors: {contributors} · Commits: {commits} Katkıda Bulunanlar: {contributors} · Commit'ler: {commits} No contributor data was built into this copy. Bu kopyaya hiçbir katkıda bulunan verisi eklenmedi. No model credits were built into this copy. Bu kopyaya hiçbir model kredisi eklenmemiştir. Company Şirket Version Sürüm - % of all commits Tüm taahhütlerin yüzdesi - Lines +/− Çizgiler +/− - @{login}: {prs} PRs, {commits} commits, +{added} / −{deleted} lines (Δ {delta}), +{binAdded} / −{binDeleted} binary assets, {first} – {last} @{login}: {prs} PR'ler, {commits} taahhütler, +{added} / −{deleted} satırlar (Δ {delta}), +{binAdded} / −{binDeleted} ikili varlıklar, {first} – {last} + % of all commits Tüm commit'lerin yüzdesi + Lines +/− Satırlar +/− + @{login}: {prs} PRs, {commits} commits, +{added} / −{deleted} lines (Δ {delta}), +{binAdded} / −{binDeleted} binary assets, {first} – {last} @{login}: {prs} PR, {commits} commit, +{added} / −{deleted} satır (Δ {delta}), +{binAdded} / −{binDeleted} ikili varlık, {first} – {last} Create new swatch Yeni renk örneği oluştur - New Swatch… Yeni Swatch… - New Swatch Group… Yeni Swatch Grubu… + New Swatch… Yeni Renk Örneği… + New Swatch Group… Yeni Renk Örneği Grubu… Import Swatches… Renk Örneklerini İçe Aktar… - Replace Swatches… Renk Örneklerini Değiştirin… + Replace Swatches… Renk Örneklerini Değiştir… Export Swatches… Renk Örneklerini Dışa Aktar… Export Swatches for Exchange… Değişim için Renk Örneklerini Dışa Aktar… Reset Swatches Renk Örneklerini Sıfırla Add to Swatches Renk Örneklerine Ekle - Blend If: Eğer Karışım: + Blend If: Koşullu Karıştırma: Channels: Kanallar: - Knockout Nakavt - Apply At Canvas Bounds Kanvas Sınırlarında Uygula + Knockout Delme + Apply At Canvas Bounds Tuval Sınırlarında Uygula Color Picker (Text Color) Renk Seçici (Metin Rengi) Color Picker ({name}) Renk Seçici ({name}) Color Picker (Fill Color) Renk Seçici (Dolgu Rengi) - Fill color Rengi doldur + Fill color Dolgu rengi Color Picker (Stroke Color) Renk Seçici (Kontur Rengi) Stroke color Kontur rengi Pick screen color Ekran rengini seç @@ -2376,9 +2378,9 @@ Foreground Color Ön Plan Rengi Color… Renk… 50% Gray %50 Gri - {size} (was {old}) {size} ({old} idi) + {size} (was {old}) {size} (önceki: {old}) Cone Koni - Cone (Inverted) Koni (Ters Çevrilmiş) + Cone (Inverted) Koni (Ters) Domed Kubbeli Domed (Inverted) Kubbeli (Ters) Diagonal (Descending) Çapraz (Azalan) @@ -2391,13 +2393,13 @@ Cove - Deep Koy - Derin Cove - Shallow Koy - Sığ Half Round Yarım Yuvarlak - Ring - Double Yüzük - Çift Kişilik + Ring - Double Halka - Çift Rolling Slope - Descending Yuvarlanan Eğim - Azalan Rounded Steps Yuvarlak Adımlar - Sawtooth 1 Testere dişi 1 + Sawtooth 1 Testere Dişi 1 Red Eye Tool Kırmızı Göz Aracı Red Eye Kırmızı Göz - Pupil Size Öğrenci Boyutu + Pupil Size Göz Bebeği Boyutu Darken Amount Koyulaştırma Miktarı Click a red pupil to neutralize it Nötrleştirmek için kırmızı bir gözbebeğine tıklayın open source açık kaynak @@ -2411,17 +2413,17 @@ Black Matte Siyah Mat White Matte Beyaz Mat layerLabel No Color Renk Yok - Seafoam Deniz köpüğü - Indigo Çivit mavisi + Seafoam Deniz Köpüğü + Indigo Çivit Mavisi Fuchsia Fuşya Violet Menekşe Large document: redrawing on the CPU Büyük belge: CPU'da yeniden çizim This redraw took {seconds} s on the CPU. Bu yeniden çizim CPU'da {seconds} saniye sürdü. Edits that change the whole document, such as a layer's blend mode, opacity or visibility, redraw all of it. Bir katmanın karışım modu, opaklığı veya görünürlüğü gibi belgenin tamamını değiştiren düzenlemeler, belgenin tamamını yeniden çizer. - The GPU compositor wasn't used: {reason} GPU dizgicisi kullanılmadı: {reason} + The GPU compositor wasn't used: {reason} GPU birleştiricisi kullanılmadı: {reason} cameraRaw Light Açık Tonlar fontWeight Thin İnce -fontWeight ExtraLight Ekstra İnce +fontWeight ExtraLight Ekstra Hafif fontWeight Light Hafif fontWeight Regular Normal fontWeight Medium Orta @@ -2436,7 +2438,7 @@ fontWeight Italic İtalik Rotate View Görünümü Döndür Rotate View Tool Görünümü Döndürme Aracı Reset View Görünümü Sıfırla - Drag around the centre to rotate the view · Shift constrains to 15° Görünümü döndürmek için merkezin etrafında sürükleyin · Kaydırma 15° ile sınırlandırılır + Drag around the centre to rotate the view · Shift constrains to 15° Görünümü döndürmek için merkez etrafında sürükleyin · Shift 15° ile sınırlar @id select.all Tümünü Seç @id edit.stroke Kontur… @id edit.transform.scale Ölçekle @@ -2444,11 +2446,11 @@ cameraRaw Red Kırmızı cameraRaw Orange Turuncu cameraRaw Yellow Sarı cameraRaw Green Yeşil -cameraRaw Aqua Camgöbeği +cameraRaw Aqua Turkuaz cameraRaw Blue Mavi cameraRaw Purple Mor cameraRaw Magenta Macenta -cameraRaw Blending Karışım +cameraRaw Blending Karıştırma cameraRaw Luminance Parlaklık cameraRaw Temperature Sıcaklık cameraRaw Color Renk @@ -2464,12 +2466,12 @@ cameraRaw Color Renk Color Picker Renk Seçici Color Swatches Renk Örnekleri Linear Dodge Doğrusal Soldurma - Preview Image Resmin Önizlemesi + Preview Image Görüntü Önizlemesi Automatic Otomatik Save As Farklı Kaydet - Import… İçe aktar… + Import… İçe Aktar… Remove All Tümünü Kaldır - Unlock Kilidi aç + Unlock Kilidi Aç Enable Etkinleştir Enable animations Animasyonları etkinleştir Disable Devre dışı bırak @@ -2478,14 +2480,14 @@ cameraRaw Color Renk Clear Selection Seçimi Temizle Invert Selection Seçimi Ters Çevir Select Inverse Tersini Seç - Contract Sözleşme + Contract Daralt Sample Size Örnek Boyutu Strength Güç Gamma Gama Input Giriş Output Çıkış - Input Levels Giriş Seviyeleri - Output Levels Çıkış Seviyeleri + Input Levels Giriş Düzeyleri + Output Levels Çıkış Düzeyleri Layer Styles Katman Stilleri Blending Mode Karıştırma Modu Fill Color Dolgu Rengi @@ -2499,8 +2501,8 @@ cameraRaw Color Renk File Name Dosya Adı File Format Dosya Formatı Compression Sıkıştırma - Artboards Çalışma yüzeyleri - Snap to Grid Izgaraya Yasla + Artboards Çalışma Yüzeyleri + Snap to Grid Izgaraya Yapış Full Screen Tam Ekran Fullscreen Tam ekran Workspaces Çalışma alanları @@ -2512,9 +2514,9 @@ cameraRaw Color Renk New Layer Yeni Katman Duplicate Layer Katmanı Çoğalt Ungroup Grubu çöz - Lock Transparent Pixels Şeffaf Pikselleri Kilitle + Lock Transparent Pixels Saydam Pikselleri Kilitle Lock Image Pixels Görüntü Piksellerini Kilitle - Lock Position Kilit Konumu + Lock Position Konumu Kilitle Lock All Tümünü Kilitle Show Rulers Cetvelleri Göster Show Grid Izgarayı Göster @@ -2522,7 +2524,7 @@ cameraRaw Color Renk Page Setup… Sayfa Yapısı… Reset Preferences Tercihleri Sıfırla Documentation Dokümantasyon - Check for Updates Güncellemeleri Kontrol Et + Check for Updates Güncellemeleri Denetle Loading… Yükleniyor… Processing… İşleniyor… Saving… Kaydediliyor… @@ -2531,14 +2533,14 @@ cameraRaw Color Renk No document open Hiçbir belge açık değil No selection Seçim yok No layers Katman yok - No recent files Yeni dosya yok + No recent files Son dosya yok Unsupported file format Desteklenmeyen dosya biçimi Failed to open file Dosya açılamadı Failed to save file Dosya kaydedilemedi Operation canceled İşlem iptal edildi Changes have not been saved. Değişiklikler kaydedilmedi. - Are you sure? Emin misin? - Discard Changes Değişiklikleri İptal Et + Are you sure? Emin misiniz? + Discard Changes Değişiklikleri At Recent Files Son Dosyalar Open File Dosyayı Aç Save File Dosyayı Kaydet @@ -2554,12 +2556,12 @@ cameraRaw Color Renk Continue Devam et Skip Atla Stop Durdur - Resume Devam et + Resume Sürdür Reset All Tümünü Sıfırla Defaults Varsayılanlar Apply to All Tümüne Uygula Confirm Onayla - Finish Bitiş + Finish Bitir Back Geri Next Sonraki Previous Önceki @@ -2575,7 +2577,7 @@ cameraRaw Color Renk Change… Değiştir… Transformation Dönüşüm Scaling Ölçeklendirme - Canvas Size Kanvas Boyutu + Canvas Size Tuval Boyutu Percentage Yüzde Degrees Dereceler Middle Orta @@ -2585,7 +2587,7 @@ cameraRaw Color Renk Intensity Yoğunluk Sensitivity Hassasiyet Softness Yumuşaklık - Feather Radius Tüy Yarıçapı + Feather Radius Geçiş Yumuşatma Yarıçapı Color Profile Renk Profili Library Kütüphane Libraries Kütüphaneler @@ -2597,36 +2599,36 @@ cameraRaw Color Renk Invert Mask Maskeyi Ters Çevir Enable Mask Maskeyi Etkinleştir Disable Mask Maskeyi Devre Dışı Bırak - Apply Mask Maske Uygula - Import Settings Ayarları İçe Aktarma - Export Settings Ayarları Dışa Aktarma + Apply Mask Maskeyi Uygula + Import Settings Ayarları İçe Aktar + Export Settings Ayarları Dışa Aktar Shortcut Kısayol Shortcuts Kısayollar Keyboard Klavye Mouse Fare - Tablet tablet + Tablet Tablet Display Ekran - Panel Paneli + Panel Panel Hide Grid Izgarayı Gizle Fit to Window Pencereye Sığdır Dark Theme Koyu Tema - Light Theme Işık Teması + Light Theme Açık Tema Live Preview Canlı Önizleme - Before önce + Before Önce After Sonra Compare Karşılaştır File Size Dosya Boyutu Filename Dosya adı Folder Klasör Open Folder Klasörü Aç - Choose Folder Klasör Seçin - Browse Göz at + Choose Folder Klasör Seç + Browse Gözat Find Bul Replace Değiştir Category Kategori Date Tarih Time Zaman - Learn More Daha Fazla Bilgi Edinin + Learn More Daha Fazla Bilgi Al Report a Bug Hata Bildir Updates Güncellemeler Update Güncelleme @@ -2636,8 +2638,8 @@ cameraRaw Color Renk Quit PhotoCraft PhotoCraft'tan Çık Close Window Pencereyi Kapat New Window Yeni Pencere - Open Image Resmi Aç - Save Image Resmi Kaydet + Open Image Görüntüyü Aç + Save Image Görüntüyü Kaydet Export Image Görüntüyü Dışa Aktar Import Image Görüntüyü İçe Aktar Export As Farklı Dışa Aktar @@ -2646,16 +2648,16 @@ cameraRaw Color Renk Import Options İçe Aktarma Seçenekleri No Selection Seçim Yok No Document Belge Yok - No Image Resim Yok + No Image Görüntü Yok No Layers Katman Yok No Results Sonuç Yok No Results Found Sonuç Bulunamadı Nothing to Undo Geri Alınacak Bir Şey Yok - Nothing to Redo Tekrarlanacak bir şey yok + Nothing to Redo Yinelenecek Bir Şey Yok Changes Saved Değişiklikler Kaydedildi Unsaved Changes Kaydedilmemiş Değişiklikler Save before closing? Kapatmadan önce kaydet? - Are you sure you want to quit? Vazgeçmek istediğinden emin misin? + Are you sure you want to quit? Çıkmak istediğinizden emin misiniz? The file could not be opened. Dosya açılamadı. The file could not be saved. Dosya kaydedilemedi. Unsupported format Desteklenmeyen biçim @@ -2668,20 +2670,20 @@ cameraRaw Color Renk Camera Calibration Kamera Kalibrasyonu Snapshots Anlık görüntüler Recovery Kurtarma - Fill Light Işık Doldur + Fill Light Dolgu Işığı Convert to Grayscale Gri Tonlamaya Dönüştür Sharpness Keskinlik - Color Noise Reduction Renk Gürültü Azaltma - Luminance Smoothness Parlaklık Pürüzsüzlüğü - Focal Length35mm Odak Uzunluğu35mm + Color Noise Reduction Renk Gürültüsü Azaltma + Luminance Smoothness Lüminans Yumuşaklığı + Focal Length35mm Odak Uzunluğu (35 mm) Aspect Ratio En Boy Oranı Enter description… Açıklamayı girin… Industry Standard Endüstri Standardı Uncoated CMYK Kaplamasız CMYK - Working Spaces Çalışma Alanları + Working Spaces Çalışma Renk Uzayları Color Management Policies Renk Yönetimi Politikaları Detect Faces Yüzleri Algıla - Localize Color Clusters Renk Kümelerini Yerelleştirin + Localize Color Clusters Renk Kümelerini Yerelleştir Duplicated selection name Yinelenen seçim adı New channel only Yalnızca yeni kanal Masked Areas Maskelenmiş Alanlar @@ -2703,12 +2705,12 @@ cameraRaw Color Renk View menu Menüyü görüntüle Keep view in sync Görünümü senkronize tutun Mouse Controls Fare Kontrolleri - Initial Direction of Stroke Başlangıç Strok Yönü - Direction of Stroke İnme Yönü + Initial Direction of Stroke Başlangıç Vuruş Yönü + Direction of Stroke Vuruş Yönü Humidity Nem Auto Clean Brush Otomatik Temizleme Fırçası Brush Tip Fırça Ucu - New Layer from Brush Brush'tan Yeni Katman + New Layer from Brush Fırçadan Yeni Katman New Brush Yeni Fırça New Tool Preset Yeni Araç Ön Ayarı Auto-Leading Otomatik Satır Aralığı @@ -2716,39 +2718,39 @@ cameraRaw Color Renk Scale Vertically Dikey Ölçeklendir Baseline Shift Taban Çizgisi Kayması Superscript Üst simge - Subscript Abonelik - Ligature Ligatür + Subscript Alt simge + Ligature Bitişik Harf Alternative Alternatif - Extra Light Ekstra Işık + Extra Light Ekstra Hafif Extra Bold Ekstra Kalın Sharpen Amount Keskinleştirme Miktarı - Sharpen Radius Yarıçapı Keskinleştir - Sharpen Detail Detayı Keskinleştir - Sharpen Masking Maskelemeyi Keskinleştir - Noise Luminance Gürültü Parlaklığı - Noise Luminance Detail Gürültü Parlaklığı Ayrıntısı + Sharpen Radius Keskinleştirme Yarıçapı + Sharpen Detail Keskinleştirme Ayrıntısı + Sharpen Masking Keskinleştirme Maskelemesi + Noise Luminance Gürültü Lüminansı + Noise Luminance Detail Gürültü Lüminansı Ayrıntısı Noise Color Gürültü Rengi Noise Color Detail Gürültü Rengi Ayrıntısı Grain Amount Tane Miktarı Grain Size Tane Boyutu - Grain Roughness Tahıl Pürüzlülüğü + Grain Roughness Tane Pürüzlülüğü Vignette Roundness Vinyet Yuvarlaklığı - Vignette Feather Vinyet Tüyü - Vignette Highlights Vinyet Öne Çıkanlar + Vignette Feather Vinyet Geçiş Yumuşatma + Vignette Highlights Vinyet Parlak Tonlar Vignette Style Vinyet Stili - Planes Uçaklar + Planes Düzlemler Corners Köşeler - Plane Uçak + Plane Düzlem Shadow Amount Gölge Miktarı Shadow Tone Gölge Tonu Shadow Radius Gölge Yarıçapı - Highlight Amount Vurgu Miktarı - Highlight Tone Vurgu Tonu - Highlight Radius Yarıçapı Vurgula + Highlight Amount Parlak Ton Miktarı + Highlight Tone Parlak Ton Tonu + Highlight Radius Parlak Ton Yarıçapı Midtone Orta ton Black Clip Siyah Klip White Clip Beyaz Klip - Fuzziness bulanıklık + Fuzziness Bulanıklık Source Layer Kaynak Katmanı Neutralize Nötrleştir Use Selection In Source Kaynaktaki Seçimi Kullan @@ -2776,18 +2778,18 @@ cameraRaw Color Renk Leaves Size Yaprak Boyutu Branches Height Dal Yüksekliği Branches Thickness Dal Kalınlığı - Default Leaves Varsayılan İzinler + Default Leaves Varsayılan Yapraklar Leaves Color Yaprak Rengi - Custom Branch Color Özel Şube Rengi + Custom Branch Color Özel Dal Rengi Branches Color Dal Rengi Flat Shading Düz Gölgeleme Enable Timeline Quick Config Zaman Çizelgesi Hızlı Yapılandırmasını Etkinleştir Set Start Timecode… Başlangıç Zaman Kodunu Ayarla… Timecode Zaman kodu - Current Time Güncel Saat + Current Time Geçerli Zaman Duration Süre Repeat Tekrarla - Play Once Bir Kez Oyna + Play Once Bir Kez Oynat Info Options… Bilgi Seçenekleri… First Color Readout İlk Renk Okuması Second Color Readout İkinci Renk Okuması @@ -2803,7 +2805,7 @@ cameraRaw Color Renk Ruler Units Cetvel Birimleri Restore last viewed comp Son görüntülenen kompozisyonu geri yükle Select All Layers Tüm Katmanları Seç - Keep proportions Oranları koruyun + Keep proportions Oranları koru Interpolation Enterpolasyon Caption Başlık Caption Credits Altyazı Kredisi @@ -2824,8 +2826,8 @@ cameraRaw Color Renk City Şehir Province / State İl / Eyalet Country Ülke - Byline Yazar yazısı - Byline Title Yazar Başlığı + Byline Yazar Satırı + Byline Title Yazar Satırı Unvanı Phone Telefon Email E-posta Last Modified Son Değiştirilme @@ -2833,13 +2835,13 @@ cameraRaw Color Renk Camera Model Kamera Modeli Camera Make Kamera Markası EXIF Version EXIF Sürümü - Exposure Program Maruziyet Programı + Exposure Program Pozlama Programı Aperture Diyafram Shutter Speed Enstantane Hızı Metering Mode Ölçüm Modu Light Source Işık Kaynağı Flash Flaş - Create Multiple Picture Packages Çoklu Resim Paketleri Oluşturun + Create Multiple Picture Packages Çoklu Resim Paketi Oluştur Choose… Seç… Select Folder… Klasör Seç… Override Action "Save" Commands Eylem "Kaydet" Komutlarını Geçersiz Kıl @@ -2850,15 +2852,15 @@ cameraRaw Color Renk Stop For Errors Hatalar İçin Durdur Log Errors To File Hataları Dosyaya Günlüğe Kaydet Settings: Ayarlar: - Working Space Çalışma Alanı + Working Space Çalışma Renk Uzayı Advanced Controls Gelişmiş Kontroller Desaturate Monitor Colors By Monitör Renklerinin Doygunluğunu Azaltma - Blend RGB Colors Using Gamma 1.0 Gama 1.0 Kullanarak RGB Renklerini Karıştırın + Blend RGB Colors Using Gamma 1.0 Gama 1.0 Kullanarak RGB Renklerini Karıştır Profile Mismatches: Ask When Opening Profil Uyuşmazlıkları: Açarken Sor Ask When Pasting Yapıştırırken Sor Missing Profiles: Ask When Opening Eksik Profiller: Açarken Sor - Embed profiles Profilleri yerleştir - Coerce to sRGB sRGB'ye baskı yapın + Embed profiles Profilleri göm + Coerce to sRGB sRGB'ye zorla Graphic and web Grafik ve web Minimalistic Minimalist Expand All Groups Tüm Grupları Genişlet @@ -2871,30 +2873,30 @@ cameraRaw Color Renk Create new count group Yeni sayım grubu oluştur Drag to move the layer Katmanı taşımak için sürükleyin Go to Layer Katmana Git - Current Mevcut + Current Geçerli Reference point location Referans noktası konumu Toggle reference point Referans noktasını değiştir - Heal Off İyileşme - Heal On İyileşme - Heal Auto Otomatik İyileştirme + Heal Off Düzeltme Kapalı + Heal On Düzeltme Açık + Heal Auto Otomatik Düzeltme Brush Size Fırça Boyutu - Heal Color Rengi İyileştir + Heal Color Rengi Düzelt Result Sonuç Fast Hızlı - Accurate Doğru - Add to Ekle + Accurate Kesin + Add to Şuna ekle: Subtract from Şundan çıkar: - Intersect with İle kesiştir - Capture Comp Comp'ı Yakala + Intersect with Şununla kesiştir: + Capture Comp Kompozisyonu Yakala No Layer Comps Katman Kompozisyonu Yok Add to selection (⇧) Seçime ekle (⇧) Click to zoom in · ⌥-click to zoom out Yakınlaştırmak için tıklayın · Uzaklaştırmak için ⌥-tıklayın - Commit Perspective Warp (↩) Perspektif Çarpıtma İşlemi (↩) - Commit Puppet Warp (↩) Kukla Çarpıtma İşlemi (↩) - Commit any current edits (⌘↩) Mevcut düzenlemeleri taahhüt et (⌘↩) + Commit Perspective Warp (↩) Perspektif Çarpıtmayı Uygula (↩) + Commit Puppet Warp (↩) Kukla Çarpıtmayı Uygula (↩) + Commit any current edits (⌘↩) Geçerli düzenlemeleri onayla (⌘↩) Commit current crop operation (↵) Mevcut kırpma işlemini gerçekleştir (↵) - Commit transform (↩) Dönüşümü kaydet (↩) - Commit warp (↩) Çözgü gerçekleştir (↩) + Commit transform (↩) Dönüşümü onayla (↩) + Commit warp (↩) Çarpıtmayı onayla (↩) Create a new layer (⇧⌘N) Yeni bir katman oluştur (⇧⌘N) Custom pattern Özel desen General Brushes Genel Fırçalar @@ -2919,7 +2921,7 @@ cameraRaw Color Renk In Black Siyah In White Beyaz Out Black Siyah - Out White Beyaz Dışı + Out White Çıkış Beyazı Tint Color Ton Rengi Stops Duraklar Center X Merkez X @@ -2927,11 +2929,11 @@ cameraRaw Color Renk Distribution Dağıtım Monochromatic Tek renkli Cell Size Hücre Boyutu - Generators Jeneratörler - Wavelength Min Dalga Boyu Min + Generators Oluşturucular + Wavelength Min Minimum Dalga Boyu Wavelength Max Maksimum Dalga Boyu - Amplitude Min Genlik Min - Amplitude Max Genlik Maksimum + Amplitude Min Minimum Genlik + Amplitude Max Maksimum Genlik Undefined Areas Tanımsız Alanlar Preserve Koru Max Radius Maksimum Yarıçap @@ -2940,10 +2942,10 @@ cameraRaw Color Renk Mask Incomplete Blocks Tamamlanmamış Blokları Maskele Stylization Stilizasyon Cleanliness Temizlik - Bristle Detail Kıl Detayı + Bristle Detail Kıl Ayrıntısı Lighting Aydınlatma Shine Parıltı - Max Offset Maksimum Ofset + Max Offset Maksimum Kaydırma Map Document Harita Belgesi Map Path Harita Yolu Map Layer Harita Katmanı @@ -2951,20 +2953,20 @@ cameraRaw Color Renk Light Type Işık Tipi Light X Işık X Light Y Işık Y - Light Z Açık Z + Light Z Işık Z Target X Hedef X Target Y Hedef Y Hotspot Sıcak nokta Elevation Yükseklik Ambient Ortam - Warmth sıcaklık - Gloss parlaklık - Metallic metalik - Ambience ortam + Warmth Sıcaklık + Gloss Parlama + Metallic Metalik + Ambience Ortam White Is High Beyaz Yüksek - Reduce Color Noise Renk Gürültüsünü Azaltın + Reduce Color Noise Renk Gürültüsünü Azalt Sharpen Details Ayrıntıları Keskinleştir - Remove Jpeg Artifact Jpeg Yapısını Kaldır + Remove Jpeg Artifact JPEG Bozulmasını Kaldır Remove Tool Aracı Kaldır Blade Curvature Bıçak Eğrisi Depth Map Derinlik Haritası @@ -2972,42 +2974,42 @@ cameraRaw Color Renk Focus Odaklanma Transition Geçiş Radius X Yarıçap X - Radius Y Y Yarıçapı + Radius Y Yarıçap Y Pins Pimler Blur Angle Bulanıklık Açısı Speed Hız Taper Konik - Start X X'i başlat - Start Y Y'yi başlat - End X X'in sonu - End Y Y Sonu - Kernel çekirdek + Start X Başlangıç X + Start Y Başlangıç Y + End X Bitiş X + End Y Bitiş Y + Kernel Çekirdek Input Mode Giriş Modu Row Order Satır Sırası Eliminate Ortadan kaldır Create By Oluşturan List Liste Pencil Width Kalem Genişliği - Stroke Pressure Strok Basıncı + Stroke Pressure Vuruş Basıncı Paper Brightness Kağıt Parlaklığı - Number Of Levels Seviye Sayısı + Number Of Levels Düzey Sayısı Edge Simplicity Kenar Sadeliği Edge Fidelity Kenar Doğruluğu - Brush Detail Fırça Detayı - Highlight Area Alanı Vurgula - Glow Size Parıltı Boyutu - Glow Brightness Parıltı Parlaklığı + Brush Detail Fırça Ayrıntısı + Highlight Area Vurgu Alanı + Glow Size Işıma Boyutu + Glow Brightness Işıma Parlaklığı Brush Type Fırça Tipi - Stroke Size Kontur Boyutu - Stroke Detail Kontur Detayı - Highlight Strength Gücü Vurgula + Stroke Size Vuruş Boyutu + Stroke Detail Vuruş Ayrıntısı + Highlight Strength Vurgu Gücü Smoothness Pürüzsüzlük Edge Thickness Kenar Kalınlığı Edge Intensity Kenar Yoğunluğu Posterization Posterleştirme - Stroke Length Strok Uzunluğu - Relief Rahatlama - Definition Tanım + Stroke Length Vuruş Uzunluğu + Relief Rölyef + Definition Belirginlik Texture Coverage Doku Kapsamı Shadow Intensity Gölge Yoğunluğu Edge Width Kenar Genişliği @@ -3015,18 +3017,18 @@ cameraRaw Color Renk Direction Balance Yön Dengesi Black Intensity Siyah Yoğunluğu White Intensity Beyaz Yoğunluğu - Dark Intensity Karanlık Yoğunluk + Dark Intensity Koyu Yoğunluğu Custom Pixel Aspect Ratio Özel Piksel En Boy Oranı 32-bit Preview Options 32 bit Önizleme Seçenekleri New Guide Yeni Kılavuz - Join the ArtCraft Discord ArtCraft Discord'una katılın + Join the ArtCraft Discord ArtCraft Discord'una Katıl Report an Issue Sorun Bildir Load Files into Stack Dosyaları Yığına Yükle Statistics İstatistikler Duplicate Layers Katmanları Çoğalt Edit Toolbar Araç Çubuğunu Düzenle Import Brushes Fırçaları İçe Aktar - Load 3D LUT 3D LUT'u yükleyin + Load 3D LUT 3D LUT'u Yükle New document Yeni belge Press keys Tuşlara basın Rename Group Grubu Yeniden Adlandır @@ -3049,7 +3051,7 @@ cameraRaw Color Renk Bleach Bypass Ağartma Baypası Blocks Bloklar Brick Tuğla - Brush Strokes Fırça Darbeleri + Brush Strokes Fırça Vuruşları Burlap Çuval bezi Candle Light Mum Işığı Circle daire @@ -3057,23 +3059,23 @@ cameraRaw Color Renk Coarse Dots Kaba Noktalar Colored Pencil Renkli Kalem Contrasty Kontrastlı - Cool Harika + Cool Soğuk Craquelure Küçük çatlak Cross Çapraz - Cross Process Çapraz Süreç + Cross Process Çapraz İşleme Crosshatch Çapraz tarama Cutout Kesim Daisies Papatyalar - Dark Rough Karanlık Sert + Dark Rough Koyu Kaba Dark Strokes Karanlık Vuruşlar Darken Only Yalnızca Koyulaştır Day For Night Gündüz Gece - Deep Blue Derin Mavi - Deep Emerald Derin Zümrüt + Deep Blue Koyu Mavi + Deep Emerald Koyu Zümrüt Deep Red Koyu Kırmızı Deep Yellow Koyu Sarı Dot Nokta - Double Line Çift Hat + Double Line Çift Çizgi Draft Taslak Dry Brush Kuru Fırça Duplication Çoğaltma @@ -3082,15 +3084,15 @@ cameraRaw Color Renk Enlarged Büyütülmüş Even Fields Çift Alanlar Faded Film Solmuş Film - Film Grain Film Tahıl - Fine iyi + Film Grain Film Tanesi + Fine İnce Fine Dots İnce Noktalar Flat Düz Fresco Fresk From Left Soldan From Right Sağdan Frosted Buzlu - Generic jenerik + Generic Genel Glass Cam Glowing Edges Parlayan Kenarlar Grainy Dots Grenli Noktalar @@ -3102,7 +3104,7 @@ cameraRaw Color Renk Ink Outlines Mürekkep Ana Hatları Ivy sarmaşık Left Diagonal Sol Çapraz - Level Based Seviyeye Dayalı + Level Based Düzeye Dayalı Light Rough Hafif Kaba Lighten Only Yalnızca Açıklaştır Long Lines Uzun Çizgiler @@ -3126,14 +3128,14 @@ cameraRaw Color Renk Palette Knife Palet Bıçağı Parallel paralel Patchwork yama işi - Pentagon Pentagon + Pentagon Beşgen Point Nokta Pointed Sivri Pond Ripples Gölet Dalgaları Pyramids Piramitler Random Rastgele - Right Diagonal Sağ Diyagonal - Ring Yüzük + Right Diagonal Sağ Çapraz + Ring Halka Rope Halat Roses Güller Sandstone Kumtaşı @@ -3144,7 +3146,7 @@ cameraRaw Color Renk Simple Basit Light Intensity Işık Yoğunluğu Spray Radius Püskürtme Yarıçapı - Stroke Direction Strok Yönü + Stroke Direction Vuruş Yönü Graininess Taneciklilik Glow Amount Işıma Miktarı Clear Amount Temizleme Miktarı @@ -3155,48 +3157,48 @@ cameraRaw Color Renk Chalk Area Tebeşir Alanı Charcoal Thickness Kömür Kalınlığı Light Dark Balance Açık Karanlık Dengesi - Foreground Level Ön Plan Seviyesi + Foreground Level Ön Plan Düzeyi Background Level Arka Plan Düzeyi Pattern Type Desen Türü Image Balance Görüntü Dengesi Darkness Karanlık - Fiber Length Elyaf Uzunluğu + Fiber Length Lif Uzunluğu Crack Spacing Çatlak Aralığı Crack Depth Çatlak Derinliği Crack Brightness Çatlak Parlaklığı - Grain Type Tahıl Türü + Grain Type Tane Türü Tile Size Döşeme Boyutu Grout Width Derz Genişliği - Lighten Grout Harcı hafifletmek + Lighten Grout Derzi Açıklaştır Square Size Kare Boyutu - Border Thickness Kenar Kalınlığı - Correct Distortion Bozulmanın Düzeltilmesi - Correct Vignette Doğru Vinyet - Correct C A Doğru CA + Border Thickness Kenarlık Kalınlığı + Correct Distortion Bozulmayı Düzelt + Correct Vignette Vinyeti Düzelt + Correct C A Kromatik Sapmayı Düzelt Auto Scale Otomatik Ölçeklendirme Red Cyan Kırmızı Camgöbeği Blue Yellow Mavi Sarı Vignette Amount Vinyet Miktarı Vignette Midpoint Vinyet Orta Noktası Constraints Kısıtlamalar - Curve Highlights Eğrinin Öne Çıkan Noktaları - Curve Lights Eğri Işıkları - Curve Darks Eğri Koyuları + Curve Highlights Eğri Parlak Tonlar + Curve Lights Eğri Açık Tonlar + Curve Darks Eğri Koyu Tonlar Curve Shadows Eğri Gölgeleri Curve Splits Eğri Bölmeleri Point Curve Nokta Eğrisi Point Curve Red Nokta Eğrisi Kırmızı Point Curve Green Nokta Eğrisi Yeşil Point Curve Blue Nokta Eğrisi Mavi - Hsl Hue Hsl Ton - Hsl Sat HSL Cumartesi - Hsl Lum Hsl Lum - Grade Shadows Sınıf Gölgeleri - Grade Midtones Derece Orta Tonları - Grade Highlights Notun Öne Çıkan Noktaları - Grade Global Küresel Sınıf - Grade Blending Sınıf Harmanlama - Grade Balance Not Dengesi + Hsl Hue HSL Ton + Hsl Sat HSL Doygunluk + Hsl Lum HSL Lüminans + Grade Shadows Derecelendirme Gölgeleri + Grade Midtones Derecelendirme Orta Tonları + Grade Highlights Derecelendirme Parlak Tonları + Grade Global Genel Derecelendirme + Grade Blending Derecelendirme Karıştırma + Grade Balance Derecelendirme Dengesi Sine sinüs Sketch Eskiz Snowflakes Kar taneleri @@ -3211,15 +3213,15 @@ cameraRaw Color Renk Star Yıldız Stars Yıldızlar Stippled noktalanmış - Stretch Streç - Teal Orange turkuaz turuncu + Stretch Esnet + Teal Orange Turkuaz Turuncu Tiny Lens Minik Mercek To Center Merkeze Triangle Üçgen Unaltered değiştirilmemiş Underpainting Alt boyama Underwater Sualtı - Uniform Üniforma + Uniform Tekdüze Upper Üst Vertical Only Yalnızca Dikey Vine With Flowers Çiçekli Asma @@ -3249,26 +3251,26 @@ cameraRaw Color Renk Picture Package… Resim Paketi… Web Photo Gallery… Web Fotoğraf Galerisi… Gray: Gri: - Spot: Nokta: + Spot: Spot: Technology Previews… Teknoloji Önizlemeleri… - 3D… 3 boyutlu… + 3D… 3B… AI Integrations Yapay Zeka Entegrasyonları Add Noise Gürültü Ekle - Add Pins Pin Ekle + Add Pins Pim Ekle Add a mask (from the selection; ⌥ inverts) Bir maske ekleyin (seçimden; ⌥ tersine çevirir) Adds grain to the soft edges of the brush tip. Fırça ucunun yumuşak kenarlarına gren ekler. - Adobe PDF Presets… Adobe PDF Hazır Ayarları… - Advanced Blending Gelişmiş Harmanlama + Adobe PDF Presets… Adobe PDF Ön Ayarları… + Advanced Blending Gelişmiş Karıştırma After (X) (X)'ten sonra Airbrush: keeps painting while the pointer rests. Airbrush: İşaretçi dururken boyamaya devam eder. - Alternates for Current Selection Mevcut Seçimin Alternatifleri + Alternates for Current Selection Geçerli Seçimin Alternatifleri Apply Data Set Veri Kümesini Uygula - Apply Image Resmi Uygula + Apply Image Görüntüyü Uygula Arbitrary keyfi Artboard from Group Gruptan çalışma yüzeyi Artboard from Layers Katmanlardan Çalışma Yüzeyi Artboards to Files Çalışma Yüzeylerinden Dosyalara - Artboards to PDF Çalışma yüzeylerini PDF'ye dönüştürme + Artboards to PDF Çalışma Yüzeylerinden PDF'ye Ask Before Saving Saved Embedded Kaydedilen Gömülü Kaydetmeden Önce Sor Assign Profile Profil Ata At Şu tarihte: @@ -3277,57 +3279,57 @@ cameraRaw Color Renk Auto-Blend Layers Katmanları Otomatik Karıştır Auto-Hide Otomatik Gizle Auto-leading % Otomatik satır aralığı % - Avoid Widows/Orphans Dul/Yetimlerden Kaçının + Avoid Widows/Orphans Dul/Yetim Satırlardan Kaçın Background from Layer Katmandan Arka Plan Batch Toplu Blend Karışım - Border Sınır + Border Kenarlık Box Blur Kutu Bulanıklığı Calculations Hesaplamalar Camera Raw Camera Raw Camera Raw Filter Camera Raw Filtresi - Canvas rotation Kanvas döndürme - Channel1 Kanal1 - Channel2 Kanal2 - Channel3 Kanal3 - Channel4 Kanal4 + Canvas rotation Tuval döndürme + Channel1 Kanal 1 + Channel2 Kanal 2 + Channel3 Kanal 3 + Channel4 Kanal 4 Clipping Path Kırpma Yolu Clone Klon Color Decontaminate Renkli Dekontaminasyon - Color Halftone Renk Noktalı Resim + Color Halftone Renk Yarım Tonu Color Lookup Tables Renk Arama Tabloları Color Settings Renk Ayarları Color Table Renk Tablosu Compose Oluştur - Condensed Yoğunlaştırılmış + Condensed Dar Conditional Mode Change Koşullu Mod Değişikliği Background (Default) Arka plan (varsayılan) - Content-Aware Fill İçeriğe Uygun Dolgu - Convert Frames > Video Layers Çerçeveleri Dönüştür > Video Katmanları + Content-Aware Fill İçeriğe Duyarlı Dolgu + Convert Frames > Video Layers Kareleri Dönüştür > Video Katmanları Convert to Linked Bağlantılıya Dönüştür Convert to Profile Profile Dönüştür - Create Date Tarih Oluştur + Create Date Oluşturma Tarihi Create Plane Düzlem Oluştur Create new layer Yeni katman oluştur Create new set Yeni grup oluştur Crystallize Kristalleş Data Veri Data Sets as Files Dosya Olarak Veri Kümeleri - DateTime Original TarihSaat Orijinal + DateTime Original Orijinal Tarih/Saat De-Interlace Taramasızlaştırma Defaults restored. Varsayılanlar geri yüklendi. Define Brush Preset Fırça Ön Ayarını Tanımla Define Custom Shape Özel Şekli Tanımla Define Pattern Deseni Tanımla - Defringe Bordürleri kaldır - Delete Pins Pinleri Sil - Diffuse Yaygın - Diffuse Glow Yaygın Parıltı + Defringe Kenar Halesini Kaldır + Delete Pins Pimleri Sil + Diffuse Yay + Diffuse Glow Dağınık Işıma Digits Rakamlar - Displace Yer değiştir - Do you want to save you made to “{name}” before quitting? Çıkmadan önce yaptığınız işi “{name}” konumuna kaydetmek istiyor musunuz? + Displace Yer Değiştir + Do you want to save you made to “{name}” before quitting? Çıkmadan önce “{name}” belgesinde yaptığınız değişiklikleri kaydetmek istiyor musunuz? Dodge/Burn Soldurma/Yakma - Duplicate Path Yinelenen Yol + Duplicate Path Yolu Çoğalt Dust & Scratches Toz ve Çizikler Dynamics Dinamik Edit Plane Düzlemi Düzenle @@ -3342,28 +3344,28 @@ cameraRaw Color Renk Filter Gallery Filtre Galerisi Find and Replace Text Metni Bul ve Değiştir First Line Indent İlk Satır Girintisi - Fit Image Resmi Sığdır + Fit Image Görüntüyü Sığdır Flame Alev - Flatten Frames Into Clips Çerçeveleri Klipsler halinde Düzleştirin - Flatten Frames Into Layers Çerçeveleri Katmanlara Düzleştirin + Flatten Frames Into Clips Kareleri Kliplere Düzleştir + Flatten Frames Into Layers Kareleri Katmanlara Düzleştir Focus Area Odak Alanı Follows only edges this close to the pointer ([ and ] change it) Yalnızca işaretçiye bu kadar yakın olan kenarları takip eder ([ ve ] bunu değiştirir) Frame Duration Kare Süresi - Frame Sync Çerçeve Senkronizasyonu - Gaussian Gaussian + Frame Sync Kare Senkronizasyonu + Gaussian Gauss Gaussian Blur Gauss Bulanıklığı General Blend Genel Karışım - Global Light Küresel Işık + Global Light Genel Işık Glyph Glif Glyph Scaling Glif Ölçekleme - Group from Layers Katmanlardan Gruplandır + Group from Layers Katmanlardan Grup Group · {n} layer Grup · {n} katman HDR Toning HDR Tonlama - HSB Color HSB Rengi - HSL/Grayscale HSL/Gri tonlamalı + HSB Color HSB Renk + HSL/Grayscale HSL/Gri Tonlamalı Hanging Punctuation Asılı Noktalama İşaretleri - Heal İyileşmek - Healing Şifa + Heal Düzelt + Healing Düzeltme Hide the layer's effects (⌥-click: all layers) Katmanın efektlerini gizleyin (⌥ tuşuna basarak tıklayın: tüm katmanlar) High Pass Yüksek Geçiş Higher values follow only edges that contrast sharply with their surroundings Daha yüksek değerler yalnızca çevreleriyle keskin bir kontrast oluşturan kenarları takip eder @@ -3378,14 +3380,14 @@ cameraRaw Color Renk Intersect with selection (⇧⌥) Seçimle kesiştir (⇧⌥) Iris Blur İris Bulanıklığı Jag Jag - Justify Gerekçelendir - Keeps the current texture when switching presets. Ön ayarları değiştirirken mevcut dokuyu korur. + Justify İki Yana Yasla + Keeps the current texture when switching presets. Ön ayarları değiştirirken geçerli dokuyu korur. Label Etiket - Layer Comps to Files Dosyalara Katman Kompozisyonları + Layer Comps to Files Katman Kompozisyonlarından Dosyalara Layer Content Options Katman İçeriği Seçenekleri Layer From Background Arka Plandan Katman Layer from Background Arka Plandan Katman - Layers to Files Dosyalara Katmanlar + Layers to Files Katmanlardan Dosyalara Legacy Eski Lens Objektif Lens Blur Mercek Bulanıklığı @@ -3399,16 +3401,16 @@ cameraRaw Color Renk Liquify Sıvılaştır Lock Layers Katmanları Kilitle Loop Döngü - Lum Lum + Lum Lüminans Match Color Rengi Eşleştir Measure Ölçü Merge to HDR Pro HDR Pro'ya Birleştir Mezzotint Mezotint - Modify Date Tarihi Değiştir + Modify Date Değiştirilme Tarihi Mosaic Mozaik Motion Blur Hareket Bulanıklığı Native file drag-and-drop is not supported on Wayland yet. Use File › Open, or run PhotoCraft under XWayland with `WAYLAND_DISPLAY= photocraft`. Yerel dosya sürükle ve bırak özelliği henüz Wayland'de desteklenmiyor. Dosya › Aç'ı kullanın veya PhotoCraft'ı XWayland altında `WAYLAND_DISPLAY= photocraft` ile çalıştırın. - Neon Glow Neon Parıltı + Neon Glow Neon Işıma New Guide Layout Yeni Kılavuz Düzeni New Path Yeni Yol New Video Group Yeni Video Grubu @@ -3423,47 +3425,47 @@ cameraRaw Color Renk Package Paket Paint Daubs Boya Lekeleri Path Blur Yol Bulanıklığı - Path to Illustrator… İllüstratöre Giden Yol… + Path to Illustrator… Yoldan Illustrator'a… Path: Yol: - Paths to Illustrator Illustrator'a Giden Yollar + Paths to Illustrator Yollardan Illustrator'a Photomerge Fotoğraf Birleştir Picture Frame Resim Çerçevesi - Pinch Tutam - Place Embedded Gömülü Yer - Place Linked Bağlantılı Yer - Place Scale Marker Ölçek İşaretçisini Yerleştirin + Pinch Sıkıştır + Place Embedded Gömülü Olarak Yerleştir + Place Linked Bağlantılı Olarak Yerleştir + Place Scale Marker Ölçek İşaretçisini Yerleştir Plastic Wrap Plastik Sarma Pointillize Noktalaştır Polar Coordinates Kutupsal Koordinatlar - Polar To Rectangular Polar'dan Dikdörtgen'e + Polar To Rectangular Kutupsaldan Dikdörtgene Poster Edges Poster Kenarları Preset Manager Ön Ayar Yöneticisi Profile Profil Quick Sync Hızlı Senkronizasyon - Radial Blur Radyal Bulanıklık + Radial Blur Radyal Bulanıklığı Raw Data Ham Veri Raw Defaults Ham Varsayılanlar - Rectangular To Polar Dikdörtgenden Polar'a - Reduce Noise Gürültüyü Azaltın - Relink to File Dosyaya Yeniden Bağlan + Rectangular To Polar Dikdörtgenden Kutupsala + Reduce Noise Gürültüyü Azalt + Relink to File Dosyaya Yeniden Bağla Render Video Videoyu Oluştur Replace Color Rengi Değiştir Replace Contents İçeriği Değiştir Replace Footage Görüntüyü Değiştir - Resolve Missing Fonts Eksik Yazı Tiplerini Çözün + Resolve Missing Fonts Eksik Yazı Tiplerini Çöz Ripple Dalgalanma - Roman Hanging Punctuation Roma Asılı Noktalama İşaretleri + Roman Hanging Punctuation Roman Asılı Noktalama İşaretleri Rotate Auto Otomatik Döndür Rotate Fixed Sabit Döndür Rough Pastels Kaba Pastel - Sat Cumartesi + Sat Doygunluk Save a Copy Bir Kopyasını Kaydet Save for Web (Legacy) Web için Kaydet (Eski) Saved Multichannel Çok Kanallı Kaydedildi - Scale Effects Ölçek Efektleri + Scale Effects Efektleri Ölçekle Script Events Manager Komut Dosyası Olay Yöneticisi Search menus Arama menüleri - Seed tohum + Seed Tohum Select Plane Düzlem Seç Select and Mask Seç ve Maskele Semi Bold Yarı Kalın @@ -3472,7 +3474,7 @@ cameraRaw Color Renk Shape Blur Şekil Bulanıklığı Shear Kesme Show the layer's effects (⌥-click: all layers) Katmanın efektlerini göster (⌥ tuşuna basarak tıklayın: tüm katmanlar) - Single Word Justification Tek Kelime Gerekçesi + Single Word Justification Tek Sözcüğü İki Yana Yaslama Smart Blur Akıllı Bulanıklaştırma Smart Sharpen Akıllı Keskinleştirme Smudge Stick Leke Çubuğu @@ -3482,7 +3484,7 @@ cameraRaw Color Renk Spin Blur Döndürme Bulanıklığı Split Toning Bölünmüş Tonlama Split at Playhead Oynatma Kafasında Böl - Spot nokta + Spot Spot Spot Channel Spot Kanal Sprayed Strokes Püskürtülmüş Vuruşlar Strokes Vuruşlar @@ -3503,42 +3505,42 @@ cameraRaw Color Renk Tree Ağaç Trim Kırpma Turbulent Çalkantılı - Twirl Burgu + Twirl Girdap Ultra Bold Ultra Kalın Ultra Light Ultra Hafif Unsharp Mask Keskinliği Azaltma Maskesi - Use File › Open to open an image. Bir resmi açmak için Dosya › Aç'ı kullanın. + Use File › Open to open an image. Bir görüntüyü açmak için Dosya › Aç'ı kullanın. Vanishing Point Ufuk Noktası - Variable Data Sets Değişken Veri Setleri + Variable Data Sets Değişken Veri Kümeleri Video Frames to Layers Video Karelerinden Katmanlara WIA Support WIA Desteği - Warp Text Metni Çözgü - Watercolour look: lighter interior, darker rims. Suluboya görünümü: daha açık iç kısım, daha koyu jantlar. + Warp Text Metni Çarpıt + Watercolour look: lighter interior, darker rims. Suluboya görünümü: daha açık iç kısım, daha koyu kenarlar. Wind Rüzgâr Word Spacing Kelime Aralığı - Working Gray Plate Gri Çalışma Plakası - ZigZag ZigZag + Working Gray Plate Çalışma Gri Plakası + ZigZag Zikzak ↑↓ navigate ↵ run esc close ↑↓ gezin ↵ çalıştır esc kapat cameraRaw Amount Miktar cameraRaw Blacks Siyahlar -cameraRaw Color Detail Renk Detayı +cameraRaw Color Detail Renk Ayrıntısı cameraRaw Color Grading Renk Derecelendirme -cameraRaw Darks Koyular +cameraRaw Darks Koyu Tonlar cameraRaw Global Genel cameraRaw Hue Ton -cameraRaw Lights Açıklar -cameraRaw Luminance Detail Parlaklık Detayı +cameraRaw Lights Açık Tonlar +cameraRaw Luminance Detail Lüminans Ayrıntısı cameraRaw Masking Maskeleme cameraRaw Roughness Pürüzlülük cameraRaw Tint Renk Tonu -cameraRaw Vibrance Titreşim +cameraRaw Vibrance Canlılık cameraRaw Whites Beyazlar Wand Değnek Note tool Not aracı Magnetic Lasso Manyetik Kement - Art History Brush Sanat Tarihi Fırçası - Spot Healing Nokta Şifası - Content-Aware Move İçeriğe Uygun Taşıma + Art History Brush Sanat Geçmişi Fırçası + Spot Healing Nokta Düzeltme + Content-Aware Move İçeriğe Duyarlı Taşıma Vertical Type Tool Dikey Metin Aracı Click the first point or press {key} to close · {del} removes a point · Esc cancels İlk noktayı tıklayın veya kapatmak için {key} tuşuna basın · {del} bir noktayı kaldırır · Esc iptal eder Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Tıklayın, ardından bir kenar boyunca hareket edin · bir noktayı sabitlemek için tıklayın · düz bir parça için {alt}-tıklayın · kapatmak için çift tıklayın @@ -3547,7 +3549,7 @@ cameraRaw Whites Beyazlar Quit {app} {app}'dan çık Services Hizmetler Hide Others Diğerlerini Gizle - 3D 3D + 3D 3B Pen Kalem Hand El Sampler Örnekleyici @@ -3555,18 +3557,18 @@ cameraRaw Whites Beyazlar Perspective Crop Perspektif Kırpma RGB RGB ISO ISO - ColorSync Renk Senkronizasyonu - ProPhoto ProFotoğraf + ColorSync ColorSync + ProPhoto ProPhoto sRGB sRGB ACES ACES {zoom}% %{zoom} - Mac LCD Mac LCD'si + Mac LCD Mac LCD Mac Sharp Mac Keskin - Mac Crisp Mac Çıtır + Mac Crisp Mac Net Mac Strong Mac Güçlü - Mac Smooth Mac Pürüzsüz - Adobe Single-line Composer Adobe Tek Satır Oluşturucu - Adobe Every-line Composer Adobe Her Satır Oluşturucusu + Mac Smooth Mac Yumuşak + Adobe Single-line Composer Adobe Tek Satırlı Dizgi Motoru + Adobe Every-line Composer Adobe Tüm Satırlı Dizgi Motoru X X Y Y 30 fps 30 fps @@ -3574,7 +3576,7 @@ cameraRaw Whites Beyazlar 24 fps 24 fps 15 fps 15 fps 10 fps 10 fps - URLs URLs + URLs URL'ler EXIF EXIF GPS GPS Mac OS Mac OS @@ -3590,7 +3592,7 @@ cameraRaw Whites Beyazlar NTSC (1953) NTSC (1953) PAL/SECAM PAL/SECAM SMPTE C SMPTE-C - HDTV (Rec. 709) HDTV (Kayıt 709) + HDTV (Rec. 709) HDTV (Rec. 709) CIE RGB CIE RGB Photo (2 × 3 in) Fotoğraf (2 × 3 inç) Photo (4 × 6 in) Fotoğraf (4 × 6 inç) @@ -3598,11 +3600,11 @@ cameraRaw Whites Beyazlar Photo (8 × 10 in) Fotoğraf (8 × 10 inç) Lut Lut Cooling L B B Soğutma L B B - Cooling80 Soğutma80 - Cooling82 Soğutma82 + Cooling80 Soğutma 80 + Cooling82 Soğutma 82 Hsb HSB Hsl HSL - Movie Prime Film Başbakanı + Movie Prime Film Prime Prime105 Prime105 Prime35 Prime35 Rgb RGB @@ -3616,12 +3618,12 @@ cameraRaw Whites Beyazlar Out of gamut for printing: click for the nearest printable colour Yazdırma için gamın dışında: yazdırılabilir en yakın renk için tıklayın Not a web colour: click for the nearest web colour Web rengi değil: en yakın web rengi için tıklayın Adjustment Properties Ayarlama Özellikleri - Brush Stroke Fırça Darbesi + Brush Stroke Fırça Vuruşu Default Foreground and Background Colors Varsayılan Ön Plan ve Arka Plan Renkleri Move Layer Katmanı Taşı Rectangular Selection Dikdörtgen Seçimi Reorder Layer Katmanı Yeniden Sırala - Select Layer Katman Seç + Select Layer Katmanı Seç Set Colors Renkleri Ayarla Switch Foreground and Background Colors Ön Plan ve Arka Plan Renklerini Değiştir Target Hedef @@ -3639,20 +3641,20 @@ cameraRaw Whites Beyazlar Sample Size: Örnek Boyutu: Show Sampling Ring Örnekleme Halkasını Göster Dual Axis Çift Eksen - Diagonal diyagonal + Diagonal Çapraz Transform Symmetry Simetriyi Dönüştür Rasterize svg groups deeper than Svg gruplarını şundan daha derin bir şekilde rasterleştirin: 0 turns this threshold off; SVG groups nested deeper than 100 levels are always rasterized. 0 bu eşiği kapatır; 100 düzeyden daha derine yerleştirilmiş SVG grupları her zaman rasterleştirilir. Rule of Thirds Üçte Bir Kuralı Golden Ratio Altın Oran Golden Spiral Altın Spiral - Auto Show Overlay Otomatik Göster Yer Paylaşımı + Auto Show Overlay Kaplamayı Otomatik Göster Always Show Overlay Kaplamayı Her Zaman Göster Never Show Overlay Kaplamayı Hiçbir Zaman Gösterme - Cycle Overlay Döngü Yerleşimi - Cycle Orientation Döngü Yönü - Set the overlay options for the Crop tool Kırpma aracının kaplama seçeneklerini ayarlama - Alt-click went to the desktop, which moves windows with Alt-drag. Set its window-move key to Super, or latch Alt in Window › Modifier Keys. Alt tuşuna basıp masaüstüne giderek pencereleri Alt tuşuyla sürükleyerek hareket ettirin. Pencere taşıma tuşunu Süper olarak ayarlayın veya Pencere › Değiştirici Tuşlar'da Alt'ı mandallayın. + Cycle Overlay Kaplamalar Arasında Geç + Cycle Orientation Yönler Arasında Geç + Set the overlay options for the Crop tool Kırpma aracının kaplama seçeneklerini ayarla + Alt-click went to the desktop, which moves windows with Alt-drag. Set its window-move key to Super, or latch Alt in Window › Modifier Keys. Alt-tıklama masaüstüne gitti; masaüstü pencereleri Alt-sürükleyerek taşıyor. Pencere taşıma tuşunu Super olarak ayarlayın veya Pencere › Değiştirici Tuşlar'da Alt'ı sabitleyin. Color Picker (Layer Style Color) Renk Seçici (Katman Stili Rengi) Auto Hide Notifications Bildirimleri Otomatik Gizle Notification Duration (seconds) Bildirim Süresi (saniye) @@ -3662,18 +3664,18 @@ cameraRaw Whites Beyazlar Presentation Sunum Next Appearance Mode Sonraki Görünüm Modu Sync with system Sistemle senkronizasyon - Active Aktif + Active Etkin Color Picker (Solid Color) Renk Seçici (Düz Renk) - Straighten the image by drawing a line on it Üzerine bir çizgi çizerek görüntüyü düzeltin + Straighten the image by drawing a line on it Üzerine bir çizgi çizerek görüntüyü doğrultun Set additional Crop options Ek Kırpma seçeneklerini ayarlayın Show Cropped Area Kırpılmış Alanı Göster Enable Crop Shield Kırpma Kalkanını Etkinleştir - Match Canvas Maç Kanvası + Match Canvas Tuvalle Eşleştir Auto Adjust Opacity Opaklığı Otomatik Ayarla Crop Shield color Kırpma Kalkanı rengi Color Picker (Crop Shield Color) Renk Seçici (Kırpma Kalkanı Rengi) From Center Merkezden - Link radii Bağlantı yarıçapları + Link radii Yarıçapları bağla Star Ratio: Yıldız Oranı: Create Rectangle Dikdörtgen Oluştur Create Ellipse Elips Oluştur @@ -3683,37 +3685,37 @@ cameraRaw Whites Beyazlar Click to add a point, right-click to remove Nokta eklemek için tıklayın, kaldırmak için sağ tıklayın Some brush presets could not be loaded Bazı fırça ön ayarları yüklenemedi Retry saving presets Ön ayarları kaydetmeyi yeniden deneyin - Brush preset changes are not saved: {error} Fırça hazır ayarı değişiklikleri kaydedilmiyor: {error} + Brush preset changes are not saved: {error} Fırça ön ayarı değişiklikleri kaydedilmedi: {error} Keep this tab open to retain your brushes. Fırçalarınızı korumak için bu sekmeyi açık tutun. Browser storage is unavailable; brushes are session-only. Keep this tab open to retain them. Tarayıcı depolama alanı kullanılamıyor; fırçalar yalnızca oturum içindir. Bunları korumak için bu sekmeyi açık tutun. Saving brush presets… Keep this tab open until saving finishes. Fırça ön ayarları kaydediliyor… Kaydetme bitene kadar bu sekmeyi açık tutun. Reflect Yansıt - Glow Parıltı + Glow Işıma Negation Olumsuzluk XOR XOR - Color Burn (Paint.NET) Renk Yanması (Paint.NET) + Color Burn (Paint.NET) Renk Yakma (Paint.NET) Color Dodge (Paint.NET) Renk Soldurma (Paint.NET) - Pro Medium Profesyonel Orta - Studio Light Stüdyo Işığı + Pro Medium Pro Orta + Studio Light Stüdyo Açık Stroke Options Kontur Seçenekleri - Solid Katı + Solid Sürekli Dashed Kesikli Dotted Noktalı - Caps Kapaklar - Butt / Flat Popo / Düz + Caps Uçlar + Butt / Flat Düz Uç / Düz Miter Gönye Round Yuvarlak Bevel Eğim Miter limit Gönye sınırı Dashed line Kesikli çizgi - Dash Çizgi + Dash Tire Gap Boşluk - Dash / gap lengths × stroke width Çizgi / boşluk uzunlukları × kontur genişliği + Dash / gap lengths × stroke width Tire / boşluk uzunlukları × kontur genişliği Add pair Çift ekle Remove pair Çifti kaldır - Dash offset Çizgi ofseti + Dash offset Tire kaydırması Open paths use centered strokes Açık yollar ortalanmış konturlar kullanır - Use finite lengths and a positive pattern total Sonlu uzunluklar ve pozitif bir model toplamı kullanın + Use finite lengths and a positive pattern total Sonlu uzunluklar ve pozitif bir desen toplamı kullanın No subject found — try Object Selection or the Lasso Konu bulunamadı — Nesne Seçimi'ni veya Kement'i deneyin Quick Selection found nothing there Hızlı Seçim orada hiçbir şey bulamadı Object Selection found nothing there — try a tighter rectangle Nesne Seçimi burada hiçbir şey bulamadı; daha dar bir dikdörtgen deneyin @@ -3727,15 +3729,15 @@ cameraData Date Taken Çekim Tarihi cameraData Exposure Pozlama cameraData F-Stop Diyafram cameraData ISO Speed ISO Hızı -cameraData Focal Length Odak Uzaklığı -cameraData Focal Length (35 mm) Odak Uzaklığı (35 mm) +cameraData Focal Length Odak Uzunluğu +cameraData Focal Length (35 mm) Odak Uzunluğu (35 mm) cameraData Lens Lens Activate Panel Paneli Etkinleştir Change Panel Group Panel Grubunu Değiştir Change Panel Layout Panel Düzenini Değiştir Close Panel Paneli Kapat - Dock Panel Bağlantı İstasyonu Paneli - Float Panel Şamandıra Paneli + Dock Panel Paneli Sabitle + Float Panel Paneli Yüzdür Move Panel Paneli Taşı Group with Şununla grupla: Panel menu Panel menüsü @@ -3746,16 +3748,16 @@ cameraData Lens Lens Next Document Sonraki Belge Previous Document Önceki Belge W x H x Resolution G x Y x Çözünürlük - Front Image Ön Resim + Front Image Ön Görüntü Perspective Crop Tool Perspektif Kırpma Aracı - Drag a box or click four corners · drag the corners onto the edges of a skewed shape · {commit} commits · Esc cancels Bir kutuyu sürükleyin veya dört köşeyi tıklayın · köşeleri çarpık bir şeklin kenarlarına sürükleyin · {commit} taahhütleri · Esc iptalleri + Drag a box or click four corners · drag the corners onto the edges of a skewed shape · {commit} commits · Esc cancels Bir kutuyu sürükleyin veya dört köşeye tıklayın · köşeleri çarpık bir şeklin kenarlarına sürükleyin · {commit} onaylar · Esc iptal eder Artboard Tool Çalışma Yüzeyi Aracı - Make Portrait Portre Yap - Make Landscape Manzara Yap + Make Portrait Dikey Yap + Make Landscape Yatay Yap Add New Artboard Yeni Çalışma Yüzeyi Ekle Freeform Pen Tool Serbest Kalem Aracı Curvature Pen Tool Eğrilik Kalemi Aracı - Curve Fit: Eğri Fitili: + Curve Fit: Eğri Uyumu: Drag: draw freehand · Release on the start point: close Sürükleyin: serbest çizim yapın · Başlangıç noktasında bırakın: kapat Click: smooth point · Double-click: corner · Drag a point: move · Click first point: close · {key} finish Tıklama: düzgün nokta · Çift tıklama: köşe · Bir noktayı sürükleyin: taşıma · İlk noktayı tıklayın: kapat · {key} bitiş New Crop Preset… Yeni Kırpma Ön Ayarı… @@ -3775,12 +3777,12 @@ cameraData Lens Lens On Layers Katmanlarda Show Edge Kenarı Göster Show Original Orijinali Göster - F cycles the views; hold X to see the image F görünümleri döndürür; resmi görmek için X'i basılı tutun - Refine Edge Brush (R) Kenar Fırçasını İncelt (R) + F cycles the views; hold X to see the image F görünümleri döndürür; görüntüyü görmek için X'i basılı tutun + Refine Edge Brush (R) Kenarı Hassaslaştırma Fırçası (R) Expand Detection Area Algılama Alanını Genişlet Restore Original Edge Orijinal Kenarı Geri Yükle - Paint over hair or fur on the image; Alt paints the other mode Görüntünün üzerine saç veya kürkün üzerini boyayın; Alt diğer modu boyar - Clear Brush Strokes Fırça Darbelerini Temizle + Paint over hair or fur on the image; Alt paints the other mode Görüntüde saç veya kürk üzerine boyayın; Alt diğer modu boyar + Clear Brush Strokes Fırça Vuruşlarını Temizle Show rulers Cetvelleri göster Frame Tool Çerçeve Aracı Create a new rectangular frame Yeni bir dikdörtgen çerçeve oluşturun @@ -3796,7 +3798,7 @@ cameraData Lens Lens Transparency Threshold Saydamlık Eşiği Opacity Threshold Opaklık Eşiği (No neutral color exists for {mode} mode.) ({mode} modu için nötr renk bulunmuyor.) - Drag: draw freehand · {alt}-click: straight segment · Release on the start point: close Sürükle: serbest çiz · {alt}-tıkla: düz segment · Başlangıç noktasında bırak: kapat + Drag: draw freehand · {alt}-click: straight segment · Release on the start point: close Sürükle: serbest çiz · {alt}-tıkla: düz parça · Başlangıç noktasında bırak: kapat Fill with {mode}-neutral color (50% gray) {mode} nötr rengiyle doldur (%50 gri) Fill with {mode}-neutral color (black) {mode} nötr rengiyle doldur (siyah) Fill with {mode}-neutral color (white) {mode} nötr rengiyle doldur (beyaz) @@ -3814,7 +3816,7 @@ cameraData Lens Lens Light Red Açık Kırmızı Medium Blue Orta Mavi Merge Group Grubu Birleştir - Protect skin tones Ten tonlarını koru + Protect skin tones Cilt tonlarını koru Protect: Koru: Remove after each stroke Her vuruştan sonra kaldır Saving {percent} Kaydediliyor {percent} @@ -3885,9 +3887,9 @@ cameraData Lens Lens Object Finder Nesne Bulucu No object found there — drag a rectangle around it Orada nesne bulunamadı — çevresine bir dikdörtgen sürükleyin Drag to pan · Scroll to zoom · Double-click to fit Kaydırmak için sürükleyin · Yakınlaştırmak için kaydırın · Sığdırmak için çift tıklayın - Gradient Preset Options Gradyan Ön Ayarı Seçenekleri + Gradient Preset Options Degrade Ön Ayarı Seçenekleri Import .GRD .GRD İçe Aktar - Choose a gradient file (.grd). Bir gradyan dosyası (.grd) seçin. + Choose a gradient file (.grd). Bir degrade dosyası (.grd) seçin. Save Settings… Ayarları Kaydet… Load Settings… Ayarları Yükle… Save these settings as a Camera Raw .xmp file Bu ayarları Camera Raw .xmp dosyası olarak kaydet @@ -3998,6 +4000,7 @@ cameraData Lens Lens GPU Memory Full GPU Belleği Dolu The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Katmanların {needed} GPU belleğine ihtiyacı var ve en fazla {budget} kullanabilirler; bu yüzden tüm belgeyi yeniden çizen düzenlemeler bunu CPU'da yapar. GPU Belleği'ni ayarlamak için tıklayın. GPU memory budget: {budget} GPU bellek bütçesi: {budget} + Graphics memory: {size} Grafik belleği: {size} This document's layers: {needed} of {budget} for layers Bu belgenin katmanları: katmanlar için {budget} içinden {needed} This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Bu belgenin katmanlarının {needed} belleğe ihtiyacı var ama en fazla {budget} kullanabilirler: tüm belgenin yeniden çizimi CPU'yu kullanır GPU Memory (MB, 0 = Automatic) GPU Belleği (MB, 0 = Otomatik) @@ -4027,3 +4030,5 @@ cameraData Lens Lens # Graphics Adapter preference (#1885) GPU adapter GPU bağdaştırıcısı +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Önce açık eylem adımı iletişim kutusunu onaylayın veya iptal edin diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index a576954077..ef28bb65cd 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -3969,6 +3969,7 @@ curves Smooth Згладити GPU Memory Full Пам'ять GPU заповнена The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Шарам потрібно {needed} пам'яті GPU, а займати вони можуть {budget}, тому зміни, що перемальовують увесь документ, виконуються на CPU. Натисніть, щоб задати «Пам'ять GPU». GPU memory budget: {budget} Бюджет пам'яті GPU: {budget} + Graphics memory: {size} Відеопам'ять: {size} This document's layers: {needed} of {budget} for layers Шари цього документа: {needed} з {budget} для шарів This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Шарам цього документа потрібно {needed}, але займати вони можуть {budget}: увесь документ перемальовується на CPU GPU Memory (MB, 0 = Automatic) Пам'ять GPU (МБ, 0 = автоматично) @@ -4008,3 +4009,5 @@ curves Smooth Згладити # Graphics Adapter preference (#1885) GPU adapter Адаптер GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Спочатку підтвердьте або скасуйте відкритий діалог кроку операції diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 3a95851115..f5262075c5 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -3759,6 +3759,7 @@ curves Smooth Làm mượt GPU Memory Full Bộ nhớ GPU đầy The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. Các lớp cần {needed} bộ nhớ GPU và chỉ được dùng {budget}, nên những chỉnh sửa vẽ lại toàn bộ tài liệu sẽ làm trên CPU. Nhấp để đặt Bộ nhớ GPU. GPU memory budget: {budget} Ngân sách bộ nhớ GPU: {budget} + Graphics memory: {size} Bộ nhớ đồ họa: {size} This document's layers: {needed} of {budget} for layers Các lớp của tài liệu này: {needed} trên {budget} dành cho lớp This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU Các lớp của tài liệu này cần {needed} nhưng chỉ được dùng {budget}: vẽ lại toàn bộ tài liệu dùng CPU GPU Memory (MB, 0 = Automatic) Bộ nhớ GPU (MB, 0 = Tự động) @@ -3790,3 +3791,5 @@ curves Smooth Làm mượt # Graphics Adapter preference (#1885) GPU adapter Bộ điều hợp GPU +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first Hãy xác nhận hoặc hủy hộp thoại bước hành động đang mở trước diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 4c3611ba60..fe873c34c6 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -2902,6 +2902,7 @@ curves Smooth 平滑 GPU Memory Full GPU 内存已满 The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. 图层需要 {needed} GPU 内存,但只能占用 {budget},因此重绘整个文档的编辑会在 CPU 上进行。点击以设置 GPU 内存。 GPU memory budget: {budget} GPU 内存预算:{budget} + Graphics memory: {size} 显存:{size} This document's layers: {needed} of {budget} for layers 此文档的图层:图层可用 {budget} 中的 {needed} This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU 此文档的图层需要 {needed},但只能占用 {budget}:整个文档的重绘使用 CPU GPU Memory (MB, 0 = Automatic) GPU 内存(MB,0 = 自动) @@ -2934,3 +2935,5 @@ curves Smooth 平滑 # Graphics Adapter preference (#1885) GPU adapter GPU 适配器 +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first 请先确认或取消打开的动作步骤对话框 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index f19dd6e379..9bf3ad0263 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -2887,6 +2887,7 @@ curves Smooth 平滑 GPU Memory Full GPU 記憶體已滿 The layers need {needed} of GPU memory and may hold {budget}, so edits that redraw the whole document do it on the CPU. Click to set GPU Memory. 圖層需要 {needed} GPU 記憶體,但只能佔用 {budget},因此重繪整份文件的編輯會在 CPU 上進行。按一下以設定 GPU 記憶體。 GPU memory budget: {budget} GPU 記憶體預算:{budget} + Graphics memory: {size} 顯示記憶體:{size} This document's layers: {needed} of {budget} for layers 此文件的圖層:圖層可用 {budget} 中的 {needed} This document's layers need {needed} but may hold {budget}: whole-document redraws use the CPU 此文件的圖層需要 {needed},但只能佔用 {budget}:整份文件的重繪使用 CPU GPU Memory (MB, 0 = Automatic) GPU 記憶體(MB,0 = 自動) @@ -2919,3 +2920,5 @@ curves Smooth 平滑 # Graphics Adapter preference (#1885) GPU adapter GPU 介面卡 +# Actions: a step dialog holds a suspended recording (#7365) + Confirm or cancel the open action step dialog first 請先確認或取消開啟中的動作步驟對話框 diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index 6f54ed1616..10591b0f22 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -91,6 +91,7 @@ pub mod eraser_ui; pub mod export_dialog; pub mod eyedropper_ui; pub mod field_tab; +pub mod field_wheel; pub mod file_dialog; pub mod file_open; pub mod file_ui; @@ -1232,6 +1233,7 @@ impl PhotocraftApp { return Err(if self.ui.status.is_empty() { tl!("The transform couldn't be applied.").into() } else { self.ui.status.clone() }); } } + actions::suspended_guard(self, id)?; if let Some(result) = panel_docking::command(self, id, ¶ms) { return result; } @@ -2201,6 +2203,8 @@ impl eframe::App for PhotocraftApp { self.stroke_trace.cpu_prev(frame.info().cpu_usage); // A text field's right-click menu, before any field is drawn (text_field_menu.rs). text_field_menu::show(&ctx); + // The wheel goes to a focused value field before the canvas or a panel sees it (#5473). + field_wheel::begin_frame(&ctx); // Each painting tool keeps its own brush (#218), so switch the active tool's brush in // before anything this frame reads it (the cursor, the options bar, a stroke). paint_mouse::sync_tool_brush(self); @@ -3077,6 +3081,9 @@ mod blend_dropdown_wheel_tests; #[cfg(test)] mod options_bar_mode_wheel_tests; +#[cfg(test)] +mod field_wheel_app_tests; + #[cfg(test)] mod dropdown_press_tests; diff --git a/crates/ui-egui/src/rulers.rs b/crates/ui-egui/src/rulers.rs index a5f4bb0fd1..98a56129cf 100644 --- a/crates/ui-egui/src/rulers.rs +++ b/crates/ui-egui/src/rulers.rs @@ -213,6 +213,30 @@ pub fn draw_guides(app: &PhotocraftApp, painter: &egui::Painter, xf: &ViewXform, } } +/// The position readout of a guide being dragged: `X:` for a vertical guide, `Y:` for a horizontal +/// one, measured from the ruler zero point in the ruler unit. Pixels keep one decimal, as +/// Photoshop's "X: 103.2 px". +pub fn guide_drag_readout(app: &PhotocraftApp, d: GuideDrag) -> Option<(&'static str, String)> { + let doc = &app.session.active()?.doc; + let ur = &app.session.prefs().units_and_rulers; + let axis = usize::from(!d.vertical); + let px = d.pos - doc.ruler_origin.get(axis).copied().unwrap_or(0.0); + let extent = if d.vertical { doc.size.width } else { doc.size.height } as f64; + let value = match ur.rulers { + Unit::Pixels => photocraft_engine::prefs::fmt_decimals(px, 1), + _ => ur.format(px, f64::from(doc.resolution_dpi), extent), + }; + Some((if d.vertical { "X:" } else { "Y:" }, format!("{value} {}", ur.rulers.suffix()))) +} + +/// Draw [`guide_drag_readout`] beside the pointer while a guide is dragged. +pub fn draw_guide_drag_readout(app: &PhotocraftApp, ctx: &egui::Context) { + let (Some(d), Some(at)) = (app.guide_drag, ctx.pointer_latest_pos()) else { return }; + if let Some((label, value)) = guide_drag_readout(app, d) { + crate::canvas::draw_value_readout(app, ctx, "guide-drag-readout", at, [label], [value]); + } +} + /// Existing guide under a document point (within 4 screen px). pub fn guide_at(app: &PhotocraftApp, x: f64, y: f64) -> Option<(bool, usize)> { // Hidden canvas guides are not interactive: the Move tool must reach the layer below. @@ -737,6 +761,123 @@ mod tests { assert!(h.query_by_label("17").is_some(), "horizontal guide: Y readout"); } + /// A dragged guide shows its position beside the pointer: X for a vertical guide, Y for a + /// horizontal one, from the zero point, in the ruler unit (pixels to one decimal). + #[test] + fn guide_drag_shows_its_position_beside_the_pointer() { + use egui_kittest::kittest::Queryable; + let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default()); + app.run("file.new", json!({"width": 200, "height": 100})).unwrap(); + let v = GuideDrag { vertical: true, index: Some(0), pos: 103.24, press: 50.0 }; + assert_eq!(guide_drag_readout(&app, v), Some(("X:", "103.2 px".to_owned()))); + let h = GuideDrag { vertical: false, index: None, pos: 40.0, press: 40.0 }; + assert_eq!(guide_drag_readout(&app, h), Some(("Y:", "40 px".to_owned()))); + app.run("view.setRulerOrigin", json!({"x": 3.0, "y": 10.0})).unwrap(); + assert_eq!(guide_drag_readout(&app, h), Some(("Y:", "30 px".to_owned())), "from the zero point"); + app.run("view.resetRulerOrigin", json!({})).unwrap(); + app.run("prefs.set", json!({"path": "unitsAndRulers.rulers", "value": "percent"})).unwrap(); + assert_eq!(guide_drag_readout(&app, GuideDrag { vertical: true, index: None, pos: 103.0, press: 0.0 }).map(|r| r.0), Some("X:")); + app.run("prefs.set", json!({"path": "unitsAndRulers.rulers", "value": "pixels"})).unwrap(); + + app.guide_drag = Some(v); + let mut h = egui_kittest::Harness::builder().with_size(vec2(300.0, 200.0)).build_ui_state(|ui, app| draw_guide_drag_readout(app, ui.ctx()), app); + h.event(egui::Event::PointerMoved(pos2(50.0, 50.0))); + h.run_steps(2); + assert!(h.query_by_label("X:").is_some() && h.query_by_label("103.2 px").is_some()); + h.state_mut().guide_drag = None; + h.run_steps(2); + assert!(h.query_by_label("X:").is_none(), "no readout once the drag ends"); + } + + type AppHarness = egui_kittest::Harness<'static, PhotocraftApp>; + + /// The real canvas on a 400 × 300 document with a horizontal guide at y = 100, at 100 %, + /// with the Move tool and snapping off. + fn canvas_harness(rulers: bool) -> AppHarness { + let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default()); + app.run("file.new", json!({"width": 400, "height": 300})).unwrap(); + app.run("view.newGuide", json!({"orientation": "horizontal", "position": 100})).unwrap(); + app.sync_views(); + app.ui.extras.rulers = rulers; + app.ui.extras.snap = false; + app.ui.tool = crate::state::Tool::Move; + let mut h = egui_kittest::Harness::builder().with_size(vec2(800.0, 600.0)).build_ui_state( + |ui, app: &mut PhotocraftApp| { + if !ui.ctx().fonts(|f| f.families().contains(&egui::FontFamily::Name("medium".into()))) { + return; + } + egui::CentralPanel::default().show(ui, |ui| crate::canvas::document_area(app, ui)); + }, + app, + ); + PhotocraftApp::setup_context(&h.ctx, crate::theme::ThemeKind::ALL[0]); + h.run_steps(4); + let v = &mut h.state_mut().ui.views[0]; + (v.zoom, v.center, v.fit_pending) = (1.0, [200.0, 150.0], false); + h.run_steps(2); + h + } + + /// Screen point of document point `(x, y)` in [`canvas_harness`]. + fn canvas_at(h: &AppHarness, x: f32, y: f32) -> Pos2 { + let app = h.state(); + let v = &app.ui.views[0]; + let rect = content_rect(app, app.last_canvas_rect); + ViewXform { rect, zoom: v.zoom, center: v.center, flip: false, rotation: 0.0, aspect: 1.0 }.to_screen(x, y) + } + + /// Moving a horizontal guide with the Move tool on the real canvas: `Y:` follows the pointer. + #[test] + fn moving_a_guide_on_the_canvas_shows_its_y() { + use egui_kittest::kittest::Queryable; + let mut h = canvas_harness(false); + let at = canvas_at; + let press = at(&h, 200.0, 100.0); + h.event(egui::Event::PointerMoved(press)); + h.run_steps(1); + h.event(egui::Event::PointerButton { pos: press, button: egui::PointerButton::Primary, pressed: true, modifiers: egui::Modifiers::NONE }); + h.run_steps(1); + for y in [110.0, 125.0, 140.0] { + h.event(egui::Event::PointerMoved(at(&h, 210.0, y))); + h.run_steps(2); + } + assert!(h.state().guide_drag.is_some_and(|d| !d.vertical), "a horizontal guide is being dragged"); + assert!(h.query_by_label("Y:").is_some() && h.query_by_label("140 px").is_some(), "Y readout at the guide"); + assert!(h.query_by_label("X:").is_none()); + let up = at(&h, 210.0, 140.0); + h.event(egui::Event::PointerButton { pos: up, button: egui::PointerButton::Primary, pressed: false, modifiers: egui::Modifiers::NONE }); + h.run_steps(2); + assert_eq!(h.state().session.active().unwrap().doc.guides.horizontal, vec![140.0]); + assert!(h.query_by_label("Y:").is_none(), "gone after the drop"); + } + + /// A guide dragged out of the top ruler: in each frame the readout shows where the guide is + /// after that frame's pointer move (the ruler handles the drag after the canvas is drawn), and + /// the frame that drops it shows none. + #[test] + fn ruler_drag_readout_is_current_every_frame() { + use egui_kittest::kittest::Queryable; + let mut h = canvas_harness(true); + let from = pos2(canvas_at(&h, 200.0, 0.0).x, h.state().last_canvas_rect.top() + RULER / 2.0); + h.event(egui::Event::PointerMoved(from)); + h.run_steps(1); + h.event(egui::Event::PointerButton { pos: from, button: egui::PointerButton::Primary, pressed: true, modifiers: egui::Modifiers::NONE }); + h.run_steps(1); + for y in [40.0, 60.0, 75.0] { + h.event(egui::Event::PointerMoved(canvas_at(&h, 200.0, y))); + h.run_steps(1); + let pos = h.state().guide_drag.map(|d| d.pos); + assert_eq!(pos, Some(f64::from(y)), "the drag follows the pointer"); + assert!(h.query_by_label(&format!("{y} px")).is_some(), "readout at {y} in the same frame"); + } + let up = canvas_at(&h, 200.0, 75.0); + h.event(egui::Event::PointerButton { pos: up, button: egui::PointerButton::Primary, pressed: false, modifiers: egui::Modifiers::NONE }); + h.run_steps(1); + assert!(h.state().guide_drag.is_none()); + assert!(h.query_by_label("Y:").is_none(), "no readout in the frame that drops the guide"); + assert!(h.state().session.active().unwrap().doc.guides.horizontal.contains(&75.0), "the guide lands at y = 75"); + } + #[test] fn percentage_grid_spacing_uses_both_canvas_dimensions() { let mut g = GuidesGridAndSlices { grid_unit: Unit::Percent, gridline_every: 20.0, subdivisions: 2, ..Default::default() }; diff --git a/crates/ui-egui/src/widgets.rs b/crates/ui-egui/src/widgets.rs index c973d710db..84b40a0172 100644 --- a/crates/ui-egui/src/widgets.rs +++ b/crates/ui-egui/src/widgets.rs @@ -587,7 +587,20 @@ fn value_field_box( // Small ranges (gamma 0.01–9.99, 0–1 centres) need two decimals and a finer drag, like Photoshop. let fine = range.end() - range.start() <= 10.0; let (lo, hi) = (*range.start(), *range.end()); - let (step, grid) = arrow_step(ui, slot.id, if fine { 0.01 } else { 1.0 }); + // The field's id is only known once it's drawn: last frame's, saved under `slot` below. + let focused = ui.data(|d| d.get_temp::(slot.id)).filter(|id| ui.memory(|m| m.has_focus(*id))); + let unit = if fine { 0.01 } else { 1.0 }; + let (step, grid) = arrow_step(ui, slot.id, unit); + // The wheel steps it as the arrow keys do (#5473), focused or under the pointer. + let notches = crate::field_wheel::notches(ui, slot.id, focused.is_some(), rect); + if notches != 0.0 + && let Some(id) = focused + && ui.data(|d| d.get_temp(id.with("arithmetic"))).unwrap_or(false) + { + // A typed sum works itself out first, as before an arrow step. + ui.memory_mut(|m| m.surrender_focus(id)); + } + let step = step + notches * unit; // new_child (not scope_builder): a scope would move the parent cursor back to the child rect. let mut child = ui.new_child(egui::UiBuilder::new().max_rect(field)); let mut resp = { @@ -643,16 +656,26 @@ fn value_field_box( // Round to 4 decimal places, so repeated 0.1 steps don't leave float errors. let v = (v * 1e4).round() / 1e4; // `f32::clamp` panics on a reversed or NaN range, which `DragValue::range` accepts. - *value = if lo <= hi { v.clamp(lo, hi) } else { v }; - // Only take focus back after a typed sum gave it up: re-requesting it while held resets - // the field's arrow-key filter next frame, and a held arrow then moves focus away (#5474). - if !ui.memory(|m| m.has_focus(resp.id)) { - ui.memory_mut(|m| m.request_focus(resp.id)); + let v = if lo <= hi { v.clamp(lo, hi) } else { v }; + // A wild wheel delta must not leave infinity in the field. + if v.is_finite() { + *value = v; + } + // A wheel step over a field without focus leaves the focus where it is. + if focused.is_some() { + // Only take focus back after a typed sum gave it up: re-requesting it while held resets + // the field's arrow-key filter next frame, and a held arrow then moves focus away (#5474). + if !ui.memory(|m| m.has_focus(resp.id)) { + ui.memory_mut(|m| m.request_focus(resp.id)); + } + // The text stays selected, as in Photoshop: typing after a step replaces the value. + crate::field_tab::select_all(ui.ctx(), resp.id, &if fine { fmt_num2(f64::from(*value)) } else { fmt_num(f64::from(*value)) }); } - // The text stays selected, as in Photoshop: typing after a step replaces the value. - crate::field_tab::select_all(ui.ctx(), resp.id, &if fine { fmt_num2(f64::from(*value)) } else { fmt_num(f64::from(*value)) }); resp.mark_changed(); } + if ui.memory(|m| m.has_focus(resp.id)) { + crate::field_wheel::set_focused(ui.ctx(), resp.id, slot.id); + } (resp, rect) } @@ -989,11 +1012,6 @@ pub(crate) fn wheel_notches_of(ui: &Ui, id: egui::Id, hovered: bool, shift_notch if !hovered { return 0.0; } - let acc_id = id.with("wheel-acc"); - let mut acc: f32 = ui.data(|d| d.get_temp(acc_id)).unwrap_or(0.0); - let per_line = ui.ctx().options(|o| o.input_options.line_scroll_speed); - let per_line = if per_line.is_finite() && per_line > 0.0 { per_line } else { 40.0 }; - let mut notches = 0.0; let wheel: Vec<(egui::MouseWheelUnit, Vec2, bool)> = ui.input(|i| { i.events .iter() @@ -1003,7 +1021,17 @@ pub(crate) fn wheel_notches_of(ui: &Ui, id: egui::Id, hovered: bool, shift_notch }) .collect() }); - for (unit, delta, shift) in wheel { + count_notches(ui, id.with("wheel-acc"), &wheel, shift_notches) +} + +/// Whole notches in `wheel` (unit, delta, Shift held), a notch with Shift counting +/// `shift_notches`; fractions carry over in egui memory under `acc_id`. +pub(crate) fn count_notches(ui: &Ui, acc_id: egui::Id, wheel: &[(egui::MouseWheelUnit, Vec2, bool)], shift_notches: f32) -> f32 { + let mut acc: f32 = ui.data(|d| d.get_temp(acc_id)).unwrap_or(0.0); + let per_line = ui.ctx().options(|o| o.input_options.line_scroll_speed); + let per_line = if per_line.is_finite() && per_line > 0.0 { per_line } else { 40.0 }; + let mut notches = 0.0; + for &(unit, delta, shift) in wheel { // Some systems turn Shift+wheel into a horizontal scroll. let d = if delta.y != 0.0 { delta.y } else { delta.x }; acc += match unit { diff --git a/docs/file-format-parity.md b/docs/file-format-parity.md index 8cccdd1bea..0c55ff601d 100644 --- a/docs/file-format-parity.md +++ b/docs/file-format-parity.md @@ -1,6 +1,6 @@ # File-format parity -> **Last reviewed:** 2026-10-12 · **Last updated:** 2026-10-15 · **Change:** minor (Photoshop mixed-order TIFF type geometry, #4758; DDS textures save: uncompressed or BC1–BC3, optional mip chain, DDS Options in Save As (#1327); PSD smart filters: 45 filters (31 more: Blur, Surface Blur, Smart Sharpen, Diffuse, Wind, Offset, Mezzotint, Clouds, Difference Clouds, Fibers, Lens Flare and others) plus Hue/Saturation and Perspective Warp mapped both ways, #6296, #6298, #6300, #6302, #6304, #6314, #6316, #6267, #6268, FILE-215-2; large-file fixtures: a 20 MP layered PSD, a 150-layer layout, a 2 GB PSD and a 4.4 GB PSB generated at test time and round-tripped, FILE-216-2 done, #5107; earlier: PNG `sTER` stereo pairing kept on save, #6063; PDF write one flattened page via Save As / Save a Copy / CLI, #3401; CMYK Invert, Posterize and Threshold on the inks; smart filter masks on PSD open and save; Photoshop-oracle floor 188/258; lossy DNG, compression 34892, decodes with its levels and LinearizationTable applied to the stored 8-bit samples, FILE-215-11; CMYK Hue/Saturation and Color Balance keep the black ink; CMYK Posterize on the stored values, psd-tools oracle floor 242/309; CMYK adjustment layers composite on the document's inks; Photoshop-oracle floor 165/258; CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; modern Brightness/Contrast's brightness curve; Photoshop-oracle floor 151/258; Lab documents composite on their stored L, a, b; Photoshop-oracle floor 152/258; Levels on whole levels at every step with Photoshop's shadow toe; Photoshop-oracle floor 146/258, psd-tools 238/309; 32-bit adjustments unclipped; Photoshop-oracle floor 149/258; mask feathers blur with their exact variance; Threshold splits on Photoshop's luminosity; a pass-through clipping base with an adjustment renders isolated; psd-tools oracle floor 240/309; 16-bit Posterize as Photoshop bins it; psd-tools oracle floor 241/309; Gradient Map luminosity; Photoshop-oracle floor 147/258; PSD: `Mt16`/`Mt32` merged transparency read; palette PNGs open in Indexed Color mode, #4804; earlier: CMYK Invert, Posterize and Threshold on the inks; 16-bit Lab Invert; Photoshop-oracle floor 145/258; `.atn` import maps 112 events; DDS textures open, #1327; DPX read and write, #1049; #2465 fixed: CS2 placed layers with only a `PlLd` block open their contents; Photoshop Actions `.atn` read and write; `.shc` contour files read and write; earlier the same day: indexed BMP palette mode; Save keeps a JPEG's quality and a WebP's encoding) · **Target:** Adobe Photoshop 2026 +> **Last reviewed:** 2026-10-12 · **Last updated:** 2026-10-17 · **Change:** minor (the Nikon D4 white level follows the sample depth (12 and 14 bit), #5978; Apply Layer Comp action mapping, #7101; earlier: earlier: PDF write one flattened page via Save As / Save a Copy / CLI, #3401; Photoshop mixed-order TIFF type geometry, #4758; DDS textures save: uncompressed or BC1–BC3, optional mip chain, DDS Options in Save As (#1327); PSD smart filters: 45 filters (31 more: Blur, Surface Blur, Smart Sharpen, Diffuse, Wind, Offset, Mezzotint, Clouds, Difference Clouds, Fibers, Lens Flare and others) plus Hue/Saturation and Perspective Warp mapped both ways, #6296, #6298, #6300, #6302, #6304, #6314, #6316, #6267, #6268, FILE-215-2; large-file fixtures: a 20 MP layered PSD, a 150-layer layout, a 2 GB PSD and a 4.4 GB PSB generated at test time and round-tripped, FILE-216-2 done, #5107; earlier: PNG `sTER` stereo pairing kept on save, #6063; PDF write one flattened page via Save As / Save a Copy / CLI, #3401; CMYK Invert, Posterize and Threshold on the inks; smart filter masks on PSD open and save; Photoshop-oracle floor 188/258; lossy DNG, compression 34892, decodes with its levels and LinearizationTable applied to the stored 8-bit samples, FILE-215-11; CMYK Hue/Saturation and Color Balance keep the black ink; CMYK Posterize on the stored values, psd-tools oracle floor 242/309; CMYK adjustment layers composite on the document's inks; Photoshop-oracle floor 165/258; CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; modern Brightness/Contrast's brightness curve; Photoshop-oracle floor 151/258; Lab documents composite on their stored L, a, b; Photoshop-oracle floor 152/258; Levels on whole levels at every step with Photoshop's shadow toe; Photoshop-oracle floor 146/258, psd-tools 238/309; 32-bit adjustments unclipped; Photoshop-oracle floor 149/258; mask feathers blur with their exact variance; Threshold splits on Photoshop's luminosity; a pass-through clipping base with an adjustment renders isolated; psd-tools oracle floor 240/309; 16-bit Posterize as Photoshop bins it; psd-tools oracle floor 241/309; Gradient Map luminosity; Photoshop-oracle floor 147/258; PSD: `Mt16`/`Mt32` merged transparency read; palette PNGs open in Indexed Color mode, #4804; earlier: CMYK Invert, Posterize and Threshold on the inks; 16-bit Lab Invert; Photoshop-oracle floor 145/258; `.atn` import maps 112 events; DDS textures open, #1327; DPX read and write, #1049; #2465 fixed: CS2 placed layers with only a `PlLd` block open their contents; Photoshop Actions `.atn` read and write; `.shc` contour files read and write; earlier the same day: indexed BMP palette mode; Save keeps a JPEG's quality and a WebP's encoding) · **Target:** Adobe Photoshop 2026 Every format Photoshop 2026 (27.11.0) reads or writes, with PhotoCraft's support, fidelity and tests. Photoshop's list comes from its `Info.plist` `CFBundleDocumentTypes`, the PiPL read/write @@ -66,7 +66,7 @@ supports many more, including CR3). | DNG (incl. LJPEG, lossy JPEG and JPEG XL tiles) | yes | 2026-10-13: lossy DNG (DNG 1.4 compression 34892: 8-bit baseline JPEG tiles or strips, CFA and LinearRaw, partial edge tiles) decodes to the stored samples, which go through LinearizationTable / BlackLevel / WhiteLevel (default 255) like every other depth; `crates/raw/tests/dng.rs` `lossy_jpeg_*` (FILE-215-11, lossy DNG part; no lossy file in the raw corpus yet) | | Canon CR2 | yes | | | Canon CR3 | detected, unsupported | `crates/raw/src/lib.rs:219` | -| Nikon NEF/NRW (lossless, lossy) | yes; "lossy after split" no | #50; D5100 and D90 image areas measured (14-bit NEFs); [validation](nikon-nef-development.md) | +| Nikon NEF/NRW (lossless, lossy) | yes; "lossy after split" no | #50; D5100 and D90 image areas measured (14-bit NEFs); D4 profile levels follow the sample depth (12 and 14 bit); [validation](nikon-nef-development.md) | | Sony ARW/SR2/SRF (incl. compressed) | yes | | | Panasonic RW2, Pentax PEF | yes | | | Olympus ORF | uncompressed only | | @@ -131,7 +131,7 @@ remaining gaps in #1606 stay tracked with per-sample corpus ceilings. | LUTs `.cube` / `.3dl` / `.look` | R/W (Export Color Lookup) | R/W / R / R | `cms/src/lutfile.rs` | | Keyboard shortcuts `.kys` | R/W | R/W | `engine/src/kys.rs` (`write`: Edit › Keyboard Shortcuts › Export…, rows carry our id; Photoshop reading our files is unverified) | | ICC profiles | R | R | Own CMS | -| Actions `.atn` | R/W | R/W | `psd/src/atn.rs` (version 16 sets, exact round trip), `engine/src/atn_cmds.rs` (112 Photoshop events ↔ commands; other steps kept verbatim). Panel menu, CLI `batch --actions set.atn`, `actions.load`/`actions.save`. Photoshop 5-era version 12 files unsupported (AUTO-219-2) | +| Actions `.atn` | R/W | R/W | `psd/src/atn.rs` (version 16 sets, exact round trip), `engine/src/atn_cmds.rs` (Photoshop events ↔ commands, including Apply Layer Comp by name, #7101; other steps kept verbatim). Panel menu, CLI `batch --actions set.atn`, `actions.load`/`actions.save`. Photoshop 5-era version 12 files unsupported (AUTO-219-2) | | Styles `.asl` | R/W | no | #1693 | | Contours `.shc` | R/W | R/W | `psd/src/shc.rs`; Contour Editor Load…/Save… (FILE-215-15). No user contour library; not yet checked against a Photoshop-written file | | Custom shapes `.csh`, tool presets `.tpl` | R/W | no | | @@ -142,6 +142,7 @@ remaining gaps in #1606 stay tracked with per-sample corpus ceilings. | Date | Change | Summary | |---|---|---| +| 2026-10-17 | minor | `.atn`: Apply Layer Comp by name maps to `layerComp.apply` and exports as `applyComp` (#7101) | | 2026-10-15 | minor | PSD smart filters: Clouds, Difference Clouds, Fibers and Lens Flare open as editable filters with their seeds, colours and lens, and save like Photoshop (checked against a Photoshop 27 file); render filters on a smart object work within the object, so a flare sits where Photoshop puts it | | 2026-10-15 | minor | DDS textures save (#1327): uncompressed or BC1/BC2/BC3 (DXT1/3/5) from a clean-room block encoder, optional box-filtered mip chain, legacy header; DDS Options in Save As and Save a Copy, `ddsCompression`/`ddsMipmaps` for scripts, the CLI and MCP | | 2026-10-16 | minor | PSD smart filters: Perspective Warp (`perspectiveWarpTransform`: `vertices`, `warpedVertices`, `quads` of vertex indices, document pixels) opens as `layer.smartObjects.perspectiveWarp`, one plane per quad, and re-renders warped; save writes the original item with only the geometry rewritten, or a new one in Photoshop's layout; inconsistent descriptors stay verbatim (FILE-215-2, #6268) | @@ -158,6 +159,7 @@ remaining gaps in #1606 stay tracked with per-sample corpus ceilings. | 2026-10-15 | minor | PSD guides: image resource 1092 (guides v2) gives guides their own colours on import; 1092 and 1097 (guide GUIDs) are written back only while they still describe the document's guides, so an edit no longer leaves Photoshop a stale second guide list (#5966) | | 2026-10-15 | minor | Bevel & Emboss Gloss Contour › Anti-aliased (`antialiasGloss`) is read and written, set by `glossAntiAlias` and shown in the Layer Style dialog; a PSD whose bevel is edited no longer loses it. Rendering still ignores contour anti-aliasing, as for the other effects' contours | | 2026-10-15 | minor | Stroke › Overprint (`overprint`) is read and written, set by the stroke command's `overprint` and shown in the Layer Style dialog; an edited stroke no longer drops it. Rendering ignores it for now | +| 2026-10-14 | minor | Nikon NEF: the D4 profile's saturation level follows the sample depth (15520 at 14 bits, 3880 at 12), so 12-bit D4 files open as bright as their 14-bit twins instead of 2.6 stops darker (#5978) | | 2026-10-14 | minor | PSD smart filter masks: Photoshop stores a smart object's filtered pixels without its filter mask and mixes the unfiltered ones (`FEid`) back in; import now mixes them and export writes them that way, so sf-filter-mask-hard, -gradient and sf-stack-blend-and-mask pass; Photoshop-oracle floor 185 → 188 of 258 | | 2026-10-13 | minor | Lossy DNG (compression 34892) decodes: 8-bit baseline JPEG tiles and strips, CFA and LinearRaw, partial edge tiles; the stored values take the normal levels and LinearizationTable (FILE-215-11, lossy DNG part) | | 2026-10-14 | minor | Corpus floors raised to the measured results of the CMYK, Lab, 32-bit, Levels, Threshold, Posterize, feather and pass-through fixes landed together: Photoshop-authored 165 → 185 of 258, io 146 → 148 of 170, psd-tools 242 → 249 of 309 | diff --git a/docs/gaps.md b/docs/gaps.md index 9b281d6786..b00f533785 100644 --- a/docs/gaps.md +++ b/docs/gaps.md @@ -1,6 +1,6 @@ # Where PhotoCraft falls short of Photoshop -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-18 · **Change:** minor (G9: Preferences › File Handling › Save in Background takes effect, #6207, 24 of 169 preferences do nothing; G7: Content-Aware Move previews every selection the command takes, coarse then exact, TOOL-213-4 done, #6680; G4: Pattern Stamp and Background Eraser draw live, TOOL-213-7; G9: Animated Zoom pref read: holding the Zoom tool zooms continuously, #6210, prefs that do nothing 25 of 166; G2: a cancelled 24 MP Gaussian Blur job stops in at most 44 ms, P25 under its 200 ms budget in local runs, baseline not re-run, #6205; G1: generated large-file fixtures, a 4.38 GB PSB opens on Windows through io, FILE-216-2 done, #5107; G9: fill and adjustment layers copy and paste whole, #2344; G1: smart filter masks show on PSD open, Photoshop-oracle floor 188/258; G10: DPX read and write, #1049, Cineon read; G1: CMYK Hue/Saturation and Color Balance keep the black ink; G1: CMYK Posterize on the stored values, psd-tools oracle floor 242/309; G1: CMYK adjustment layers composite on the document's inks, Photoshop-oracle floor 165/258; G1: CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; G1: modern Brightness/Contrast's brightness curve matches Photoshop, Photoshop-oracle floor 151/258; G1: Lab documents composite on their stored L, a, b, Photoshop-oracle floor 152/258; G1: Levels on whole levels at every step, Photoshop-oracle floor 146/258, psd-tools 238/309; G1: 32-bit Brightness/Contrast legacy, Channel Mixer, Photo Filter and Black & White tint unclipped as in Photoshop, Photoshop-oracle floor 149/258; G1: mask feathers blur with their exact variance, psd-tools oracle floor 240/309; G1: Threshold splits on Photoshop's luminosity, psd-tools oracle floor 241/309; G1: pass-through clipping base with an adjustment renders isolated, psd-tools oracle floor 240/309; G1: 16-bit Posterize as Photoshop bins it, psd-tools oracle floor 241/309; G1: Gradient Map driven by the W3C luminosity, Photoshop-oracle floor 147/258; G7: Field Blur's on-canvas pins, #3373; G4: Hue Jitter amount track, #3825 partial; G4: minimum field interaction, #3825 partial; G1: CMYK Invert, Posterize and Threshold on the inks, 16-bit Lab Invert; Photoshop-oracle floor 145/258; G11: `.atn` import maps 112 events: Select and Mask, Filter Gallery Spatter, Ripple, Crystallize, Pattern Fill layers, mask targeting, Step Backward, nudges in points, Bitmap mode; G5: Free Transform H/V skew fields; G9: toolbar tool shortcut editing; refreshed against main: G2, G5, G7, G9, G10, G13, G14, G17 items that landed; G10: DPX read and write, #1049; G4: checkbox-only Brush Settings rows; G11: Load/Save Actions `.atn` landed, AUTO-219-2 partial; G5: hold-a-key spring-loaded tools landed, #2672; G1: #2465 fixed; stale missing-tool rows corrected: Color Replacement, Red Eye and Add/Delete Anchor Point are live tools, so only Art History Brush is missing; no estimate changed) · **Target:** Adobe Photoshop 2026 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-19 · **Change:** minor (G14: the Nikon D4 white level follows the sample depth, so 12-bit D4 NEFs no longer open 2.6 stops dark, #5978; G14: a Nikon NEF's Adobe RGB preview is read as Adobe RGB (maker-note ColorSpace 0x001E), #5987; Apply Layer Comp action mapping, #7101; G9: Preferences › File Handling › Save in Background takes effect, #6207, 24 of 169 preferences do nothing; G7: Content-Aware Move previews every selection the command takes, coarse then exact, TOOL-213-4 done, #6680; G4: Pattern Stamp and Background Eraser draw live, TOOL-213-7; G9: Animated Zoom pref read: holding the Zoom tool zooms continuously, #6210, prefs that do nothing 25 of 166; G2: a cancelled 24 MP Gaussian Blur job stops in at most 44 ms, P25 under its 200 ms budget in local runs, baseline not re-run, #6205; G1: generated large-file fixtures, a 4.38 GB PSB opens on Windows through io, FILE-216-2 done, #5107; G9: fill and adjustment layers copy and paste whole, #2344; G1: smart filter masks show on PSD open, Photoshop-oracle floor 188/258; G10: DPX read and write, #1049, Cineon read; G1: CMYK Hue/Saturation and Color Balance keep the black ink; G1: CMYK Posterize on the stored values, psd-tools oracle floor 242/309; G1: CMYK adjustment layers composite on the document's inks, Photoshop-oracle floor 165/258; G1: CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; G1: modern Brightness/Contrast's brightness curve matches Photoshop, Photoshop-oracle floor 151/258; G1: Lab documents composite on their stored L, a, b, Photoshop-oracle floor 152/258; G1: Levels on whole levels at every step, Photoshop-oracle floor 146/258, psd-tools 238/309; G1: 32-bit Brightness/Contrast legacy, Channel Mixer, Photo Filter and Black & White tint unclipped as in Photoshop, Photoshop-oracle floor 149/258; G1: mask feathers blur with their exact variance, psd-tools oracle floor 240/309; G1: Threshold splits on Photoshop's luminosity, psd-tools oracle floor 241/309; G1: pass-through clipping base with an adjustment renders isolated, psd-tools oracle floor 240/309; G1: 16-bit Posterize as Photoshop bins it, psd-tools oracle floor 241/309; G1: Gradient Map driven by the W3C luminosity, Photoshop-oracle floor 147/258; G7: Field Blur's on-canvas pins, #3373; G4: Hue Jitter amount track, #3825 partial; G4: minimum field interaction, #3825 partial; G1: CMYK Invert, Posterize and Threshold on the inks, 16-bit Lab Invert; Photoshop-oracle floor 145/258; G11: `.atn` import maps 112 events: Select and Mask, Filter Gallery Spatter, Ripple, Crystallize, Pattern Fill layers, mask targeting, Step Backward, nudges in points, Bitmap mode; G5: Free Transform H/V skew fields; G9: toolbar tool shortcut editing; refreshed against main: G2, G5, G7, G9, G10, G13, G14, G17 items that landed; G10: DPX read and write, #1049; G4: checkbox-only Brush Settings rows; G11: Load/Save Actions `.atn` landed, AUTO-219-2 partial; G5: hold-a-key spring-loaded tools landed, #2672; G1: #2465 fixed; stale missing-tool rows corrected: Color Replacement, Red Eye and Add/Delete Anchor Point are live tools, so only Art History Brush is missing; no estimate changed) · **Target:** Adobe Photoshop 2026 Every known shortfall against Photoshop 2026 (27.11.0), one entry each, ranked by user impact on the way to beta. This is the work list agents pick from: take the highest-ranked entry that @@ -98,6 +98,10 @@ what an agent can't finish alone. - **Estimate:** 120–200 h. ### G11. Actions and scripting +- **Done 2026-10-17 (#7101):** `.atn` Apply Layer Comp steps with a named `compsClass` + reference import as `layerComp.apply` and export to the same Photoshop event. Names resolve + in the document being played; missing comps stop playback. Other reference forms stay kept + Photoshop steps and are reported as unsupported. AUTO-219-2 remains partial. - **2026-10-13 evidence:** Batch supports [output naming templates](batch-naming.md) using `{name}`, `{serial}` and a captured UTC `{date}`, with a starting serial number. Colliding names remain errors; custom output names cannot replace inputs. AUTO-219-5 stays partial. @@ -137,10 +141,20 @@ what an agent can't finish alone. tuning retains the fitted look and applies user gains afterwards. Three D5100 NEFs establish a guarded 4928 × 3264 image area. This is an estimated rendering, not a measured D5100 colour calibration; [validation](nikon-nef-development.md). +- **Progress (2026-10-14):** a Nikon NEF's embedded preview takes its colour space from the + maker note's ColorSpace (0x001E: 1 sRGB, 2 Adobe RGB) when the EXIF states none, so the + colour fit reads an Adobe RGB preview as Adobe RGB (49 of the 291 public Nikon samples; + Nikon writes no EXIF ColorSpace); `crates/raw/src/preview.rs`. A raw's preview-fallback + document is still opened untagged. - **Progress (2026-10-13):** the D90's image area (4288 × 2848 at (10, 10) in a 4352 × 2868 plane) is measured by aligning the decoded plane with the camera's own JPEG, so a D90 NEF opens on the camera's frame instead of the uncropped sensor plane; `crates/raw/src/cameras.rs` (`IMAGE_AREAS`). +- **Progress (2026-10-14):** the measured Nikon D4 profile's saturation level follows the + sample depth (15520 at 14 bits, 3880 at 12), so a 12-bit D4 NEF opens as bright as the same + scene at 14 bits instead of 2.6 stops darker (#5978). Real CC0 pair, mean linear luminance + against the 14-bit file: 12-bit lossy +0.02, uncompressed -0.02, lossless +0.01 stop; + 14-bit output unchanged (`cameras.rs`, `tests/nikon_d4_depth.rs`). - **Estimate:** 120–200 h. ### G15. AI and generative features @@ -292,11 +306,14 @@ what an agent can't finish alone. |---|---|---| | 2026-10-15 | minor | G1 / #5972 A1: render only provably constant-RGB `GdFl` noise fills; variable noise synthesis remains open | | 2026-10-18 | minor | G9: with no selection, Copy takes fill and adjustment layers whole and Paste recreates them (#2344); UI-217-23 stays partial (a single pixel layer copies its pixels only); estimate unchanged | +| 2026-10-17 | minor | G11: `.atn` Apply Layer Comp imports, plays and exports by comp name (#7101); other reference forms remain unsupported | | 2026-10-15 | minor | G2: a cancelled 24 MP Gaussian Blur job stops within 44 ms max (P25, budget 200 ms; was about 400 ms; local runs, baseline not re-run), the uncancelled job on a locked-transparency layer about 40% faster; #6205 | | 2026-10-15 | minor | G9: Animated Zoom preference takes effect (hold the Zoom tool to zoom continuously, #6210); prefs that do nothing 25 of 166; no estimate changed | | 2026-10-16 | minor | G7: Content-Aware Move's live preview covers every selection the command takes (over 256 × 256: a coarse result solved scaled down, then the exact one); TOOL-213-4 done (#6680) | | 2026-10-15 | minor | G9: Save in Background off saves in the foreground under a modal progress dialog (#6207); preferences that do nothing 25 → 24 of 169 | +| 2026-10-14 | minor | G14: the Nikon D4 profile's white level follows the sample depth, so 12-bit D4 NEFs no longer open 2.6 stops dark (#5978); gap remains open | | 2026-10-14 | minor | G1: a PSD smart object's filter mask shows when the file opens (Photoshop stores the filtered pixels unmasked); export stores them that way too; Photoshop-oracle floor 185 → 188 of 258 | +| 2026-10-14 | minor | G14: a Nikon NEF's Adobe RGB preview is read as Adobe RGB (maker-note ColorSpace 0x001E); gap remains open | | 2026-10-13 | minor | G14: D90 image area measured (4288 × 2848 at (10, 10)); gap remains open | | 2026-10-14 | minor | Corpus floors raised to the measured results of the CMYK, Lab, 32-bit, Levels, Threshold, Posterize, feather and pass-through fixes landed together: Photoshop-authored 165 → 185 of 258, io 146 → 148 of 170, psd-tools 242 → 249 of 309 | | 2026-10-13 | minor | G1: generated large-file fixtures (20 MP, 150 layers, 2 GB PSD, 4.38 GB PSB) round-trip in io tests/large_files.rs; the 4.38 GB PSB opens on Windows through io (#375 evidence); FILE-216-2 done (#5107) | diff --git a/docs/ui-parity.md b/docs/ui-parity.md index 59d05d1e40..e491b01097 100644 --- a/docs/ui-parity.md +++ b/docs/ui-parity.md @@ -1,6 +1,6 @@ # UI parity: tools, handles, modifiers and feel -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-21 · **Change:** minor (Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formatting keys; Pen Auto Add/Delete, #4144; smart filter rows; stale missing-tool rows corrected: Color Replacement, Red Eye and the Add/Delete Anchor Point pair are live toolbar tools, Frame landed; no percentage changed; selection-modifier and ⌥-wheel rows match their tests) · **Target:** Adobe Photoshop 2026 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-21 · **Change:** minor (Hand tool ⌘ / ⌥ are Zoom In / Zoom Out while held, #6434; the wheel steps value fields, #5473; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; a dragged guide shows its X or Y beside the pointer, #7680; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formatting keys; Pen Auto Add/Delete, #4144; smart filter rows; stale missing-tool rows corrected: Color Replacement, Red Eye and the Add/Delete Anchor Point pair are live toolbar tools, Frame landed; no percentage changed; selection-modifier and ⌥-wheel rows match their tests) · **Target:** Adobe Photoshop 2026 How PhotoCraft's direct manipulation compares with Photoshop 2026 (27.11.0): the toolbox, the handles and modifier keys of each gesture, nudging, snapping, numeric precision, navigation, @@ -157,17 +157,21 @@ Triangle and Curvature Pen (minus legacy Rounded Rectangle and Targeted Adjustme | Smart guide distance and spacing labels | missing | | | Ruler units px/in/cm/mm/pt/pica/% | done | | | ⇧-drag a guide out of a ruler: it lands on the nearest ruler tick | done | `rulers.rs` `snap_to_tick` (#3770) | +| A dragged guide shows its position beside the pointer (X for vertical, Y for horizontal, in the ruler unit) | done | `rulers.rs` `guide_drag_readout` (#7680) | | Status bar follows the ruler unit | partial | #2602 | | Ruler corner and gaps drawn as Photoshop | partial | #2600, #2601, #2551 | | Guides stored as f64 | missing | `Vec` (UI-217-20) | | Geometry precision | partial | `geom::Point` f64, paths f64; paint internals mostly f32 | | Numeric fields: arithmetic, scrubby labels | partial | units in expressions and double-click reset missing (UI-217-13) | +| Wheel steps a value field, ⇧ ×10: clicked into, wherever the pointer is; not clicked, a gesture that starts over it | partial | `field_wheel.rs` (#5473, #4061). Photoshop: a field takes the wheel once clicked into (shortcut guides, user reports); whether the pointer must stay over it is unconfirmed. Stepping on hover alone is Photopea's, kept deliberately | ## Navigation | Behaviour | Status | Evidence | |---|---|---| | Space = Hand, ⌘Space / ⌘⌥Space = zoom in/out, spring-loaded while held | done | `hold_keys.rs` | +| Hand tool: ⌘ held = Zoom In, ⌥ (or ⌘⌥) held = Zoom Out; click steps, drag scrubs | done | `hold_keys.rs` `hand_zoom` (#6434); not during Free Transform or once a pan has started | +| Hand tool: ⇧-drag / Scroll All Windows pans every open document; hold H for Bird's Eye View | missing | | | Hold any tool letter for a temporary tool | done | `spring_tools.rs`: held ≥ 300 ms or used on the canvas, release gives the previous tool back; ⇧ never springs (#2672) | | Scrubby zoom | done | `zoom_tool.rs` | | Flick panning | done | `flick_pan.rs` (Preferences › Tools › Enable Flick Panning) | @@ -228,6 +232,9 @@ Paragraph; the rest open as in-app floating windows. | Date | Change | Summary | |---|---|---| +| 2026-10-19 | minor | A guide being moved or dragged out of a ruler shows an `X:` / `Y:` position readout beside the pointer, from the zero point in the ruler unit (#7680) | +| 2026-10-17 | minor | The wheel steps value fields: a focused field takes it wherever the pointer is (the canvas and panels don't scroll), an unfocused one only a gesture that starts over it (#5473, #4061); no percentage changed | +| 2026-10-16 | minor | Hand tool ⌘ / ⌥ held are temporary Zoom In / Zoom Out (#6434); Scroll All Windows and Bird's Eye View rows added as missing | | 2026-10-15 | minor | Shape Density and Feather row added as done (TOOL-214-12, #5846) | | 2026-10-13 | minor | Menu bar from the keyboard: Alt / F10 focus, Alt+letter, underlined mnemonics (#4988) | | 2026-10-13 | minor | Layers panel filter row: Kind is a real dropdown with Kind, Name and Mode filters, drivable by `ui.set {layerFilter}` (#5048); row added as partial |