SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard mPeror's Avatar
    Join Date
    Mar 2005
    Location
    Saudi Arabia
    Posts
    1,724
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Converting a color to "Transparent"

    Hi there,

    I have a jpeg image with only two colors , red and white. They're both on the same layer. I need to convert all of the white (or red) to transparent in Photoshop 7. Is there a way to do this quickly and accurately?


    Thanks in advance

  2. #2
    SitePoint Addict theGuest's Avatar
    Join Date
    Jun 2002
    Location
    Vancouver, BC Canada
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very simple.

    First, select ALL and copy the image.
    Second, double-click the layer and press the OK button on the resulting dialog window.
    Third, add a Layer Mask to the layer.
    Fourth, alt-click on the Mask to activate it in 'edit' mode.
    Fifth, paste your copied image into the mask. Deselect.
    Sixth, open the Levels filter (ctrl+L) and drag the Black input slider (on the left side) over to 128. Apply.
    Seventh, click on your layer thumbnail to reactivate your layer.

    Your coloured area(s) should now be transparent.
    If you wish, you can now 'Apply' the Layer Mask to the layer to make the edit permanent.

    Understand though that if you flatten this image/document now you'll lose the transparency. So if you wish to retain it, then copy the Layer Mask and paste it into an Alpha Channel to save it.

  3. #3
    SitePoint Wizard mPeror's Avatar
    Join Date
    Mar 2005
    Location
    Saudi Arabia
    Posts
    1,724
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    umm... actually that was pretty tough

    i'm not an experienced designer so bear with me :

    1. How do i add a Layer Mask to the layer?
    2. How do i paste the layer mask into an alpha channel?
    3. How do i choose which color to make transparent?

    btw, the image is already flattened (its a .jpeg file) , does that matter?

    sorry , but i'm kinda new to this.

  4. #4
    Night Elf silver trophybronze trophy Varelse's Avatar
    Join Date
    Mar 2005
    Location
    eu
    Posts
    5,967
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Check this article:
    http://www.sitepoint.com/article/mas...ques-photoshop
    There are 5 nice methods of extracting the object from the background explained.
    FreelanceDaddy - freelancer's personal advisor
    █ Guide and advice for freelancers starting their career
    █ Over 1000 projects posted on freelance markets every day
    █ One-stop resource for online freelancing

  5. #5
    SitePoint Addict theGuest's Avatar
    Join Date
    Jun 2002
    Location
    Vancouver, BC Canada
    Posts
    372
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's ok... i'll explain.

    1. How do i add a Layer Mask to the layer?
    Click the "Add Layer Mask" icon on the bottom of the Layers palette. Hover your mouse to identify each icon if need be.
    2. How do i paste the layer mask into an alpha channel?
    Alt-click the Layer Mask, then press Ctrl+A. Then Deselect (ctrl+D). Open the Channels Palette and click the "New Alpha Channel" icon at the bottom of the palette (as before, hover your mouse over the icons to identify them). Click on the new alpha channel to make sure its selected/active, then press Ctrl+V.
    3. How do i choose which color to make transparent?
    The 'colour(s)' on the white canvas are made transparent -- by default.
    If you wish to instead make your background colour transparent, simply invert the Layer Mask after pasting it in (press ctrl+I).

    Hope that helps clear things up.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •