Generate 1× and 2× PNGs from a Photoshop layer

Set the output sizes in the layer name and verify both PNGs after a change.

Asset preparation2 min read

A campaign icon needs a 120 × 80 px PNG and a 240 × 160 px version. Photoshop can export both from the same layer and regenerate them after a change.

Set the two outputs

Save the PSD locally in a known folder. Enable File → Automate → Generator Plugins → Image Assets. Rename the icon layer in the Layers panel:

Plain text
icon.png, 200% icon@2x.png

Save the PSD and open the assets folder beside it.

FileExpected size
icon.png120 × 80 px
icon@2x.png240 × 160 px

This example assumes the rendered layer bounds are exactly 120 × 80 px. Generator scales the layer content. Check the exported size if the layer has transparent padding or effects. A 2× export from a 120 × 80 raster layer adds pixels but cannot recover missing detail; inspect the larger output and use a higher-resolution source if it looks soft. Adobe’s Image Assets guide and resampling guidance.

Verify regeneration

Change the icon color without changing its bounds and save. Reopen both PNGs. They should show the new color and retain their sizes. If the files are missing, verify that Image Assets is enabled for the document and that the layer name contains both extensions and the comma. A colon or asterisk in the layer name prevents asset generation. For a cloud document, look in your Documents folder under Adobe/Photoshop Cloud Associates, then open the subfolder for that document. To stop automatic regeneration for this document, deselect Image Assets in the same menu.

Image tools
All guides
Generate 1× and 2× PNGs from a Photoshop layer | Formatry Media — Formatry