Replacing black background with white background & adding border

Discussion in 'Photoshop Tutorials' started by Ben Holness, Aug 7, 2004.

  1. Ben Holness

    Ben Holness Guest

    Hi all,

    I have a cartoon type picture (v similar to
    which I want to replace the black background with a white background.

    The problem is that the figures in the picture have black as part of their
    bodies, so if I use the magic wand and fill or cut then it ruins the
    people in the picture

    What I need to do is somehow "intelligently" cut out the figures and add a
    black border to make it look right.

    Is there a way of doing this automatically in photoshop, or do I need to
    trace around manually? If I need to trace around manually, are there any
    tools to help me get it even?

    I am not very proficient with Photoshop and not that great an artist, so I
    am hoping that there is a tool or process to do this :)


    Ben Holness, Aug 7, 2004
    1. Advertisements

  2. Ideal situation for an Alpha mask!

    Copy the image and paste into an alpha channel. Turn all the coloured areas
    into white with the Image/Adjust/Threshold command using a very low value
    for the threshold. Paint out all the lines within the image with paintbrush
    set to white. Invert the alpha channel and you have an image that looks like
    a silhouette. Convert the Alpha channel into a selection by Alt/clicking it.

    Back into Layers view and hit the delete key. The black background is
    converted into your current background colour. Unfortunately you have lost
    the black outline, but no problem - go back to the stage before you deleted
    and contract the selection by two pixels. Then retry the Delete.

    I just tried it so I know it works! Hope this helps.
    John Rampling, Aug 7, 2004
    1. Advertisements

  3. Ben Holness

    Ben Holness Guest

    Perfect! Thank you very much :)

    Ben Holness, Aug 7, 2004
  4. Ben Holness

    Tacit Guest

    I have a cartoon type picture (v similar to
    This is the sort of image I'd create in Illustrator, not Photoshop; working
    with images like this in Photoshop is much more difficult and frustrating than
    working with the image in Illustrator.

    Having said that, there are many ways to deal with isolating the image from its

    I'd probably put a path around the image with the Pen tool; it's often you the
    cleanest, most precise way to select objects with hard edges and smooth curves.

    You can also select the black parts of the image with one of the automated
    selection tools like the magic wand or Select->Color Range, then work directly
    on the selection in QuickMask mode or by making the selection into a layer mask
    and working directly on the mask.
    Tacit, Aug 7, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.