Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I'm trying to figure out how to subtract two images in Photoshop so that the result is an image with transparent layer. Basically it all boils down to the fact that if color of the pixel is the same, it sets pixel in transparency layer to black. What's the easiest method to achieve this kind of result in Photoshop? Below is a visual example of what I'm trying to achieve (a figure with transparent background, NOT WHITE)

Thanks! enter image description here

share|improve this question

migrated from photo.stackexchange.com May 28 '12 at 3:11

This question came from our site for professional, enthusiast and amateur photographers.

3  
Is this for a photographic application? –  ElendilTheTall May 27 '12 at 6:05
    
photo.stackexchange.com/faq#questions –  mattdm May 27 '12 at 14:30

2 Answers 2

If you use the difference blending mode, you'll get black where the pixels match, and non-black where pixels do not match. In your simple example, you'd end up with a black background and the red circle would be cyan (inverse of red).

You could invert that image and then you'd have white background with your red circle (for this simple example anyway)

I don't know of any way of ending up with transparent background rather than black/white. You'd either have to save as GIF and set that color as transparent, or use select color range, select the background, and delete it.

share|improve this answer

You can CTRL+Click layers (to make a selection based on transparency) and then the use the resulting selection to erase parts of the other image.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.