* Speed up Crystallize and Pointillize with cell-space rasterization
* Measure pixelate commands on unlocked layers and Background separately
* Record pixel-exact 24 MP filter and command benchmarks
The Hand tool's options bar has a Scroll All Windows checkbox. With it on,
or with Shift held while dragging, a Hand drag in one document view also
scrolls the other documents that are shown: the main window's document, or
its Window > Arrange tiles, and the document windows. After each step of
the drag, each of those views puts its center at the same relative
location as the dragged view's center, the same fraction of its own
document's width and height, and keeps its own zoom and rotation.
Documents in hidden tabs keep their views. With Overscroll off, they
follow the dragged view's center after it is held at its pan limit. A
flick-panning glide moves them too, also after Space or Shift is let go
with the button.
The option is a Hand tool option, so Reset Tool and tool presets include
it. Document windows read their view when they are drawn, so a drag in
one window moves a window drawn after it in the same frame.
The overlay is rendered from the live preview, but the CPU canvas drew
it over the document's bounds, stretching a rotated preview's overlay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts resolved by keeping both sides:
- ui-egui control.rs: UI_SET_FIELDS has main's updatesOpen and the
histogramPanel, histogramRange and histogramRefresh fields (42).
- automation server.rs: the ui_set description names all of them.
- docs/ui-parity.md: main's header, with the Histogram panel entry
added to its change list.
- docs/scorecard.md: regenerated with `cargo xtask scorecard`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Compact, Expanded and All Channels views; the channel is kept across views.
- Channels per colour mode, plus Luminosity and Colors (overlaid, mixed where
channels overlap); Show Channels in Color and Show Statistics in the panel menu.
- Statistics for the level under the pointer or a dragged range: Mean, Std Dev,
Median, Pixels, Level, Count, Percentile, Cache Level.
- Source (Entire Image, Selected Layer, Adjustment Composite) for multilayer
documents.
- Adjustment previews counted live, with the original outlined over them.
- Cached-data warning and Uncached Refresh; Preferences > Performance > Cache
Levels (1-8) caps the cache level.
- ui.set histogramPanel / histogramRange / histogramRefresh, ui.inspect histogram.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A finite x or y past f32's range became inf; on the next frame egui's
pointer delta inf - inf was NaN and its Vec2 equality assert panicked
outside the dispatch guard, closing the app. Both now lie within
+-MAX_SCREEN_POINT (1e6 points) and a larger one is an error naming the
field, with nothing queued.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The row's own note says the window's Marquee tool and the Stamp's Heal modes
are still missing, so it stays partial; the scorecard is regenerated to match.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The writer thread now asserts each take_completed() result, so an earlier failed write
can't hide behind flush()'s last result, and a drop guard sets the done flag however the
thread ends, so a writer panic is reported by join instead of the listing loop spinning.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Outside macOS, Hide Layers' default key is Cmd+, (Ctrl+,) and Settings
uses Cmd+K, so three Cmd+, tests found a second owner or Settings' own
key. Unbind Hide Layers where it isn't the subject, and check that
Settings doesn't show Cmd+, rather than that it has no key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
EngineData strings without the FE FF mark were parsed into a String and written back as FE FF + UTF-16BE, so an unedited save rewrote raw strings in Txt2 (like /2 (0100...)), which makes Photoshop reject the file. Parse them into Value::RawString and write them back unchanged.
Refs #9091
The canvas box commits `edit.transform` with the `layers` it opened on, and
the Action recorder kept those ids verbatim, so replaying in another document
failed with NoLayer or moved unrelated layers. When the listed layers are the
ones the selection gives the command, the recorded step drops `layers` and
replays on the layers selected then; other explicit lists keep their ids.
Claude-Session: https://claude.ai/code/session_01D8r6W6haR5FWJyxUakMEfA
The folder listing behind Batch and the other folder inputs used a
hand-kept extension list that lacked formats PhotoCraft opens: Cineon,
DICOM, Amiga IFF, PCX, XPM, DDS, PBM, PAM, PFM, Photoshop templates and
the CR3, ORF, RW2, RAF, SRF and SR2 raws. Those files were left out of a
batch without a message. The listing now takes every extension of a
format photocraft-codecs reads in the build and every camera raw
extension, and keeps its own list only for the document and vector
formats.
With Format "Same", inputs that PhotoCraft opens but does not write
(DICOM, Amiga IFF, GIMP's .xcf and .xcf.gz, .psdt, and any codec format
without a writer) are saved as PSD, as camera raws already were. Without this,
each such file would fail to save.
The guard now bounds the decoded size by the bytes the strip tables hold
(x4096), not by the file length. CCITT Group 4 codes a blank row in one
bit, so a blank 600 dpi A4 landscape (7016x4961) or A3 page compresses
past 4096:1. With ordinary metadata or other pages in the file, main
opened such a page; this PR refused it ("the strips or tiles in this
file hold 624 bytes, too few for a 7016x4961 image"). Group 4
(compression 4, the only CCITT variant the decoder reads) now gets a
ratio of the strip or tile width, capped at the decoder's 65535.
Test: a_blank_fax_page_wider_than_4096_px_passes_the_bomb_guard fails
without the change, and checks a Group 4 strip too short for its page
is still refused.
Co-authored-by: wanikhawar <28915582+wanikhawar@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A save that fails at once leaves the automatic answer in place until the prompt is drawn again. A control client answering in between now clears it, so the next document is asked about instead of taking the old answer.
Close All and quitting look for documents dirtied while the prompt was up once the first ones are answered. Apply to All only covers the documents it was given, so the stored answer is cleared when that second list is asked about.
Closing several unsaved documents (Close All, Close Others, quitting) asked about each one in turn. With more than one document left the prompt now has an Apply to All box, as in Photoshop: Yes or No then answers for every remaining document. A document whose save is cancelled or fails is asked about again instead of retrying. Control clients get saveAll and dontSaveAll.
Feedback on #7648 from testing a vector portrait workflow:
- Path Selection selects path components: a click selects the one under the pointer, ⇧-click
adds or removes one, a click off every component deselects, and a drag moves only the
selected components (one `path.moveAnchors`). Their anchors show solid, as in Photoshop.
- Path Selection gets the Path Operations menu. With components selected, the menu changes
their operation through the new engine command `path.setOperation` (Work Path, saved path,
shape layer or vector mask; one History step), and its icon shows their operation.
- `+` (Combine Shapes) and `-` (Subtract Front Shape) pick the operation with the Pen tools and
Path Selection, on the selected components and for the next path. `+` is ⇧= on a US layout, so
with these tools it no longer steps the blend mode.
- The Pen carries on an open path from its endpoint in Shape mode (the selected shape layer)
and on a targeted vector mask, as it already did on the Work Path and saved paths. Closing the
open path a stroked-only shape layer was made of gives it the options bar's fill and stroke,
as if it had been drawn closed.
Main's smart-object cache handling in edit.transform (take_caches /
restore_unrendered) now covers every transformed layer; the params doc
keeps both the layers field and main's bicubic variants.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a Finnish (Suomi, `fi`) catalog with 4,169 entries: every key of
the other bundled catalogs, written in sentence case from the English
labels with ordinary Finnish image-editing vocabulary. It is registered
with complete_menus, and xtask's source-key coverage check includes it.
Plurals are one/other with the partitive singular after any number but
1 (1 taso, 2 tasoa).
Any fi-* locale selects Finnish; sv-FI does not. Tests cover locale
tags, system-language resolution, id and context overrides, and plurals.
Clean-room, AI-assisted (Claude Code) translation; a native speaker
checked it in the running app, but it has not been proofread line by
line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reject nested Halftone descriptors with unexpected class IDs before mapping
them into editable filters, so saving preserves the original Gallery stack.
Add a regression covering standalone and mixed stacks, and document the
Halftone test helpers and cases flagged by CodeRabbit.
- control: tool, mode and stroke are parsed before anything changes, so a refused request leaves
the workspace as it was.
- A preview made from an older document revision is dropped (even mid-stroke), and a revision
change clears the shown texture and the pending result too.
- Show Edge applies the Refine Edge Brush only when the selection has content, as OK
(matting::refine_area) does.
- control-protocol.md documents `hideView`.