Support SVG gradient and pattern fills in digitize pipeline #96
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature — Support SVG gradient and pattern fills in digitize pipeline
Expected behavior: Gradients and patterns should produce stitched output, or at minimum a clear 422 error (never a 500 crash).
Current: Engine crashes with HTTP 500 on
url(#...)fill references. The gradient test case produced500with{"error":"internal"}.Acceptance:
Approach: Browser-side gradient flattening (sample gradient at N stops, replace with banded solid-fill paths) or engine-level gradient resolution.
Moved from: Kimi_Agent_Brother_10_Digitizing_App#39
Wired into parse_svg in
123fddf. Tested with 3-stop linearGradient (red→yellow→blue): 200 OK, 8 stitch objects, 10,400 stitches across 8 sampled color bands. No more 500 crash. 209/209 tests pass.