Pixel2Lines is now Laserlinez - Get laser-ready vector files with our advanced algorithms!

Laserlinez
Service
Tonal Line VectorizationSVG
Tonal Line Vectorization
Contour VectorizationSVGDXF
Contour Vectorization
Centerline VectorizationSVGDXF
Centerline Vectorization
Photo to SVG Manual ProSVGPNG
Photo to SVG Manual Pro
SVG to DXFSVG→DXFDXF
SVG to DXF
GalleryPricingAPI
Workspace

Centerline Vectorization: From Line Drawings to SVG and DXF

Learn when to trace the middle of a stroke, how to prepare scans and line graphics and what to check before laser, CNC, or pen-plotter work.

What is Centerline Vectorization?

Centerline Vectorization converts visible strokes in a raster image, such as a PNG drawing or a JPEG scan, into editable vector paths along their middle, a process often called centerline tracing. It follows the drawn line rather than tracing both edges of its thickness. Laserlinez provides SVG and DXF output for line-following workflows.

For example, a scanned pen stroke occupies a narrow band of pixels. Outline tracing follows the boundary of that band; centerline tracing follows its middle. This is useful when a laser, engraving tool, or pen should follow the line itself rather than draw around it.

When only a scanned drawing or handwritten original is available, automatic tracing can save substantial manual redrawing. Review and refine the recovered paths instead of rebuilding every stroke. If you already have suitable vector paths or editable single-line lettering, use those directly rather than rasterizing and tracing them again.

Placeholder for image 1: Scanned lettering and line drawing
Image 1 — Raster source (placeholder). Use an original PNG containing a short handwritten word and a simple line-drawing motif. Include a curve, a closed loop, a T-junction, a crossing, intentional dashes and a variable-width brush stroke on a plain background. Use the brush stroke to show that centerline paths do not preserve ink width. State the source pixel dimensions, the pixel width of the thinnest important stroke and any scan preparation. Use the same crop for image 2.
Placeholder for image 2: Matching centerline vector paths
Image 2 — Actual Centerline result (placeholder). Show the unretouched SVG generated from image 1, at the same crop and scale, as thin strokes without fills. Make line ends, loops and separate dashes visible. State the preset version and disclose any edits; show a corrected version separately rather than presenting manual redraws as automatic output.

When to use Centerline Vectorization

Choose Centerline when the position of each drawn stroke defines the route you need. Useful starting points include handwritten lettering, scanned line drawings, schematics and line-based fabrication patterns.

  • Lettering and signatures: recover paths from handwritten names, signatures, or stroke-based lettering for personalized engraving and marking. Check small loops, punctuation and connections before making the final item.
  • CNC engraving and scribing: turn scanned line graphics into vectors for toolpaths that follow the line, rather than offsetting around a part boundary.
  • Laser scoring and line cuts: recover score lines, slits, perforations, or an existing living-hinge pattern. A living hinge uses repeated cuts to make a sheet flexible; tracing recovers the pattern, not its mechanical design.
  • Technical drawings and pen plotting: convert visible drawing strokes into editable geometry for diagrams, visual documentation and plotted drawings. Tracing does not recover CAD dimensions, constraints, or the meaning of drawing symbols.

Centerline, Contour, or Tonal: choose the geometry first

  • Centerline Vectorization follows the middle of existing strokes. Use it when the laser, tool, or pen should follow a drawn line.
  • Contour Vectorization traces shape boundaries. Use it when you need the perimeter of a part, cut-out lettering, or holes defined by a logo or flat graphic.
  • Tonal Line Vectorization interprets detail, texture and contrast in photographs as many vector lines. Use it for photographic linework rather than recovering the center of an existing drawn stroke.
Placeholder for image 3: One center path compared with the two edges of a stroke
Image 3 — Centerline versus outline tracing (placeholder). Compare the same curved stroke from image 1 in three panels: raster source, outline trace and actual centerline trace. Enlarge the view so the outline's two sides and the single center path are unmistakable. Add visible node markers to the centerline panel so it cannot be mistaken for a thin outline. Label each method and distinguish path position from display stroke width; do not rely on color alone.

Prepare an image with readable strokes

Start with the cleanest original PNG or JPEG. A useful source shows both the strokes and the spaces between them clearly. More pixels help only if they contain real detail; enlarging a blurred thumbnail does not recover missing line structure.

  • Scan flat and straight: keep the page flat and avoid perspective, folds, or shadows. Crop unrelated text, page borders and marks that should not become part of the result.
  • Check thin lines at full resolution: faint pencil strokes, small letter loops and narrow gaps should remain distinguishable. For scans, aim for several pixels across the thinnest important stroke. If a one- or two-pixel line breaks up or loses its shape, rescan the original at a higher resolution rather than enlarging the file. Improve contrast without merging neighboring strokes.
  • Avoid compression artifacts: use a clean PNG original when available. Repeated JPEG compression can create halos, speckles and broken-looking edges; converting a damaged JPEG to PNG does not repair them.
  • Preserve meaningful small marks: punctuation, short ticks and dashed lines may be intentional. Remove dust and paper texture carefully rather than treating every small component as noise.
  • Choose stroke-based content: broad filled logos and shaded photographs do not have an unambiguous line running through every area. Separate the line drawing from unrelated fills, or choose a different preset for the result you need.

How to create centerline SVG and DXF in Laserlinez

  1. 1

    Upload the source and select Centerline

    Upload the original PNG or JPEG in the workspace and select Centerline Vectorization. Confirm the selected preset before rendering; use the line drawing or scan itself, not a screenshot of an existing vector file.

  2. 2

    Render and compare with the source

    Generate the result and inspect whether the paths follow the middle of the intended strokes. Look closely at faint lines, lettering, crossings and dashes. Improve unclear source detail and render again when necessary.

  3. 3

    Download and check the geometry

    Download SVG or DXF and inspect it in your target software. If edits are needed, remove unwanted branches or duplicate segments in a vector editor while preserving intentional gaps. Keep an unchanged copy for comparison.

  4. 4

    Configure and test the job

    Use the reviewed file, including any saved edits. Verify the physical size, select the paths that belong in the job, assign the laser, CNC, or plotting operations and preview the complete result before testing a representative sample.

What to check in the vector result

Judge the geometry, not just the thumbnail. Zoom in to inspect individual paths, then review the drawing again at its intended physical size.

  • Path position: a traced stroke should have a center path, not a narrow outline running along both edges. Separate parallel strokes in the source should remain separate.
  • Endpoints and gaps: line ends should match the intended mark. Dashed lines and perforations must retain their gaps; do not join them just to reduce the path count.
  • Junctions and crossings: lines intended to meet should connect without a tiny gap or overshoot. Check whether a crossing represents a real connection or two strokes passing over each other.
  • Curves and corners: look for wobbles, excessive nodes, short false branches, or corners rounded away by cleanup. Simplify selectively without deleting real ticks or small features.
  • Unwanted geometry: inspect for duplicate segments, isolated dust marks and accidental return lines. Two different paths meeting at a crossing are not automatically duplicates.
Open paths are normal; loops are valid too

A drawn line can have two free ends, while a circle or the loop of a letter can form a closed path. Both are valid centerline geometry. Automatically closing every open path can turn a C into a loop, bridge a deliberate gap, or add a return line across the design.

Placeholder for image 4: Endpoints, junctions and intentional gaps
Image 4 — Geometry inspection (placeholder). Show three enlarged crops from the actual result: an open endpoint, a T-junction or crossing and a dashed section. Include the matching raster crop and visible vector nodes. Overlay the vector endpoint on the visible ink tip to show where the exported path actually ends. Identify which lines should meet and which gaps must remain. If cleanup is needed, label the before-and-after edit explicitly.

SVG or DXF: check the imported geometry and size

SVG is useful for vector editing, compatible laser software and pen-plotter workflows. DXF is commonly used for CAD/CAM handoff. Choose the format your software imports reliably, then check that curves, separate paths and intentional gaps survive the import.

Verify a known dimension with the aspect ratio locked. Confirm SVG scaling or DXF import units if the size is wrong, especially when a DXF has no unit information. For a line-following drawing, measure between the intended path positions rather than assuming that the outside edges of thick source ink define the required size.

The paths describe where to move, not which operation to perform. Treat any imported layer names or colors as organizational aids; assign engraving, scoring, cutting, or plotting settings in the target software.

Using centerline paths for laser marking and line cuts

In LightBurn, Line mode follows vector paths. Use it for centerline marking or scoring and set power, speed and passes for the machine and material. Fill mode engraves enclosed areas; it is not the right operation for following an open stroke. Do not close a line merely to make Fill mode accept it.

Centerline paths can also define cuts along a line, such as slits and perforations. Check gap length, spacing and the material left between cuts. Tracing can carry small variations in slit length and spacing into perforation or living-hinge patterns. Rebuild dimension-critical patterns from known values and test flexibility and strength in the actual material. For the boundary of a part or a cutout, use Contour Vectorization instead.

Inspect the job preview for repeated passes and unwanted connectors. Avoiding an outline around each stroke can remove unnecessary travel for a line-marking job, but it does not guarantee a particular processing time or prevent all dark marks at crossings.

The path does not set the physical line width

Changing the SVG display stroke does not change a laser spot, cutter diameter, or pen tip. With an ideal round footprint, the mark extends half its width beyond each endpoint. Actual mark dimensions depend on the tool or spot shape, settings and material. Check the visible ends and remaining gaps on a sample at the final size.

Using centerline DXF for CNC engraving and scribing

Create a CAM operation that follows the selected vectors when their position is the intended tool route. In Vectric, Quick Engraving's Outline strategy runs the tool tip along the lines; a 2D Profile toolpath also offers an On option. An inside or outside offset serves a different purpose, such as keeping a cutter on one side of a part boundary.

Select the tool, depth or pressure, feed and safe clearance for the job. With a V-shaped engraving tool, depth affects the groove width; the thickness of the source ink does not specify that depth. Preview tool travel and retractions, then generate G-code with the post-processor for your controller.

Using centerline SVG with a pen plotter

Inspect the drawing at its final size using the actual pen width as a guide. Nearby lines may merge on paper even when they appear separate on screen. A uniform pen cannot reproduce all the pressure and thickness changes in the original handwriting merely by following its center.

Check pen-up moves and path order in the plotting software. Keep deliberate gaps and lift the pen between separate strokes; joining them can draw an unwanted connector. If you still have editable text, a suitable single-line font may be a cleaner starting point than tracing a raster version of an ordinary outline font.

Common centerline problems and what to check

  • Two lines around each stroke: confirm that you generated a centerline result rather than an outline trace. A pair of genuinely separate strokes in the source should not be merged.
  • Short branches at corners or line ends: compare with the original before removing them. A branch may be a tracing artifact, but a punctuation mark or short cross-stroke may be essential.
  • Missing strokes or gaps that have closed: inspect source contrast, compression and any image cleanup. Repair only confirmed defects; do not globally join all nearby endpoints.
  • A branching web or missing geometry inside a filled shape: the image may describe an area rather than a stroke. Use Contour Vectorization when its boundaries matter, or prepare a genuine line drawing instead.
  • Unexpected extra marks or cuts: check duplicates, connecting paths and operation assignments in the machine preview. Remove unwanted geometry without deleting separate details that happen to sit close together.

Check the file before engraving, cutting, or plotting

  • Compare the result with the source: inspect missing strokes, false branches, punctuation and letter loops.
  • Verify center paths rather than doubled outlines and remove unintended duplicate segments.
  • Confirm connections at junctions while preserving separate strokes, open ends and intentional gaps.
  • Check imported dimensions, curve quality and feature spacing at the intended physical size.
  • Select only the production paths; exclude page borders, annotations and other unwanted drawing content.
  • Assign the correct operations and tool or machine settings, preview travel and passes and test a representative sample.
Placeholder for image 5: Real centerline engraving or pen plot
Image 5 — Verified physical sample (placeholder). Photograph an actual laser-marked, CNC-engraved, or pen-plotted result from image 2. Include a close-up of the curve, crossing and dashed section so path position and physical mark width can be compared. Show a dash or slit with its measured physical length beside its exported path length. Record the effective mark or cut width and the tool, pen, or spot size where known; use the measurements to demonstrate actual endpoint extension rather than assuming a half-width result. Also record output size, material, machine settings, preset version and vector edits. Use a real result, not a mockup.

FAQ

Neither. Single-line describes how a stroke is represented: along its middle rather than around its two edges. A drawing can contain many paths, loops and branches. Separate strokes may require travel moves and your machine settings can intentionally run a path more than once.

Centerline paths preserve the line route, not the full inked shape or pen pressure. A physical tool or pen will produce its own mark width. If the outline of a thick letter or logo must stay intact, use Contour Vectorization and choose the appropriate cutting or filled-engraving operation afterward.

Several paths can meet at the same junction without leaving a visible gap. That is different from a broken connection. Check the endpoints and the machine preview rather than judging by path count alone. A flattened image also cannot reliably reveal the original handwriting order or which stroke was drawn over another.

No. Tracing recovers visible marks, not design dimensions, geometric constraints, or tolerances. Correct overall scale does not prove that individual features are accurate. Rebuild critical features from verified dimensions and remember that dimension lines or construction lines in a scan are not automatically machining instructions.

The files contain editable vector geometry, not a configured machine job. Import them into compatible laser, CAM, or plotting software, confirm size and operations and preview the result. CNC jobs also require toolpaths and machine-specific G-code; changing the file extension does not create either.

Continue with your workflow

Contour Vectorization guide

Prepare shape boundaries, holes and engraving detail when the job needs profiles rather than center paths.

Tonal Line Vectorization guide

Convert detailed photographs into SVG linework when the source has texture and tone rather than drawn strokes.

SVG optimization for pen plotting

Review path structure, pen lifts and travel before sending a vector drawing to a plotter.

Try Centerline Vectorization with your line drawing

Start with a clear PNG or JPEG, then inspect the paths for your laser, CNC, or plotting workflow.

Open Centerline Vectorization

Want to clean or measure your SVG first?

Inspect dimensions and edit paths in your browser, without uploading.

Open Free SVG Editor

Comments

Please login or create an account to write a comment.

Login or Signup

Loading comments...

Laserlinez

Cut-ready SVG and DXF contours for laser and CNC.

Open Workspace

1 file = 1 credit · from $0.10

Services

  • Contour VectorizationSVGDXF
  • Centerline VectorizationSVGDXF
  • Tonal Line VectorizationSVG
  • Photo to SVG Manual ProSVGPNG
  • SVG to DXFDXF

Resources

  • Gallery
  • API
  • Technology
  • Helpful Guides
  • All conversion tools→

Company

  • Pricing
  • About Us
  • Custom Development
  • Contact

Compatible with LightBurn, xTool and CNC

  • Legal
  • Privacy Policy
  • Terms
  • Cookies