LaserCanvas

Vector and raster: why a JPEG cannot be cut

A vector file stores lines and curves as maths, so a laser can follow them — SVG, DXF, AI, PDF. A raster file stores a grid of pixels, which can only be engraved. You can trace a raster into vectors, but tracing guesses, and it guesses worst on exactly the low-quality images people usually want traced.

Updated 2026-09-16

Two ways to store a picture

VectorRaster
StoresPoints, lines and curves as coordinatesA grid of coloured pixels
FormatsSVG, DXF, AI, EPS, PDFJPG, PNG, GIF, BMP, most PDFs from a scanner
ScalingPerfect at any sizeBlurs or blocks up when enlarged
Laser canCut, score or engraveEngrave only
Good forAnything with an outlinePhotographs and textures

The reason for the last row is simple: to cut, the machine needs a path to follow. A vector file *is* a list of paths. A raster file is a description of colour at each point, with no lines in it at all — the lines you see are an impression created by adjacent dark pixels.

The same letter shown as a vector path with its control points, and as a grid of square pixels Vector — stored as coordinates the machine follows the line can be cut, scored or engraved Raster — stored as pixels there is no line to follow can only be engraved
A vector stores the line itself, so the machine has something to follow. A raster stores colour at each point — the edge you can see is an impression made by adjacent dark pixels, and there is no path in the file to cut along.

Tracing, and what it costs

Tracing — sometimes called vectorising — looks at a raster image and generates paths around regions of similar colour. It is genuinely useful and it is always a guess.

Trace when you have no alternative, and redraw when accuracy matters. For simple shapes, drawing over the image by hand takes less time than cleaning up a trace.

Asking for the right file

When a client sends a logo as a PNG from their website, the useful request is specific:

Which to use for what

JobUseWhy
Cutting any shapeVectorThe machine needs a path
Score lines, fold linesVectorSame
TextVector, outlinedSharp at any size; engraved raster text looks soft
LogosVector if at all possibleEdges are the whole point of a logo
PhotographsRasterContinuous tone is what raster is for
Textures and shadingRasterDithering handles it; vectors cannot

One file can hold both

A job often wants both at once: a vector outline to cut the part, a raster image engraved on its face. That is normal, and the two go on separate layers with separate operations — engrave first while the part is still held by the sheet, cut last.

Common questions

Can I laser cut a JPEG?

Not cut, only engrave. A JPEG stores pixels rather than paths, and a laser needs a path to follow. You can trace it into vectors first, but tracing guesses at where the edges are, and the result is only as good as the image you started from.

What file format is best for laser cutting?

SVG or DXF for anything to be cut, because both store real paths and both are widely supported. SVG carries units and colours well; DXF is the CAD convention and is millimetres by default. AI and vector PDF work too, though support varies more between tools.

Why does my traced logo have wobbly edges?

Because the tracer is following the boundaries between pixels, and at low resolution those boundaries are stepped. JPEG compression makes it worse by adding noise around hard edges, which gets traced as if it were detail. A higher-resolution source helps; redrawing helps more.

Should I convert my photo to vector before engraving it?

No. Photographs are exactly what raster is for, and a laser engraves them by dithering the tone into dots. Vectorising a photo throws away the continuous tone that makes it look like a photograph, and gives you a posterised outline instead.

Written by a human with AI assistance and reviewed before publication. Mistakes are still possible — treat settings as starting points and test on scrap.