What is rasterising? Turning vector artwork into pixels

Published , by the PrintBlob team.

Rasterising converts vector artwork, which is lines, curves, shapes and text described mathematically, into a raster image: a grid of pixels at a fixed size. Once it is done, the artwork has the sharpness of the pixels it was given and no more.

Many print jobs involve it at some point: DTG and DTF printers print from pixels, so a vector logo has to be rasterised at the printed size before it can be printed.

What it does

Affinity’s documentation describes rasterising as converting lines, curves, shapes and text into pixel layers. It names a reason that applies to print: when complex vector gradients or effects need to be reproduced faithfully, particularly for print artwork. The page adds that if the layer has effects, you choose whether to keep them editable or bake them into the pixels; baked effects cannot be edited afterwards.

The key consequence is that rasterising is one way in practice. A picture of a circle cannot be turned back into a circle by software that sees only pixels; tracing can rebuild shapes, but approximately. See image tracing.

Choosing the size

Resolution is set when you rasterise, not afterwards. If the print will be 28 cm wide at 300 DPI, the pixels needed follow from that: a 28 × 36 cm print is 3307 × 4252 pixels. Rasterise at that size or larger. Rasterise small and enlarge later, and you have lower resolution than the artwork deserved; see upscaling and print resolution.

Situation Better choice
DTG or DTF print file Rasterise at the printed size at 300 DPI, transparent background
Screen printing, cutting, embroidery Keep vector
Effects that a printer’s software may draw differently Rasterise or flatten them at the end
A file you still want to edit Keep a vector master

Rasterising text

Text turned to pixels is no longer editable and no longer selects a font; its sharpness depends on the resolution. Often “outline the text” is the right step instead, which keeps it vector; see outlined text. Printable Press’s advice for mirrored transfer files is to rasterise or outline text, keep the mirrored copy separate and label files clearly.

Common mistakes

  • Rasterising at screen size (72 or 96 pixels per inch) and printing large.
  • Forgetting to keep the vector master.
  • Rasterising onto a white background when the shirt is dark.
  • Assuming rasterising can improve a logo that was already blurry.

In PrintBlob

Rasterising is done for you at the right size: the browser renders each printed side as a transparent PNG at exactly the print area’s size at 300 DPI (the front’s in the free plugin, every other side’s with PrintBlob Pro), and the vector PDF and SVG, with text as outlines, are made beside it for printers that want vectors. A customer’s photo stays the image they uploaded, so a vector file does not make it sharper. See print files.

Sources