Automatic New Image Sizing in Photoshop

Being a tech­ni­cal writer who takes many, many (many) screen­shots, one of my favorite fea­tures of Photoshop is its abil­i­ty to auto­mat­i­cal­ly cre­ate new doc­u­ments of exact­ly the size I need.

When you take a screen­shot on your com­put­er using the PrintScreen but­ton on Windows or CTRL+CMD+SHIFT+3 on Mac, you take a snap­shot of your monitor(s) con­tents, at the size of your mon­i­tor display(s). For exam­ple, when I take a screen cap­ture on my dual mon­i­tor sys­tem, I grab an image that’s 2560 pix­els wide by 1024 pix­els deep. That screen­shot is cap­tured as a raster image on my sys­tem clipboard.

2007-10-06_pshoptip.gif

[Click image to zoom] Figure 1: The New Document dia­log auto­mat­i­cal­ly picks up the size of the clip­board data and sets the new doc­u­ment dimen­sions to match.
Insert cap­tion here

Switching to Photoshop CS, CS2, or CS3, I can press CTRL+N/CMD+N to bring up the New doc­u­ment dia­log (see Figure 1). Photoshop reads my clip­board and auto­mat­i­cal­ly fills in the Width and Height fields for me. The key is the “Clipboard” new doc­u­ment pre­set. After click­ing OK to cre­ate the new, blank Photoshop doc­u­ment, I only have to paste (CTRL+V/CMD+V); my screen­shot will come in as Layer 1, fit­ting per­fect­ly with­in the doc­u­ment dimensions.

Of course, the same trick works in oth­er sit­u­a­tions, too. Many Web browsers, for instance, offer the option to copy an image direct­ly from a Web page. Right-click (or Control-click using single-button Mac mice) on an image and select Copy from the con­text sen­si­tive menu to copy the image to the clip­board. Switch back to Photoshop, press CTRL+N/CMD+N, and note that Photoshop sizes the new doc­u­ment to fit the dimen­sions of the Web image. Click OK and paste. Ta da!