edit-pixelcanvas-strokes
Build a CodefyUI image workflow that turns a reference into editable PixelCanvas paths. Use for requests to inspect, recolor, thicken, move, hide or redraw specific marks without regenerating the whole image.
Why it scored this
named +4 · described +6 · substantial +6 · right length +4 · references +5 · numbered-steps +5 · active +5 · unseen-before +8 · specific-vocabulary +8
The file
--- name: edit-pixelcanvas-strokes description: Build a CodefyUI image workflow that turns a reference into editable PixelCanvas paths. Use for requests to inspect, recolor, thicken, move, hide or redraw specific marks without regenerating the whole image. license: MIT --- # Edit selected strokes in CodefyUI 1. Start from the offline PixelCanvas example or inspect the active graph. Look up `pixelcanvas:TraceStrokes`, `pixelcanvas:InspectStrokes`, `pixelcanvas:EditStrokes` and `pixelcanvas:RenderStrokes` in the host's node catalog. Use the current port and parameter names. If they are absent, ask the operator to install or enable the offline pack. A skill on its own does not install nodes. 2. Use a picture the operator chose, or an existing IMAGE output. Keep the source connected to its original branch. Trace it once; branch the resulting document into an untouched render and an edit. This way a comparison uses the same paths on both sides. 3. Inspect before editing. Choose a small set of IDs or a box listed in the inspection report; don't invent IDs or infer them from an earlier image. A box selects whole paths by anchor, not individual pixels inside a crop. For ink that belongs to a photo region, wire the full-size `RecolorRegion.mask` into `EditStrokes.mask`; it selects by the same anchor rule. For a partial line edit, use `pixelcanvas:PickStroke` near the intended cut. At intersections, read all candidates instead of guessing by color or accepting the top hit automatically. Feed the chosen ID and an interior `at` into `pixelcanvas:SplitStroke`, give the suffix an unused ID, then edit just that piece. Read `references/graph.md` for units and port types. 4. Make one visible change such as recoloring or widening those strokes. Validate the graph, show the proposed change, and use the host's normal approval flow before running. Ask before writing into an existing output. Compare the results at the original size: did the intended marks change and did unselected marks stay put? A line drawing on paper and an overlay on a photograph are different outputs. 5. Reuse the saved stroke document for another variation. If the request needs a new photograph rather than editing the reference, let the operator choose the generator. Using an existing image stays offline. A request to edit a picture is not permission to call a paid provider or send it a picture.