What is a raster image? Pixel-based artwork and its limits

Published , by the PrintBlob team.

A raster image is a picture stored as a fixed grid of pixels, each with its own colour, which is how photographs and almost every file a customer uploads are made. Because the grid has a set size, a raster image has a best size to print at and gets softer, then blocky, when printed larger. It is the opposite trade to a vector graphic, which has no pixels to run out of.

What makes it raster

Custom Ink’s file guide gives the quick test: zoom to 400 per cent. Blocky edges or visible squares mean raster; edges that stay crisp mean vector. Extensions are a hint, not proof, because a PDF or an EPS can hold either, and a raster picture can sit inside a vector file. The common raster extensions are .jpg, .png, .gif, .psd, .tif and .bmp.

Strengths and limits

Raster Why it matters to a shop
Photographs, shading, textures Reproduced faithfully Customers’ photos are raster
Enlarging Fixed pixel count; loses sharpness Size in the design decides quality (effective resolution)
File size Grows with the pixel count A 20 MB upload limit is common
Editing Pixels are changed one by one Cleaning an edge means editing pixels
Transparency Only in formats that carry it PNG does, JPEG does not
Cutting and stitching Not usable directly Vinyl cutters and embroidery need outlines first

Printify’s comparison of SVG and PNG states the practical division: keep the vector file as the master, since it resizes to any placement, and export a PNG at the exact print size as the delivery file for DTG and DTF printers. The printer’s software reads a PNG’s transparency and gradients directly; converting a vector file to pixels at the printer’s end can cause substitutions such as a different font.

When raster is the right file

  • Photographs and artwork with gradients, soft shadows or paint-like texture.
  • DTG, DTF and sublimation, which print pixels: a transparent PNG at the right size is the usual delivery. The DTF image checker checks one against the rules.
  • Anything a customer made on a phone, where there is no choice.

Raster is the wrong file for vinyl cutting and embroidery, and risky for screen printing of flat colours, where a vector file separates more cleanly. Converting between them is possible but lopsided: rasterising a vector is a clean one-way step, while turning pixels back into outlines (image tracing) is an approximation.

In PrintBlob

Customers upload PNG, JPEG or WebP images; the largest file is 20 MB by default and a design keeps up to 10 of the customer’s images. The order keeps each one as uploaded. PrintBlob renders every printed side as a transparent raster PNG at 300 DPI at the print area’s exact size (the front’s in the free plugin, every other side’s with PrintBlob Pro), and also makes a vector PDF and SVG, in which typed text is outlines and emoji are vector art, while a customer’s photo is still the same raster image embedded as uploaded. The designer warns when a raster image would print below 150 DPI at its placed size.

Sources