What Layer Flattening Means
A PSD file has multiple layers (fill layers, adjustment layers, smart objects, layer effects). When you save as PNG:
- Layers merge into a single layer
- Adjustment layers compute their final effect
- Smart objects render at full resolution
- Layer effects apply to the underlying pixels
- Result is a single, flat image
The flattened PNG can't be re-edited at the layer level. The original PSD must be retained for ongoing work.
This post covers the practical PSD to PNG workflow. For broader photo master context, see TIFF vs DNG vs PSD.
When PSD to PNG Is Right
PSD to PNG is the right path for:
- Web delivery: PNG works in browsers; PSD doesn't
- Print to consumer: PNG is universal
- Archiving final images: smaller than PSD, no layer overhead
- Sharing with non-Photoshop users: universal compatibility
- Compositing into other tools: simple raster format
For ongoing editing: keep PSD. For finished delivery: PNG.
Photoshop Workflow
For single-file export:
- File > Export > Export As
- Format: PNG
- Settings: 24-bit (with alpha), or 8-bit (smaller, no alpha)
- Click Export
For batch export:
- File > Scripts > Image Processor (or File > Automate > Batch)
- Set source folder
- Set destination folder
- Format: Save as PNG
- Click Run
Photoshop's Image Processor handles batch conversion with consistent settings across many PSDs.
Transparency Handling
PSD layers preserve transparency natively. PNG supports transparency:
- 8-bit alpha: full transparent-to-opaque range
- 1-bit alpha: only fully transparent or fully opaque
For most modern use: 8-bit alpha PNG. The ~5-10% file size penalty is worth it.
In Photoshop:
- Background layer (non-deletable) means no transparency
- Convert background to layer (Layer > Background from Layer or double-click)
- Then transparent areas appear as checker pattern
Programmatic PSD to PNG
For batch conversion outside Photoshop:
ImageMagick:
# Basic PSD to PNG (flattens automatically)
convert input.psd output.png
# With alpha preserved
convert input.psd[0] -alpha set output.png
Python with psd-tools:
from psd_tools import PSDImage
psd = PSDImage.open("input.psd")
image = psd.composite()
image.save("output.png")
Aseprite, Pixelmator, GIMP: all handle PSD-to-PNG export.
For batch processing patterns, see Batch Processing Files Guide.
Layer Effects Preservation
Layer effects (drop shadow, glow, bevel, stroke) are computed at flatten time. The flattened PNG includes the visual result.
For complex layer effects:
- Verify effects render correctly in Photoshop preview
- Export with effects active
- Inspect output PNG; verify effects appear
Some effects (Outer Glow with high blur) can produce unexpected halos in the flattened image. Test and adjust.
Smart Objects
Smart objects are linked or embedded references in PSD. When flattening:
- Embedded smart objects: rendered at the resolution stored in the PSD
- Linked smart objects: rendered from the linked source file
- Smart filters: applied at flatten time
For smart objects with vector content (Illustrator artwork, SVG): the flattening rasterizes them to pixels at the target resolution.
For PDF context, see PDF Merge Split Rotate Tools.
Resolution Considerations
PSD can store resolution metadata (DPI for print). PNG also stores DPI:
# Set output DPI when exporting
convert input.psd -density 300 output.png
For print: 300 DPI. For web: 72-96 DPI (size doesn't matter; pixels do). For Retina displays: 144 DPI source for sharp rendering.
For broader print context, see CMYK vs RGB Printing.
Color Profile
PSD supports embedded ICC profiles. PNG supports the same:
# Preserve color profile
convert input.psd -profile sRGB.icc output.png
For sRGB working space (web): no profile needed (assumed sRGB). For wider gamut (Adobe RGB, P3): embed the profile explicitly.
File Size Comparison
For a 4000×3000 multi-layer PSD:
| Format | File size |
|---|---|
| PSD with 10 layers | 200-500 MB |
| PSD flattened | 80-150 MB |
| TIFF (LZW) | 60-120 MB |
| PNG (flattened) | 20-50 MB |
| JPG (q=92) | 4-10 MB |
PNG is 2-5x smaller than equivalent PSD. The layer information is what costs space in PSD.
Multi-page PSD Export
For multi-artboard PSDs (one PSD with multiple distinct designs):
- File > Export > Artboards to Files
- Each artboard becomes a separate PNG
This is common for design system exports, app screen exports, etc.
Common Issues
PNG looks different from PSD preview: layer effects rendered differently. Verify in Photoshop preview before export.
Transparency lost: background layer not converted. Right-click Background > Layer from Background.
File size huge: 16-bit RGB unnecessarily for web. Convert to 8-bit before saving.
Color shift after export: ICC profile mismatch. Use Convert to Profile > sRGB.
Smart objects rendered at wrong resolution: PSD's stored resolution differs from current display. Flatten manually first.
For broader image format context, see TIFF vs DNG vs PSD.
Frequently Asked Questions
Should I keep both PSD and PNG?
Yes if ongoing editing is possible. For one-time exports: PSD as backup, PNG as deliverable.
Can I open PSD without Photoshop?
Yes. GIMP, Affinity Photo, Pixelmator, Krita, Photopea (browser-based) all read PSD with varying fidelity.
Why are PSD files so large?
Each layer is preserved with its full pixel data. Layer effects are stored as parameters. Smart objects can include embedded source files.
Should I use PNG-8 or PNG-24?
PNG-24 (24-bit + alpha) for most quality-conscious work. PNG-8 (256-color palette) for simple graphics where size matters.
What about lossy PNG?
Tools like pngquant produce "lossy PNG" by reducing color count. File size drops 50-70% with minor quality loss.
pngquant --quality=80 input.png
Can I convert PNG back to layered PSD?
No. The flattening is one-way. The PSD source must be retained.
Related Reading
Bottom Line
For PSD to PNG in 2026: Photoshop's Image Processor for batch in Adobe ecosystem, ImageMagick or psd-tools for programmatic batch, Photopea for browser-based. Preserve transparency with 24-bit PNG. Keep PSD source for ongoing editing. Our image converter handles related image format conversions.



