Skip to content

Images are traced to SVG even when LibreOffice is installed - #90

Merged
KnifeLemon merged 1 commit into
mainfrom
fix/trace-images-with-libreoffice
Oct 16, 2026
Merged

KnifeLemon merged 1 commit into
mainfrom
fix/trace-images-with-libreoffice

Conversation

@KnifeLemon

Copy link
Copy Markdown
Owner

When LibreOffice is installed, image β†’ SVG took the route image β†’ PDF (PDFsharp) β†’ SVG (LibreOffice). That only puts the picture inside an SVG, so the new "Trace to SVG" presets (#87) produced no tracing. CI doesn't install LibreOffice, so it didn't catch this; the local TracingTests failed once the optional engines were present.

  • New ConversionEdge.NotForImageSources, the counterpart of ImageSourcesOnly: such an edge is never used in a route that starts from a raster image.
  • LibreOffice's SVG outputs set it, so PDFs and drawings (CDR, VSD, ODG, …) keep their vector route and images are traced.
  • New planner unit test. With every optional engine installed locally, all 884 Engines tests pass (TracingTests included).

πŸ€– Generated with Claude Code

With LibreOffice, image β†’ SVG went image β†’ PDF β†’ LibreOffice β†’ SVG, which
only puts the picture inside an SVG, so "Trace to SVG" did nothing useful.
LibreOffice's SVG outputs are now never used for routes that start from a
raster image (ConversionEdge.NotForImageSources); PDFs and drawings keep
their vector route through it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KnifeLemon
KnifeLemon merged commit 0bacfc9 into main Oct 16, 2026
5 checks passed
KnifeLemon added a commit to SeoJCalive/Filee that referenced this pull request Oct 16, 2026
Brings in the formats, categories, presets and settings migrations up to
schema 16 (KnifeLemon#80-KnifeLemon#87) and the LibreOffice SVG tracing fix (KnifeLemon#90). The only
conflict was a blank line next to the new migration blocks; groups need no
settings migration of their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KnifeLemon
KnifeLemon deleted the fix/trace-images-with-libreoffice branch October 19, 2026 12:55
@KnifeLemon KnifeLemon added the bug Something isn't working label Oct 20, 2026
@KnifeLemon KnifeLemon self-assigned this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant