Print

Screen Printing from a JPG: Vector Files with One Screen per Ink

6 min read

To get a design ready for screen printing, convert the picture, JPG or PNG, into SVG in flat colour, bring those colours down to the inks you will print, and make one black film per ink. Each film burns one screen.

A bird from a scanned William Morris fabric, then the same bird as hairline vector outlines, then the flat-colour SVG

We tried it on a piece of Strawberry Thief, the fabric William Morris designed in 1883, from a museum scan of a print made around 1934. The plan was a 30 cm square of it on a navy tote bag. A scan of printed cloth is a harder start than a PNG exported from a design program: the weave, the faded ink and the light all turn into colours of their own.

Seven hundred gradients and fourteen hundred colours

Left on its defaults, the conversion used Smooth gradients, 717 of them in this file. On a monitor it looks just like the cloth. A press has no use for them: each screen lays down one ink, solid, and a soft blend would first have to be broken into dots.

So we set Gradients to Stepped, a setting you get from Lite up. Every shape is then a single flat colour. That still left 1,409 colours in 9,641 shapes, 6.8 MB. Up close we could see where they came from. The weave of the cotton had come through as thin horizontal streaks over the navy and across the pink of the bird's neck.

Detail, in the same panel, set to Low merges the smallest of those. The second conversion had 629 colours in 4,148 shapes, half the file, and most of the streaks were gone, though a few stayed on the pink wing. The birds, the spots on their breasts and the strawberries looked the same. We carried on with this file.

The scan and two flat-colour conversions. With Detail on Low the weave streaks over the navy and the bird's neck mostly merge away.

Both files also came out a little brighter and bluer than the faded scan. Here that did not matter, because the next step replaces every colour anyway.

Choosing eight inks ourselves

Sent as it is, a file with 629 colours asks for 629 screens. We looked at the largest areas of each colour and wrote down eight inks: navy, blue, cream, yellow, pink, red, green and brown. In Illustrator, Edit › Edit Colors › Recolor Artwork with the number of colours set to 8 moves every fill to the nearest of them, and you pick the exact ink for each. Inkscape and Affinity Designer have no command like that. There you select one colour with Select Same Fill and change it, again and again.

Inkscape can make eight colours straight from the scan, with Trace Bitmap set to multiple scans and 8 colours, so we tried that too. It chose the eight on its own, and none of them was red. The strawberries came out olive with pink seeds, and the whole cloth went a shade greyer. The spots on the birds' breasts got rings of another colour around them.

Left, Inkscape picked eight colours and left out red. Right, our file with every fill moved to the nearest of the eight inks we picked.

Our merge swallowed things as well. The dark green in the shadows of the leaves had no ink of its own and went to brown and navy, and the cream petals of the strawberry flowers picked up yellow streaks. Look at those places before the file goes anywhere. A colour that matters gets an ink of its own, or you recolour its shapes by hand.

The bag is navy already

Navy covered 40% of the design, and the bag itself is navy. Printing navy on it would cost a screen and change nothing, so we deleted every navy shape, 1,182 of the 4,148.

That did not work. A cream field appeared between the birds, and the blue oak leaves in the middle ran together into one blob. About a quarter of the picture changed colour. The shapes in the usual file are stacked: a large cream shape and a large blue one lie under the navy, and the navy on top only drew the gaps between the leaves. With the navy gone, what lay underneath showed.

We converted the scan once more, this time with Geometry on Flat, another of the conversion settings. A flat file has no shape lying beneath another: every shape has a hole where its neighbour sits. Deleting the navy there left holes down to the bag, and the design stayed whole. The flat file is heavier, 4.5 MB against 3.3, because every edge is stored twice; without the navy it is 2.9 MB.

Navy deleted from both files, shown on the colour of the bag. The stacked file lets the cream and blue shapes underneath through; the flat one lets the bag through.

Seven films, and what the red one held

Each remaining ink becomes a film: hide every other colour and fill that one black. Illustrator shows them under Window › Separations Preview, and separation software at the print shop makes them from the same file. In a flat file each ink is only where it prints, so nothing depends on how a program knocks out the shapes underneath. The file opened 50 cm wide in Inkscape, since the SVG states its width in points, one per pixel of the scan, and we scaled it to 30 cm first.

One film per ink from the flat file, and all seven on the navy bag. Blue covers the largest share of the square; the red film is the strawberries and a scatter of specks.

Blue covers 16% of the square and red barely more than 1%. The red film holds the strawberries, ten pieces over a centimetre across, and 104 more bits spread over the whole square, 54 of them under a millimetre at 30 cm. They are grains of the scan that happened to land nearest to red. Across the seven films we counted 494 pieces under half a millimetre, most of them on cream and brown. A screen will not hold most of them, or they print as dust, so select and delete them or give them the ink around them. The printer knows the smallest dot their mesh holds.

We left two things to the printer. Trapping, a slight overlap between neighbouring inks so the bag does not show through when the press shifts, depends on their press. A white underbase under the light inks on a dark bag is one more screen, and they add it.

Starting from your own file

A PNG from a design program or a T-shirt graphic from an image generator has no weave in it, so it comes back with far fewer colours than this scan. The rest of the work is the same. Uploads take PNG, JPEG, WebP and BMP files up to 50 MB.

Before paying, you can watch your own design convert in the home page demo, without an account; it shows the result only as an image, with the default Smooth gradients. The SVG itself comes with a Lite subscription or higher, and Lite is also the plan where Gradients, Detail and Geometry appear in the settings. EPS and PDF, the formats many print shops ask for, start on Pro. You then find the file in your workspace queue and dashboard, kept 24 hours if you leave the storage time as it is.

For direct-to-garment, DTF and sublimation you can skip the inks and the films: those print in full colour, so the number of colours does not matter.

Related guides