Sub topic 2
Creating a New Document: Size, Resolution, Color Mode, and Background
Assume you know the Photoshop workspace, pixels, image dimensions, and basic layer concepts. A new document is a blank Photoshop file with a defined canvas. Before you create it, decide where the image will be used and whether it will be edited for print, screen, or both.
Set the canvas size
Choose File > New to open the New Document dialog. Set the width and height in pixels for screen work. For example, a web banner might be 1920 × 1080 pixels.
The pixel dimensions determine how much image detail the document can contain. Increasing the dimensions later can make an image look soft because Photoshop must create pixels that were not present originally.
Resolution is measured in pixels per inch, or ppi. It describes how densely pixels will be placed when the image is printed. It does not add detail to a document that already has fixed pixel dimensions.
Use 72 or 96 ppi for many screen-oriented workflows. Use 300 ppi when preparing an image for high-quality print, while also setting the physical print size correctly. A 6 × 4 inch image at 300 ppi needs 1800 × 1200 pixels.
Choose color mode and bit depth
Color mode defines how Photoshop stores color.
- RGB uses red, green, and blue channels. Use it for screens, websites, video, and most digital images.
- CMYK uses cyan, magenta, yellow, and black channels. Use it when a printer or press requires a CMYK file.
- Grayscale stores brightness rather than color.
Bit depth describes how many tonal values each channel can store. Eight-bit documents are smaller and widely supported. Sixteen-bit documents preserve more editing information and reduce banding during heavy adjustments, but they use more memory and may not support every filter or export path.
Choose the mode and bit depth from the intended workflow, not just from the source image. You can convert later, but conversion can discard color information.
Select the background
The Background Contents setting controls the first layer or canvas appearance.
- White creates an opaque white background.
- Background Color uses the current background color.
- Transparent creates an empty canvas with an alpha channel. Photoshop displays transparency as a checkerboard.
A transparent background is useful for logos, icons, and graphics that must be placed over different colors. A white background is appropriate for a document that will remain a solid page or poster.
Create a document with a script
ExtendScript can create repeatable documents. Run this example from File > Scripts > Browse after saving it as a JavaScript file.
// ExtendScript for Adobe Photoshop
var doc = app.documents.add(
new UnitValue(1920, "px"),
new UnitValue(1080, "px"),
72,
"Banner",
NewDocumentMode.RGB,
DocumentFill.WHITE
);
alert(doc.name + " created: " + doc.width + " x " + doc.height);The script creates an RGB document with a white background. The resolution is 72 ppi, while the canvas remains 1920 × 1080 pixels.
Exercise
You need a 6 × 4 inch photo for a high-quality print. What pixel dimensions and resolution should you enter?
Show answer
Enter 1800 × 1200 pixels at 300 ppi, then choose RGB or CMYK according to the printer's requirements.