Guides

Files for laser engraving: vector or raster?

The file for laser engraving can be vector or raster: vector (SVG, AI, EPS, PDF) for logos, text and line drawings; raster (JPG, PNG) for photographs, with at least 300 dpi at actual size. COOLASER, a laser workshop in Italy, based in Gaeta (LT), receives both through the online request form; a part can also be designed in the online editor.

On this page
  1. In plain terms
  2. Vector and raster: the difference
  3. How the laser uses the two types of file
  4. Comparison
  5. Image resolution
  6. Photos and photo engraving
  7. Logos
  8. Text and minimum character size
  9. How it works
  10. How COOLASER receives files, photos and text
  11. Technical specifications
  12. Sources and checks
In plain terms

In plain terms

A laser engraves in two ways. It can follow a line, like a pen, or pass back and forth row by row, like a printer. To follow a line it needs a drawing made of paths, the vector file: this is the case for logos and lettering. To reproduce a photograph it needs the image made of dots, the raster file, which must be sharp and large enough. A photo taken with a phone can be sent as it is, with the dimensions of the object.

Vector and raster: the difference

A vector file describes a drawing with lines and curves defined by mathematical formulas; a raster file describes it with a grid of pixels. A vector file can be enlarged without losing quality, which is why it is the format of logos and technical drawings. Raster is the format of photographs: enlarged beyond its resolution it shows the pixels, and a slanted line becomes a staircase.

How the laser uses the two types of file

In laser engraving the beam moves in two ways, and the right file depends on the movement.

  • Raster engraving. The laser travels over the surface row by row, dot by dot, like an inkjet printer. It is the mode used for filled areas and letters, images and photographs.
  • Vector engraving. The laser follows the path, line by line, with the same movement as cutting and a lower power. It is suited to thin strokes, such as outlines and line drawings.

Type of file and type of movement do not always coincide: a vector logo with filled areas is engraved row by row, but starts from sharp outlines at any size. Cutting always requires a vector path: the rules are in the guide How to prepare a file for laser cutting.

Comparison

The table compares the vector file and the raster file in laser engraving.

FeatureVector fileRaster file
How it is madelines and curves defined by formulasgrid of pixels
FormatsSVG, AI, EPS, PDF, DXFJPG, PNG, WEBP, HEIC
Enlargementwithout loss of qualityquality drops beyond the resolution
Suitable subjectslogos, text, line drawings, cutting contoursphotographs, gradients, photographed hand drawings
Laser movementalong the path, or row by row on filled areasrow by row
To be checkedtext converted to outlinesresolution at actual size, sharpness, contrast

Image resolution

For a raster image to be engraved, laser machine manufacturers indicate at least 300 dpi at the actual size of the engraving. Dpi stands for dots per inch, that is, per 25.4 mm: an engraving 10 cm wide therefore needs about 1,200 pixels. What counts is the final size, not that of the file: the same photo may be enough for a keyring and not for a chopping board. The material also affects the detail: the same photo comes out differently on wood, acrylic (Plexiglas), stone or anodised aluminium, which holds fine details well.

Photos and photo engraving

Photo engraving reproduces a photograph with dots that are more or less dense. The photo is converted to greyscale, adjusted in contrast and put through halftoning (“dithering”), which turns the tones into a pattern of dots that the laser can engrave. The conversion is part of the job: the workshop needs the original photo. A suitable photo has these characteristics:

  • the subject is in focus and stands out clearly from the background;
  • the tones range from light to dark, with a sharp contrast;
  • the image is not dark, blurred or heavily filtered.

White is not engraved: a white background remains untouched material, a grey background becomes a texture of dots.

Logos

A logo is best engraved from its vector file: SVG, AI, EPS or PDF. A logo saved as a small image, for example one taken from a website, has stepped edges, and the engraving reproduces them; it may need to be redrawn. A logo in sharp black and white and at high resolution can also be engraved from a PNG or a JPG. A logo in several colours is prepared in a one-colour version: engraving does not reproduce the hues, it translates them into shades of grey. The exception is colour marking on stainless steel, described in the guide Marking, engraving or annealing.

Text and minimum character size

In a vector file text is converted to outlines, so that it does not depend on the font installed on the computer that opens the file. Alternatively, the request states the exact text, with capitals and accents, and the typeface required. On jewellery COOLASER engraves characters from about 0.6 mm in height; for comfortable reading with the naked eye it recommends at least 2 mm. On other materials the size depends on the material and the typeface. When each piece carries a different name or number, the data is supplied in an Excel or CSV file.

How it works

In the COOLASER online editor, a drawing tool in the browser that works in millimetres, a part to be cut and marked is designed in four steps.

  1. Shape. The part is drawn with shapes, holes and dimensions, or starts from a file; for tags and keyrings a generator prepares the shape with the hole.
  2. Text and graphics. Text is added; an image is imported as a reference to trace.
  3. Process. Each part of the drawing is assigned cutting or marking, with material and thickness, and the number of pieces is entered.
  4. Price and order. The price appears while drawing, with the 3D preview of the part; the order is paid for online.

For items supplied by the customer, jewellery and photo engraving the request form is used.

How COOLASER receives files, photos and text

For custom engraving COOLASER receives files, photos and text in the online request form. Without files, the dimensions and a description are enough; when there is no design, the workshop prepares a draft, to be approved before processing. The materials are on the pages Laser engraving on wood, leather, acrylic and stone, Jewellery engraving and Laser marking on metals and plastics.

Technical details for companiesTechnical specifications

Technical specifications

ItemValue
Vector files accepted by the formSVG, AI, EPS, PDF, DXF, DWG
Images accepted by the formPNG, JPG, WEBP, HEIC, GIF
Form limitsup to 10 files, 20 MB each and 30 MB in total
Variable dataExcel (XLS, XLSX) or CSV file
Marking area on metals and plasticsup to 220 Ă— 220 mm (200 Ă— 200 mm with the UV laser)
Engraving area on wood, leather, acrylic and stoneup to 915 Ă— 458 mm

Frequently asked questions

Does laser engraving need a vector or a raster file?

It depends on the subject: vector for logos, text and line drawings, raster for photographs. Vector gives sharp outlines at any size; raster reproduces the tones of a photo.

What resolution does a photo need for laser engraving?

A photo to be engraved has at least 300 dpi at the actual size of the engraving: a width of 10 cm needs about 1,200 pixels. Sharpness and contrast also count.

Can a photo taken with a phone be engraved?

Yes, if it is sharp, well lit and large enough for the size of the engraving. For photo engraving COOLASER receives photos in JPG, PNG, WEBP or HEIC.

Can a logo be engraved from a JPG or a PNG?

Yes, if the image is sharp and at high resolution; the sharpest result is obtained from the vector file of the logo.

How small can laser-engraved characters be?

On jewellery COOLASER engraves characters from about 0.6 mm in height and recommends at least 2 mm for comfortable reading with the naked eye. On other materials the minimum size depends on the material and the typeface.

Guides

COOLASER, a laser workshop in Italy, based in Gaeta (LT), receives both through the online request form; a part can also be designed in the online editor.