Mobile app version of vmapp.org
Login or Join
Bryan765

: Photoshop: How to save only the masked area of an edited photograph? Question If you have a PSD file that consists of one main mask (masking all other layers), isn't there an easy way to

@Bryan765

Posted in: #AdobePhotoshop #Export #HowTo #PhotoEditing

Question

If you have a PSD file that consists of one main mask (masking all other layers), isn't there an easy way to save just the masked area as an image?

Background

So I have a photograph I've edited in photoshop, mostly cropping things and moving them around. As a final step, I created a rectangular mask to crop everything (while keeping all of my layers and edit history in tact). The end result is a picture of my wife standing in a different place and cropped smaller. That is, it looks like there's a photo in the middle of the canvas with about 2-3 inches of white all around it.

Now I want to save this picture in the simplest way possible. What I ended up doing was:


Save PSD file
Flatten image
Magic Wand > tolerance 1 > select all white area
Select Inverse
Cut
New File
Paste
Save For Web as JPG
Close everything, without saving


Summary

When I choose, save for web, it saves the entire canvas. I don't want the extra white "padding" all around and I don't want to manually crop it again (the mask has already done that for me). Surely there's an easy way to save only the area within the rectangular mask. Any and all suggestions welcome...

10.06% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan765

6 Comments

Sorted by latest first Latest Oldest Best

 

@Sue6373160

Custom Shapes

Make a new action.


Right click the mask and select "add mask to selection"
Go to your paths tab and click "make path from selection" it's the icon next to the dashed circle right side.
Click edit and define custom shape and name it whatever you like FYI put the dimensions in the name.


To use it just select the custom shape tool then go to the path panel and make a selection from path then click mask on your layer and it will add it automatically.

Hope this helps. :P

-Drew

10% popularity Vote Up Vote Down


 

@Karen819

Just use the crop tool, select area with it, press enter, and save. You can adjust the area after selecting, you'll end up having maybe 1 or 2 pixels of white if you wan't to be really fast about it and not to zoom in to get it exactly fit.
- Now after saving you can CTRL+ALT+Z to the point where the image wasn't cropped so you can still carry on working on it.

Also, CTRL+Shift+C (copy merged) copies only non-100%-transparent areas, so just CTRL-A to select all, CTRL+Shift+C to copy it and in the new file dialog it has already set the dimensions according to the copied area. This way is slower but produces exact results if you have masked areas pure black (Useful if you're making something like favicons where you wan't to maximize the use of space, or web layout stuff which requires precision).

10% popularity Vote Up Vote Down


 

@Sims5801359

I'd use a modified combination of your steps and Lauren's, with keyboard shortcuts (Windows shown):


Ctrl-S (save source file)
Ctrl-click on mask in layer palette (to set it as selection)
Ctrl-shift-C (copy merged)
Ctrl-N; enter; Ctrl-V (paste into a new image)
Ctrl-Alt-Shift-S (Save as web)
Ctrl-F4 to close the new image

10% popularity Vote Up Vote Down


 

@Megan533

You could also save it as a .png file with a transparent background. That would seem to be the simplest solution. then you could bring it onto a .psd file as its own layer and not have to deal with the mask. Down side is that you wouldn't be able to edit the mask afterwards.

10% popularity Vote Up Vote Down


 

@Speyer780

You can also select the mask (open the Layers palette, hold down the apple key, and click on the mask icon next to the layer) and then select Image→Crop.

SAVE FOR WEB (NOT JUST SAVE) or Save As if you want to keep a copy of the original.

10% popularity Vote Up Vote Down


 

@Cofer715

You can use the "slice" tool (looks like an x-acto knife, below the wand):

select the rectangular area you wish to save using the slice tool.
go to "save for web"
use the "slice selection" tool to pick the slice(s) you wish to export, set your options and then save.
in the save dialog, pick "selected slices" from the "slices" drop down at the bottom of the dialog (in windows at least), hit save.

no need to flatten the image, it will use all visible layers.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme