Sub topic 2
Handle transparency and flattening
This chapter assumes you know Photoshop layers, can open File > Export, and understand that JPEG files have no transparency channel. Transparency is stored as an alpha channel, one opacity value per pixel.
Keep or remove transparency
PNG, GIF, SVG, and WebP can store transparency. JPEG cannot. When you export a layered document with transparent areas to JPEG, Photoshop fills those areas with a solid color, so a logo that looked clean on a dark page can gain a white box.
To flatten the image yourself, choose Layer > Flatten Image. This merges all layers into one background layer and fills transparent pixels with white. Save a copy of the layered file first, because flattening cannot be undone after you close the document.
Export with the Export As dialog
Choose File > Export > Export As. Set the format, scale, and size in the left panel. Check the preview in the image pane and the file size shown below it. For a transparent logo, choose PNG-24 or WebP and keep the transparency option on.
Export As checklist
1. Format: PNG-24 or WebP for transparency
2. Scale or size: match the display size
3. Preview: check edges and shadows at 100% zoomExport As writes a copy. Your source document stays layered and editable.
Balance quality and file size
For JPEG and WebP, the Quality setting controls compression. For photos, start near 80 to 85. Lower values shrink the file but add blocky artifacts around edges and gradients. PNG is lossless, so the quality setting does not apply. To shrink a PNG, reduce its dimensions or its color count instead.
Decide what metadata to keep
The Metadata menu in Export As offers None, Copyright, Copyright and Contact Info, All Except Camera Info, and All. Keep copyright fields for images you publish under your name. Remove the All option for phone or location photos, because GPS data can reveal where and when a photo was taken.
Speed up repeat exports with Quick Export
Quick Export as PNG and Quick Export as JPEG, both under File > Export, save a file immediately. They reuse the settings you last chose in Export As and skip the dialog. Use them for repeat exports of the same asset. Confirm the settings once in Export As before you rely on Quick Export for a new file, because it shows no preview.
Exercise
Exercise
You have a logo with a transparent background and a soft drop shadow. Which format and settings keep the shadow and the transparency, and why?
Show answer
Export as PNG-24 or WebP with transparency enabled. PNG-24 is lossless and stores the full alpha channel, so the shadow keeps its gradual fade. JPEG would fill the transparent area with a solid color and would compress the shadow into visible bands.