Sub topic 2
Creating a new document: size, resolution, color mode, and background
This chapter assumes you know the Photoshop workspace (menus, panels, tools), what a pixel is, and what a layer is. It covers the choices in the New Document dialog and how each one affects the file you save later.
What the New Document dialog decides
Choose File > New (Ctrl+N on Windows, Cmd+N on macOS) to open the dialog. Every setting in it becomes a property of the document. Some can be changed later and some cannot be changed cleanly.
| Setting | What it controls | Easy to change later? |
|---|---|---|
| Width, height | Pixel dimensions of the canvas | Yes, with Image > Canvas Size or Image Size, but resampling softens pixels |
| Resolution | Pixels per inch (ppi) stored as metadata | Yes, if you do not resample |
| Color mode | How each pixel's color is stored (RGB, CMYK, and so on) | Possible, but conversion can shift colors |
| Bit depth | Bits per channel (8, 16, or 32) | Possible, but increasing it does not restore lost detail |
| Background contents | Whether the bottom layer is a filled Background layer or transparent | Yes, with some steps |
| Color profile | The color space that gives the numbers meaning | Convert or assign later, with side effects |
Presets and units
The dialog groups presets under tabs such as Photo, Print, Art & Illustration, Web, Mobile, and Film & Video. A preset only fills in the fields below it. It sets no hidden behavior, so you can start from a preset and then edit any field.
Pick the unit first, then type the numbers. Typing "1920" while the unit is inches asks for a canvas 1920 inches wide. Photoshop warns you when a size is too large, but it does not warn you about every unit mix-up.
The Artboards checkbox creates the document with an artboard, which suits UI and multi-screen design. Leave it off for ordinary single-canvas work.
Size and resolution are separate ideas
The pixel dimensions are the real size of the image. Resolution only says how many of those pixels Photoshop should place in each inch when printing. The relationship is:
print size in inches = pixels ÷ ppi
A 1920 × 1080 canvas shows how this works:
- At 72 ppi it prints at about 26.7 × 15 inches.
- At 300 ppi it prints at 6.4 × 3.6 inches.
The pixel data is identical in both cases. Changing the ppi field in the New Document dialog changes nothing about the screen appearance of the image, because screens show pixels, not inches.
This leads to two practical rules:
- For screen delivery (web, video, apps), set the pixel dimensions to the exact target size. The ppi value does not matter for the result. 72 is a common convention.
- For print, decide the physical size and the printer's required ppi, then multiply. A 6 × 4 inch print at 300 ppi needs 1800 × 1200 pixels.
When you change the physical size later with Image > Image Size, the Resample checkbox is the deciding setting. With it off, Photoshop changes ppi and keeps the pixels. With it on, Photoshop adds or removes pixels by interpolation, which can blur an image that is enlarged.
Pixel count also drives memory use. An uncompressed 8-bit RGB layer at 1920 × 1080 holds 1920 × 1080 × 3 = 6,220,800 bytes, about 6.2 MB. Each full-size layer adds roughly that much. A 16-bit document doubles it, and a 32-bit document doubles it again.
Color mode and bit depth
Color mode sets the channels each pixel has:
- RGB has red, green, and blue channels. It is the right default for anything shown on a screen and for most photo work.
- CMYK has cyan, magenta, yellow, and black channels. It matches the inks of commercial printing, but you should use it only when your print provider asks for it. Many filters and features work less well in CMYK.
- Grayscale has one channel. It is useful for black-and-white work and for masks.
- Bitmap holds only pure black and white pixels. It is rare.
- Lab separates lightness from color. It is used for specialized corrections.
The mode you choose limits the formats you can save to. PNG cannot store CMYK, for example, while JPEG can. Starting in the mode you will deliver in avoids a conversion later. A conversion changes pixel values, and converting back does not restore the originals.
Bit depth is the number of bits stored per channel. 8-bit gives 256 levels per channel and is enough for most web and graphic work. 16-bit gives 65,536 levels. It is worth using for heavy tonal edits on photos, where 8-bit data can show banding in smooth gradients. 32-bit is for high dynamic range work. JPEG always stores 8 bits per channel, so a 16-bit document is reduced when you save to JPEG.
Color profile (Advanced Options)
Expand Advanced Options to see the Color Profile and Pixel Aspect Ratio. A color profile defines what the numbers in each channel mean as actual color. For RGB documents, the usual choices are:
- sRGB IEC61966-2.1 is the safe choice for the web, because browsers and most displays assume it.
- Display P3 is a wider range, suited to modern wide-gamut displays.
- Adobe RGB (1998) is a wider range that is mostly used in print-oriented photo workflows.
Choose the profile when you create the document. Pixels you paint are stored relative to it. If you later assign a different profile to existing pixels, the colors change appearance. If you convert to a different profile, the numbers change to keep the appearance. These are different operations with different results.
Leave Pixel Aspect Ratio at Square Pixels unless you are preparing video footage that uses non-square pixels.
Background contents
The Background Contents setting decides what the first layer is:
- White, Black, or Background Color creates a locked layer named Background, filled with that color.
- Transparent creates an unlocked layer named Layer 1 with no pixels, shown as a checkerboard.
- Custom lets you pick a fill color.
A Background layer is special. It cannot hold transparency. It sits at the bottom of the stack and cannot be moved or have its blending mode changed while it keeps the Background status. Erasing on it paints with the background color. Double-click the layer (or choose Layer > New > Layer from Background) to turn it into a normal layer.
Choose Transparent whenever the final result may need transparency, such as a logo, a sticker, or a cut-out. You can always add a solid color layer underneath later, but making a Background layer transparent takes extra steps. The later chapter on transparency covers which formats keep it.
Decision flow
Creating a document with a script
The dialog is fine for one-off work. A script gives you the same document every time. This ExtendScript (run it with File > Scripts > Browse) makes the 1920 × 1080 banner from the example above.
// ExtendScript (run via File > Scripts > Browse)
var doc = app.documents.add(
new UnitValue(1920, "px"),
new UnitValue(1080, "px"),
72,
"Banner",
NewDocumentMode.RGB,
DocumentFill.WHITE
);The arguments are, in order: width, height, resolution, name, color mode, and initial fill. The method accepts three more optional arguments: pixel aspect ratio, bit depth, and color profile name. This version makes a transparent 16-bit document with an explicit profile:
// ExtendScript: transparent, 16-bit, sRGB document
var doc = app.documents.add(
new UnitValue(1200, "px"),
new UnitValue(1200, "px"),
72,
"Logo",
NewDocumentMode.RGB,
DocumentFill.TRANSPARENT,
1.0,
BitsPerChannelType.SIXTEEN,
"sRGB IEC61966-2.1"
);Common mistakes
- Using the wrong unit. Check the unit drop-down before typing numbers.
- Treating ppi as quality. Raising ppi without resampling does not add detail. Only the pixel dimensions hold detail.
- Starting in CMYK for web work. The result then has to be converted to RGB, and some filters are unavailable in CMYK.
- Choosing a white Background for a logo. You then have to delete the white before exporting a transparent PNG.
- Leaving 16-bit on without a reason. It doubles memory and file size, and JPEG output discards the extra depth.
Exercise
You need a poster print of 12 × 18 inches at 300 ppi, to be printed on a press that wants CMYK files, and you want a white page. What width and height in pixels do you create, what color mode do you choose, and what Background Contents do you pick? Why is the 72 ppi default wrong here?
Show answer
Multiply inches by ppi: 12 × 300 = 3600 pixels wide and 18 × 300 = 5400 pixels high. Choose CMYK color mode, and choose White for Background Contents, which creates a locked Background layer. A 72 ppi setting with the same inches would give only 864 × 1296 pixels, which prints at roughly a quarter of the linear detail needed and looks soft.