Sub topic 1
Start with the destination: where the image will be shown
Every export setting depends on where the file will appear. A banner on a 1600-pixel-wide website needs different settings than a 1080-pixel social post. Decide the destination first, then set the size, color, and format.
Prerequisites
You should know Photoshop layers, the canvas, and the Image menu. You should understand that a raster image is a grid of colored pixels, and that transparency is stored as an alpha channel.
Set pixel dimensions and resample
Screens measure images in pixels, so set the size in pixels. Open Image > Image Size, enter the target width, and keep the link icon on so the aspect ratio stays fixed.
Resampling changes the pixel count. Use Bicubic Sharper when you shrink an image, because it keeps edges crisp. Use Bicubic Smoother when you enlarge one. Photoshop must invent pixels during enlargement, so avoid enlarging small images. Resize once at export time and keep the master document unchanged.
Convert to sRGB for consistent color
Browsers and most phones assume the sRGB color space. A file tagged with another profile, such as Adobe RGB, can look washed out or oversaturated when displayed on the web. Choose Edit > Convert to Profile, set the profile to sRGB IEC61966-2.1, and convert before you export so the preview matches the saved file.
Choose a format
Pick the format from the content and the destination.
| Format | Best for | Transparency | Compression |
|---|---|---|---|
| JPEG | Photos and smooth gradients | No | Lossy |
| PNG | Logos, text, screenshots | Yes | Lossless |
| GIF | Simple animations, few colors | Yes (1-bit) | Lossless, 256 colors |
| SVG | Vector logos and icons | Yes | Vector, scales cleanly |
| WebP | Web images in modern browsers | Yes | Lossy or lossless |
Exercise
Exercise
You need a photo for a website hero banner with no transparent areas, and a company logo with a transparent background. Which formats do you choose, and why?
Show answer
Export the photo as JPEG because it handles photographic detail with small file sizes and has no transparency needs. Export the logo as PNG because it keeps transparent pixels and stays sharp for flat graphics. If the logo is vector artwork, SVG is also a good choice.