Commit Graph
5501 Commits
Author SHA1 Message Date
dotCooCoo ef2dcb9df1 Links: Unembed keeps a distorted image's clip group only when written as stored
The links.unembed params text and docs/mcp.md now say that a distorted
image from a PSD or PSB file keeps its clip group when Unembed writes it
in the format it is stored in (PNG, or TIFF for a CMYK file), and that
Relink and Update Links to the written file keep it too. A path that
converts the image writes no clipping path, and the clip group becomes a
plain group.

- Test: tests_psdread::unembed_keeps_the_clipping_path_of_a_distorted_psd
  adds an Update Links step on the written file and an Unembed to a .jpg
  path.
2026-11-18 07:14:51 -08:00
dotCooCoo eb349d534d Links: leave reading a PNG's kept clipping path to its own fix
The loader change that read the clipping path a PNG or TIFF keeps also
changed File > Open and File > Place of plain images. It is now #8561,
with its tests, params text and docs, and this branch reads files as
main does.

For a distorted image, Relink and Update Links now read the new file's
clipping path from the PNG or TIFF it is stored as when the reader gives
none, as they already do for the old file. Unembed of a distorted image
from a PSD or PSB file, with or without a folder, therefore keeps the
clip group of that file's clipping path, and so does a later Relink to
the written file.

- Test: tests_psdread::unembed_keeps_the_clipping_path_of_a_distorted_psd
  (RGB file kept as PNG, CMYK file kept as TIFF, path and folder).
- Docs: docs/mcp.md, links.unembed params text, the progress-doc line.
2026-11-18 06:17:24 -08:00
dotCooCoo ea7731f6c2 Links: Relink warns when preserve is not applied to a distorted image
Relink with `preserve` on an image changed by Perspective Distort or
Free Distort keeps the image's corners and now adds a `warnings` entry
naming the images the value was not applied to.

The params text of Update Links now says how it handles a distorted
image's corners and clipping path, and the docs/mcp.md paragraph is
rewrapped. docs/mcp.md says that Open also reads a PNG or TIFF written
by Unembed with its clip group.

New tests cover Update Links and Relink of a distorted image with a
PSD or DCS clipping path, Relink with scope all of a distorted image in
an opacity mask, and Open of a file written by Unembed.
2026-11-17 22:12:45 -08:00
dotCooCoo 568f0f2168 Links: Relink, Embed and Unembed keep a distorted image's corners
An image changed by Perspective Distort or Free Distort was refused by
Relink, Embed and Unembed. Each now keeps the image's corners in one
undo step:

- Relink puts the new file's pixels between the corners, as Update
  Links does, whatever `preserve` or the image's Placement Options say.
- Embed keeps the file's pixels in the document between the corners,
  reading the file first when the image shows its saved preview.
- Unembed writes the pixels to the file and links the image to it with
  the same corners. Unembed into a folder keeps the corners too.

Relink and Update Links also follow the clipping path a PSD, PSB or DCS
file names for a distorted image: the path is drawn through the corners,
a clip group of the old file's path takes the new file's, and it becomes
a plain group when the new file names none.

Unembed of an image from a PSD or PSB file took away the clip group of
the file's clipping path, plain images included: the PNG or TIFF it
writes keeps the path, but the file was read without it. A PNG or TIFF
that keeps the path now comes with it when it is read, so Unembed, and a
later Place, Relink or Update Links of the written file, keep the clip
group.

The params text of Relink, Embed and Unembed, docs/mcp.md and the
progress-doc line describe the new behavior.
2026-11-17 21:02:14 -08:00
dotCooCoo d99fcc5cec Merge main into feat/distort-images 2026-11-17 20:30:09 -08:00
BFlat 3dfd692304 Merge pull request #8078 from dotCooCoo/feat/text-import-character-sets
Text Import Options: Character Set offers the other documented encodings
2026-11-18 10:31:10 +07:00
BFlat bbf6165fc8 Merge pull request #8206 from dotCooCoo/feat/packaging-fold-preview
Packaging Tools: Fold Preview folds the blank in 3D with the printed art on its panels
2026-11-18 10:30:50 +07:00
BFlat 12ab63aedd Merge pull request #7137 from dotCooCoo/feat/script-file-folder-write
Scripts: File and Folder objects write files inside a script's scope, with per-script grants and pickers
2026-11-18 10:25:30 +07:00
BFlat 966ae74132 Merge pull request #8130 from dotCooCoo/feat/shape-builder-empty-feedback
Shape Builder: the status bar says why a click or drag built nothing
2026-11-18 10:25:20 +07:00
BFlat 61d3190469 Merge pull request #8181 from dotCooCoo/feat/area-type-first-baseline-em-box
Type: Area Type Options First Baseline offers Em Box Height
2026-11-18 10:22:23 +07:00
BFlat 2a28193517 Merge pull request #8167 from dotCooCoo/fix/issue-7849-shape-mode
Pathfinder: Shape Mode buttons warn when a line encloses no area
2026-11-18 10:21:50 +07:00
BFlat 18f8c57a5a Merge pull request #8037 from dotCooCoo/fix/erase-segments-width-bound
Path Eraser: path.eraseSegments refuses a width outside 0.001 to 1000 pt
2026-11-18 10:21:33 +07:00
BFlat 8214f8cc24 Merge pull request #7434 from dotCooCoo/fix/shortcut-row-names-translated
i18n: Keyboard Shortcuts rows have names of their own in every language
2026-11-18 10:21:23 +07:00
BFlat c1223c4e8b Merge pull request #7993 from dotCooCoo/fix/variable-library-warning-kind-names-i18n
i18n: the SVG variable-data warning names variable kinds in the interface language
2026-11-18 10:19:52 +07:00
BFlat 5f9189ef2d Merge pull request #7765 from dotCooCoo/feat/docinfo-document-transparency-artboard
Document Info: Document lists the transparency settings and the Artboard tool's selected artboards
2026-11-18 10:19:22 +07:00
BFlat 3a9bb87022 Merge pull request #7925 from dotCooCoo/feat/brush-options-of-selected-object
Brushes: Options of Selected Object changes one brushed path's brush settings without changing the brush
2026-11-18 10:18:41 +07:00
BFlat 797c835ec8 Merge pull request #7212 from dotCooCoo/feat/last-selection-tool-shortcut
Tools: Ctrl+` chooses the selection tool chosen last
2026-11-18 10:17:01 +07:00
BFlat 1380e9c480 Merge pull request #7675 from dotCooCoo/feat/unit-converter
Unit Converter: one length in every unit, read from and applied to the selection
2026-11-18 10:16:26 +07:00
BFlat f66c2e78ad Merge pull request #8182 from dotCooCoo/feat/list-start-number
Lists: a numbered paragraph can start at a chosen number or restart at 1
2026-11-18 10:16:16 +07:00
BFlat dbdfa644f5 Merge pull request #8345 from dotCooCoo/feat/bounding-box-rotate
Transform: Rotate Bounding Box… turns the selection's bounding box without moving the art
2026-11-18 10:15:35 +07:00
BFlat cb76b41e96 Merge pull request #8086 from dotCooCoo/feat/low-latency-drawing
Performance: Low-Latency Drawing preference presents without vsync, capped at 240 fps
2026-11-18 10:15:17 +07:00
BFlat dd3a1886a6 Merge pull request #7764 from dotCooCoo/feat/dataset-import-graph-columns
Variables: Import Data Sets reads % columns of graph data files
2026-11-18 10:15:07 +07:00
BFlat 2b91d93b8e Merge pull request #8118 from dotCooCoo/fix/confined-native-image-paths
MCP: confined native output refuses linked and data set image paths outside the read roots and leaves out an export folder outside them
2026-11-18 10:14:58 +07:00
BFlat 1124cb3107 Merge pull request #8081 from dotCooCoo/fix/issue-8034
Fix #8034: Other Library… brings a .ai library's pattern swatches with their patterns
2026-11-18 10:14:47 +07:00
BFlat 3e0a239ad6 Merge pull request #8156 from dotCooCoo/feat/unembed-several-images
Links: Unembed writes several selected embedded images to one chosen folder
2026-11-18 10:14:07 +07:00
BFlat a74be729a4 Merge pull request #7963 from dotCooCoo/feat/recolor-group-storage
Recolor Artwork: a Color Groups list selects, saves, adds and deletes color groups
2026-11-18 10:12:05 +07:00
BFlat 7e6a42abef Merge pull request #7543 from dotCooCoo/fix/dialogs-keep-preview-warning
Type: typing kept when a dialog or a panel previews keeps its warning and selection
2026-11-18 10:11:54 +07:00
BFlat f09d81b8b3 Merge pull request #8250 from dotCooCoo/feat/pen-chosen-again-ends-path
Pen: choosing the Pen again while a path is being drawn ends that path, as Escape does
2026-11-18 10:11:37 +07:00
BFlat 19a220fae9 Merge pull request #8225 from dotCooCoo/feat/shape-widget-double-click-transform
Shapes: double-clicking a live shape's corner widget with a shape tool shows the Transform panel
2026-11-18 10:11:27 +07:00
dotCooCoo ad03873c06 Merge main into feat/distort-images 2026-11-17 16:21:37 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat d55a967dde Merge pull request #8157 from dotCooCoo/fix/hfp-full-tone
Image Trace: High Fidelity Photo traces in Full Tone with abutting shapes
2026-11-18 03:22:09 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
BFlat 0d681e804d Merge pull request #8339 from dotCooCoo/fix/bounds-reference-number
Fix #8334: setBounds reads whole-number float references correctly
2026-11-18 03:20:23 +07:00
BFlat 40f1080a86 Merge pull request #8215 from dotCooCoo/fix/trim-line-end-on-curve
Path Precision Tools: a path that ends on a curve still divides it after the curve is cut
2026-11-18 03:20:13 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 409b8ce9d1 Merge pull request #8058 from dotCooCoo/perf/selection-batch-toggle
Selection: select.toggle and select.add with many ids go through the selection once
2026-11-18 03:19:52 +07:00
dotCooCoo 5042947399 Free Transform: distorted images get the shared refusal in Create Gradient Mesh and keep their size in Link Info
- Create Gradient Mesh refuses a distorted image with the same message as
  the other commands, so the complete-message catalogs translate it.
- Link Info gives a distorted image's scale and rotation at its middle,
  where Image info measures its resolution.
- Update Links scales a distorted image's transform to the new pixel size,
  so a placement by the transform keeps the image's size.
- Place with Replace refuses only the clip group shape that Replace
  measures as its image.
- New test: Weed Box and Lines measure a distorted image by its corners.
  The image-and-path distort test now moves the shared edge.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 12:00:27 -08:00
dotCooCoo 4373826cc6 Free Transform: Perspective Distort and Free Distort put an image's corners on the handles
Perspective Distort and Free Distort (`object.distort`) used to give an image
only the warp's affine approximation at its center, so its corners did not
follow the handles and it drifted away from paths warped with it.

- An image's four corners now go exactly where the warp takes them, alone or
  in a mixed selection. A parallelogram stays in the image's transform; any
  other shape is kept in the new `image_quad` field of the native file, which
  older files do not have and still open as before.
- Corners that would fold the image over, fall on one line, cross the warp's
  horizon or lie too close together for a perspective map are an error, and
  nothing changes. A file whose corners break these rules opens with the image
  placed by its transform. A drag is one undo step, and a distort that leaves
  the corners where they are records none.
- Bounds, hit testing, transforms, Transform effects, blends, the Eyedropper,
  Outline view, the Color Theme Picker and Weed Box and Lines follow the
  corners. Image info measures the resolution at the image's middle, and
  plug-ins get the corners.
- The canvas, printing and every exporter draw a distorted image as a mesh of
  affine image pieces through the shared mesh warp, clipped by the corners.
  In files and print the mesh aims to stay within 0.05 pt with cells of at
  least 2 pt; the canvas cuts it for the zoom, within a quarter of a pixel
  with cells of at least 4 pixels. Pieces reach into their neighbors (0.5 pt,
  or 2 pixels on the canvas), so the image stays opaque at every zoom. The
  mesh has at most 64 by 64 cells and no more cells across than the image
  has pixels on its longer side (at least 8). No warped copy of the pixels is
  stored. DXF and WMF write the nearest parallelogram and warn.
- Crop Image, Image Trace, Relink, Embed, Unembed, Create Object Mosaic,
  Create Gradient Mesh and Place with Replace refuse a distorted image with an
  error that names the distortion. Update Links puts a changed file's pixels
  between the same corners, without applying Placement Options. Mask follows
  the corners. Rasterize makes a plain image of it.
- The new error messages have rows in every complete-message catalog.

Docs: docs/mcp.md, docs/plugins.md, docs/target-app-parity.md.
2026-11-17 08:46:08 -08:00
dotCooCoo c4ead8e46f Transform: Rotate Bounding Box… turns the selection's bounding box without moving the art
Object › Transform › Rotate Bounding Box… asks for an angle and turns the
bounding box of the selected objects by it, leaving their art where it
is. Reset Bounding Box squares it again.

- object.rotateBoundingBox {angle, absolute?}: by default the box turns
  by angle from the angle the selected objects share (0 when theirs
  differ); absolute: true turns it to angle. Objects with different
  angles get one shared angle, and the objects inside a group or a
  linked opacity mask turn with it and keep their relative angle. A path
  of a compound path selected on its own turns only its own box, the
  same objects the transforms move. An angle within 1e-6° of 0 is
  stored as 0. One undo step, none when every box is already at the
  angle. A missing or non-numeric angle is an error. changed counts
  every box that turned, as object.resetBoundingBox counts the boxes it
  squares.
- object.resetBoundingBox squares only the box of a compound path's
  path selected on its own, instead of the whole compound path.
- Menu labels in every catalog.

Docs: docs/mcp.md, docs/target-app-parity.md.

Part of #5954.
2026-11-17 08:28:29 -08:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
BFlat 36b5a5920c Merge pull request #8098 from el-j/feat/save-pdf-transparency-confirmation-8097
Fix #8097: Save PDF: show flattener rasterization resolutions in Summary warning and Advanced section
2026-11-17 22:38:24 +07:00
dotCooCoo cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -08:00
dotCooCoo af09fc2064 Scripts: open files are written in the order they were opened
When two File objects held changes to the same file, copy, length, a
new open of the file and a withdrawn grant wrote them in no fixed
order, so the copy or the file could end up with the older object's
bytes. They now write them in the order the objects were opened, as
the end of the run does.
2026-11-17 07:14:42 -08:00