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 often have the task of making the background of product images pure white.

While preserving the best possible image quality, what is the quickest way to adjust colors such that the background becomes pure white (AKA each corner is 255,255,255)?

For example given this image:

enter image description here

If I fiddle with levels I can make it into:

enter image description here

share|improve this question
    
Are you looking to remove the shadow too? –  jpheldson Apr 18 at 19:30

2 Answers 2

Here are the steps I took:

  1. Duplicate the base layer and select the copy.

    Duplicate layer.

  2. Apply an edge detect filter (Filters -> Edge-Detect -> Edge...) using these settings:

    Apply edge detect filter.
    My goal here is to get clear contrast between my object and my background. I found Sobel worked the best and simply fiddled until I got this result.

  3. Threshold the colors (Colors -> Threshold...) with the goal of solidifying the color of the background as much as possible.

    Threshold to solidify background.

  4. Tidy up the background with the enter image description here Brush Tool a bit to get it solid black:

    Use bursh to tidy.

  5. Use the enter image description here Magic Wand with slightly feathered edges (~5px) to select the outer black area.

    Select background.

  6. Select your original layer, and turn off the copy layer.

    Go to original layer.

  7. Hit the delete key to delete your selection region from the layer, and your done.

Here's the final result: Final result.

This took a minimal amount of extra work, and has the benefit of preserving the full quality of your original image. The whole process could be done in 10-15 minutes if you have an image with a good contrasting background.

share|improve this answer
    
Thanks! Your process has a nice outcome. –  Bemmu Apr 21 at 8:14

I used this technique with your sample : Duplicating the layer and in this same layer :

  • Desaturating colours according to "Luminosity".
  • Bightness-Contrast tool : Brightness -74 & Contrast 127.
  • Coping the layer and applying it as a Layer Mask to this current layer.
  • Applying the "Hard Light" to the layer mode and adjusting opacity if needed.

Processed Example

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.