Layer Asset Lab

Product poster to layers: a worked example with the PSD

A 800 × 1000 px skincare poster we rendered ourselves, so we know the exact shape of every object. It went through the editor's own code (one loose box per object, text lines, background fill, PSD export) run by our test script, which, like a user would, lifted the overlay text and left the words printed on the products in place. Here is everything that came out, with the numbers.

The flat poster: a serum bottle, a cream jar and a leaf sprig on a beige backdrop, the headline Glow Serum, and a green $24 price badge
Before: one flat image.
The background layer with the bottle, jar, sprig, badge and all text painted out; the floor shadows remain
The filled background. Everything lifted is painted out (31.2% of the picture); the contact shadows stay on the floor.

The layers

Object layer: Leaf sprig
Leaf sprigobject · 316 × 335 px
Object layer: Serum bottle
Serum bottleobject · 240 × 546 px
Object layer: Cream jar
Cream jarobject · 223 × 226 px
Object layer: Price badge
Price badgeobject · 156 × 154 px
Text layer: Glow Serum (pixels)
Glow Serumtext pixels · 493 × 62 px
Text layer: Vitamin C,30 ml (pixels)
Vitamin C,30 mltext pixels · 221 × 30 px
Text layer: $24 (pixels)
$24text pixels · 79 × 44 px

How close the cut-outs are

ObjectOverlap with true shapeHidden behind others
Leaf sprig99.1%21.2%
Serum bottle98.4%2.4%
Cream jar99.1%—
Price badge99.2%—

Overlap is intersection over union with the visible part of each object. The sprig is partly behind the bottle and the jar; its layer has gaps there, because nothing behind an object is invented. Background fill error inside the filled area: 2.8 on a 0–255 scale.

What the text layers say

On the posterRead asFont guess (true font)
Glow SerumGlow SerumGeorgia-Bold 78.7 px (Georgia 700, 78 px)
Vitamin C, 30 mlVitamin C,30 mlHelveticaNeue 29.6 px (Helvetica Neue 400, 30 px)
$24$24HelveticaNeue-Bold 47.3 px (Helvetica Neue 800, 46 px)

The reader dropped the space after the comma in “Vitamin C, 30 ml”; fix it in the type layer. The visible text layers are the original pixels, so the poster looks unchanged even where the reading or font guess is off.

Inside the PSD

Listed top to bottom as read back from the file by a PSD parser. It took 4.6 s on a recent laptop once the models were cached: 2.1 s to analyze the image, 0.5 s for the text and 1.2 s for the fill. Before you hand a file like this on, check the layers in your editor.