Commit Graph
15005 Commits
Author SHA1 Message Date
FredApps 3590f96ba9 engine: File › Open and Place read rasters through craft-image-codecs
The raster path tells formats with craft-image-codecs' detect, reads the
size from the header (vectorcraft-doc's header_size, the renderer's
decoded_layout, a Targa's own header) and decodes with the renderer's
decode_image, the pixels as stored, with the profile the file embeds.
The size notes Open, Place and the Links panel give, and Glass's Load
Texture, read the same way.

opened_rasters_are_the_pixels_the_image_crate_read compares BMP, TGA and
TIFF at 8 and 16 bits, gray and color, with and without alpha, with the
image crate's pixels, and PNG, JPEG, GIF and WebP stored as they are.
2026-11-16 05:45:22 +01:00
FredApps 39e36e342f Pin craft-libs to a499742a (craft-libs#1779 and #1782)
craft-libs main with the JPEG inks reader vectorcraft-doc's CMYK JPEGs use
(#1779) and the craft-jpeg fallback for frames zune-jpeg panics on
(#1782). Cargo.lock regenerated.
2026-11-16 05:12:41 +01:00
FredApps 9047af65f8 render: decode images through craft-image-codecs; keep main's JPEG writer
The renderer's image paint reads sizes from the header (vectorcraft-doc's
header_size, craft-image-codecs' inspect_raster) and decodes through
craft-image-codecs, the pixels as stored, for the formats it drew
before (PNG, JPEG, GIF, WebP, TIFF and BMP). A test compares the pixels
with the image crate's for each PNG color type and depth, palettes and
1-bit gray, GIF, WebP, TIFF, BMP and JPEG.

The JPEG writer goes back to main's jpeg-encoder one: the craft-image-codecs
version wrote a CMYK JPEG's resolution in a little-endian EXIF of another
layout, failing the tests of main's #3084 fix. TIFF LZW strips stay on
craft-stream-codecs, checked against weezl (now a dev-dependency): read
back the same and never larger.
2026-11-16 04:48:31 +01:00
FredApps be428f3fcf engine: keep the image size checks and depth of main through the cutover
Remove Background and Color Mask check the image's size from its header
again before decoding ("an image of W × H pixels is too large to change"),
and Crop Image's trim and Remove Background read a file that can't hold
the pixels its header declares as unreadable, as on main. The test helper
reading Remove Background's output keeps 16-bit samples.

The HEIF and JPEG XL readers and their tests go back to main's (heic-rs and
jxl-oxide): the craft-heif and craft-jxl versions failed eight of their
tests (resolution axes after a quarter turn, the container's mirror and
crop, refusing a grid of cropped tiles, 16-bit samples, the decode
allowance). Moving them stays to do.
2026-11-16 03:33:57 +01:00
FredApps d2b8ebfd95 Merge origin/main into feat/cutover-remaining-codecs 2026-11-16 01:57:11 +01:00
FredApps 273dd79442 refactor(doc): read Group 3 TIFF rows through craft-stream-codecs
group3_tiff_rgba decodes each strip or tile with
craft_stream_codecs::decode_ccitt_raw instead of hayro-ccitt; the error
messages stay as they were. vectorcraft-engine's group3_reference test
keeps the hayro-ccitt reader as the reference: over 190 Group 3 TIFFs and
5,500 cut or edited copies the pixels and refusals match, except that a
strip or tile wider than MAX_CCITT_COLUMNS (2^20) is refused as an
overflow where hayro-ccitt ran out of data. Needs craft-libs#1772.
2026-11-16 01:56:14 +01:00
FredApps 58174c6642 refactor(doc): read CMYK JPEG inks and headers through craft-image-codecs
The CMYK reader's JPEG side (inks, component count, size, ICC profile)
uses craft_image_codecs::jpeg_inks instead of zune-jpeg, which stays only
as the dev-dependency the comparison test reads with: inks, sizes,
component counts and profiles match it over CMYK, YCCK, RGB and gray
JPEGs, whole and cut off. Frames zune-jpeg panicked on read as no inks.
Needs craft-libs#1779.
2026-11-16 01:13:46 +01:00
BFlat cad4bb0c6e Merge pull request #7834 from dotCooCoo/fix/the-liquify-warning-s-tool-name-and-object-kinds
i18n: Liquify's skip warning shows its tool and object kinds in the interface language
2026-11-16 06:56:45 +07:00
BFlat 4a33a0132e Merge pull request #7930 from dotCooCoo/feat/shortcut-list-csv
Keyboard Shortcuts: Export Text… also saves the list as a CSV file
2026-11-16 06:56:36 +07:00
BFlat 43e4e66c33 Merge pull request #7978 from dotCooCoo/fix/new-document-units-choice
Fix #7944: New Document opens in the General units and keeps units chosen in its menu
2026-11-16 06:56:24 +07:00
BFlat 3e615f7c67 Merge pull request #7972 from dotCooCoo/feat/glyphs-show-opentype-categories
Glyphs: the Show menu lists the font's OpenType glyph categories
2026-11-16 06:56:16 +07:00
BFlat 89ebbd754a Merge pull request #7898 from dotCooCoo/fix/live-paint-strokeedge-through-edges
Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
2026-11-16 06:56:07 +07:00
BFlat 75dc7dcd20 Merge pull request #7964 from dotCooCoo/feat/ellipse-anchor-count
Ellipse: the click dialog sets how many anchors the ellipse has
2026-11-16 06:55:58 +07:00
BFlat 87b936d80a Merge pull request #7970 from dotCooCoo/feat/ai-save-wrapped-area-type-live
.ai save: area type wrapped by plain paths, compound paths or groups stays type
2026-11-16 06:55:50 +07:00
BFlat 47dd56afbb Merge pull request #7962 from dotCooCoo/feat/symbol-align-to-pixel-grid
Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
2026-11-16 06:55:41 +07:00
BFlat bf7fefd89e Merge pull request #7954 from dotCooCoo/feat/file-info-templates
File Info: the menu saves, imports and lists metadata templates
2026-11-16 06:55:33 +07:00
BFlat 9bc50f911d Merge pull request #7956 from dotCooCoo/fix/outline-fill-opacity
Pathfinder: Outline edges keep their fill's opacity and blend mode
2026-11-16 06:55:25 +07:00
BFlat 6a3c9cfc8b Merge pull request #7957 from dotCooCoo/feat/eraser-alt-drag-marquee
Eraser: an Alt-drag erases everything inside a marquee, a square with Shift
2026-11-16 06:55:17 +07:00
BFlat 385ad36761 Merge pull request #7883 from dotCooCoo/feat/3d-bevel-reset
3D and Materials: the Bevel section's Reset restores only the bevel settings
2026-11-16 06:55:08 +07:00
BFlat b7a1428325 Merge pull request #7935 from dotCooCoo/fix/psd-relink-clip
Links: relinking a clipped PSD follows the new file's clipping path
2026-11-16 06:54:59 +07:00
BFlat 009ba234d7 Merge pull request #7958 from dotCooCoo/fix/recolor-randomize-skips-empty-rows
Recolor Artwork: Randomize leaves rows with no current colors out
2026-11-16 06:54:48 +07:00
BFlat 7262f49b05 Merge pull request #7960 from dotCooCoo/fix/monitor-profile-tiled-panes-translucent-test
Monitor profile: test that tiled panes blend translucent art over their own paper
2026-11-16 06:54:38 +07:00
BFlat ad94d5dd7a Merge pull request #7967 from dotCooCoo/fix/svg-artboard-export-keeps-brushed-path
SVG: an artboard's SVG keeps a brushed path whose brush art reaches it
2026-11-16 06:54:29 +07:00
BFlat 2b01ea0072 Merge pull request #7947 from dotCooCoo/fix/variables-data-set-list-marks-current
Variables: the open Data Set list marks the current data set again
2026-11-16 06:54:18 +07:00
BFlat e3f8d8abc6 Merge pull request #7961 from dotCooCoo/fix/clipboard-file-lists-formats
Clipboard: paste checks the size of another app's data before copying it
2026-11-16 06:54:09 +07:00
BFlat 5a13733e3a Merge pull request #7955 from dotCooCoo/chore/docs-menu-breadth-counts
Docs: menu-breadth counts match the current menu tree
2026-11-16 06:53:58 +07:00
FredApps 721d7bf4d8 refactor(eps): read CCITTFaxDecode through craft-stream-codecs
EPS fax images decode with craft_stream_codecs::decode_ccitt_raw instead
of hayro-ccitt directly. With EndOfBlock the rows end at the end-of-block
code whatever Rows says (rows 0), as before. Needs craft-libs#1772
(rows on bytes exactly as EncodedByteAlign says).
2026-11-16 00:21:12 +01:00
Dylan M. Taylor 8ee5acc04e Merge pull request #7866 from storytold/codex/shared-gzip-consumer
Use shared streaming native format writer
2026-11-15 17:28:04 -05:00
dotCooCoo 403ac6b794 Fix #7944: New Document opens in the General units and keeps units chosen in its menu
New Document opened on the most recent entry in the units that entry was
made in, so with Preferences › Units › General in millimeters, File › New
and New Without Dialog still made documents in points, and the rulers and
the Measure tool, which follow the document's units, read points. The
dialog now opens in the General units on a Recent entry too. An entry
made in pixels, and an entry that is a saved preset in the units it was
saved in, keep their units. Before, the dialog opened in the entry's
own units.

Units chosen in the Units menu were also replaced by the next tab, card
or preset chosen, for example the Web tab's pixels, or a Recent or Saved
card's units on a click or on the double-click that creates the
document. A choice made in the menu, or with ui.dialog.set (also while
More Settings or Manage Profiles is open), now stays until Create.
Without such a choice, clicking another Recent or Saved card still
brings back that card's own units.

Docs: docs/mcp.md (New Document), docs/target-app-parity.md evidence.
2026-11-15 13:41:27 -08:00
dotCooCoo 32fe097db5 Recolor Artwork: recolor.randomize params text parses as a params object
The note on which rows keep their new color now sits in the map key's
description, so tests::params::every_description_parses reads the text.
2026-11-15 13:36:30 -08:00
FredApps 827667a321 refactor(codecs): read header sizes and write DIB PNGs with craft-image-codecs
header_size reads every format's header through craft-image-codecs
(probe_allocation_size: stored size with no limit; a GIF's logical
screen through probe_size), no longer through the image crate's
readers. Metafile DIBs are written as PNG by craft-image-codecs.
2026-11-15 22:34:00 +01:00
BFlat 613f2039e0 Merge pull request #7493 from dotCooCoo/fix/custom-toolbar-errors-translated
i18n: custom toolbar command errors are translated in every complete-message catalog
2026-11-16 04:31:58 +07:00
BFlat f6bbaf5dbf Merge pull request #7889 from dotCooCoo/feat/panel-tab-cycles-options
Panels: the double triangle on a panel's tab strip cycles its display sizes
2026-11-16 04:31:49 +07:00
BFlat 6c283464bf Merge pull request #7865 from dotCooCoo/feat/graph-data-column-drag
Graph Data: dragging a column's edge sets that column's width
2026-11-16 04:31:40 +07:00
BFlat 6b2e71f999 Merge pull request #7912 from dotCooCoo/fix/3d-transparent-gradient-one-placement
3D: a transparent gradient lines up its colors and transparency across the faces
2026-11-16 04:31:27 +07:00
BFlat aeeb4e8b1c Merge pull request #7895 from dotCooCoo/fix/pasted-pie-labels-follow-merged-swatch
Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
2026-11-16 04:31:18 +07:00
BFlat 2e8b2deded Merge pull request #7921 from dotCooCoo/feat/ai-save-large-canvas-envelope-editable
.ai save: envelopes on a large canvas stay editable
2026-11-16 04:31:07 +07:00
BFlat 910b79119b Merge pull request #7368 from dotCooCoo/fix/graph-design-art-paint
Graphs: paint, stroke and transparency commands leave a design's art in a series out
2026-11-16 04:30:58 +07:00
BFlat bb2b16093e Merge pull request #7903 from dotCooCoo/chore/lib-header-search-commands
Docs: the command palette is named by its menu item, not by ⌘K
2026-11-16 04:30:49 +07:00
BFlat 8920f24351 Merge pull request #7920 from dotCooCoo/fix/smooth-corners-dense-paths
Smooth tool: keep corners on a path cut into very many short segments
2026-11-16 04:30:41 +07:00
BFlat ebcc3fade2 Merge pull request #7862 from dotCooCoo/feat/3d-classic-light-sphere
3D (Classic): the lighting sphere moves, adds and deletes lights on the Lighting tab
2026-11-16 04:30:33 +07:00
BFlat c12053dc55 Merge pull request #7936 from dotCooCoo/fix/tsume-vertical-type-and-blank-glyphs
Type: Tsume applies in vertical type and to color glyphs
2026-11-16 04:30:25 +07:00
BFlat 5ecb2cda86 Merge pull request #7926 from dotCooCoo/feat/present-mode-overrides
Graphics: --present-mode and --frame-latency set how the window presents frames
2026-11-16 04:30:17 +07:00
BFlat 35b88efd26 Merge pull request #7914 from dotCooCoo/fix/eraser-varied-drag-area
Eraser: the drag's area outline takes the tip the pen gives at each step
2026-11-16 04:30:09 +07:00
BFlat d87cc85a90 Merge pull request #7917 from dotCooCoo/fix/pdf-trim-artboards-keep-bleed
Import PDF: artboards on trim boxes keep the bleed between them
2026-11-16 04:29:59 +07:00
BFlat 9d62155ba4 Merge pull request #7868 from dotCooCoo/fix/trace-noise-nearest-color
Image Trace: Noise merges a dark speck into the line beside it, not the ground
2026-11-16 04:29:50 +07:00
BFlat deabf9dab1 Merge pull request #7888 from dotCooCoo/fix/place-cursor-asks-encrypted-pdf-password
Place: the place cursor keeps an encrypted PDF and asks for its password
2026-11-16 04:29:39 +07:00
BFlat 087246a785 Merge pull request #7896 from dotCooCoo/fix/svg-image-check-follows-writer
MCP: confined SVG output checks the linked images the file draws
2026-11-16 04:29:28 +07:00
BFlat 580df186eb Merge pull request #7923 from dotCooCoo/fix/export-nested-symbol-reshape-budget
Export: nested symbol instances count their baked art against the symbol art limit
2026-11-16 04:29:19 +07:00
BFlat 6998fedc80 Merge pull request #7864 from dotCooCoo/feat/variables-import-entry
Variables: Import… in the panel menu reads a CSV or an XML data source
2026-11-16 04:29:11 +07:00