How to fill a selection in Layer A with Layer B

Hi,
I've been using Photoshop on a hobby basis for 8 years and I have never figured out to accomplish what seems like this insanely simple task. How do I fill a selection in layer A with the contents of layer B?
To illustrate, right now I am trying to take a visor on a helmet and give it a broken glass effect. The image of the broken glass is suitable to be placed directly into the visor area of the helmet. I select the visor of the helmet with quick selection tool, and all I really need to do is use this selection to "cut out" an area of the same size and shape from my broken glass image and place it on top. However, I have no idea how to do this.
What would be the best practice in this situation?
Thanks,
bodazx

One way to do this is to use the place command under the file menu to insert your broken glass image into your helmet image.  Then you can  position and size the broken glass image where you want it.  Aftet than you can make your selection and use it to create a layer mask for the broken glass image.

Similar Messages

  • How to Fill the selection screen while calling the transaction

    Hi All,
             my requirement is in one of the screen while i will press a push button it will call one transaction and it will fill the selection screen build order number field and skip the first screen i.e the selection screen it will show the output of that report directly.
    am using this code .
    case sy-ucomm.
    while 'FSLR'.
    set PARAMETER ID 'ANR' FIELD aufnr.
    RANGES s_aufnr FOR afko-aufnr.
          s_aufnr-sign   = 'I'.
          s_aufnr-option = 'EQ'.
          s_aufnr-low    = aufnr.
          APPEND s_aufnr.
    CALL TRANSACTION 'ZFS1' USING s_aufnr
         MODE 'E' .
        AND SKIP FIRST SCREEN.
    endcase.
    here the problem is i cant use both skip screen and using at a time nither the screen is filling nor its skipping the first screen.
    but its not working would any one please help how can i do this functionality?

    Hi
    Do in this way.
    DATA: rspar TYPE TABLE OF rsparams WITH HEADER LINE.
    rspar-selname = 'S_AUFNR'.
    rspar-kind = 'S'.
    rspar-sign = 'I'.
    rspar-option = 'EQ'.
    rspar-low = 'aufnr'.
    APPEND rspar.
    SUBMIT zfs1_prog  VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar AND RETURN.
    If this doesnt suit yer requirement, I wud suggest you to use BDC as below.
    CALL TRANSACTION 'SE11' USING bdcdata
                           MODE   'E'
                           UPDATE 'A'.

  • How to fill column value of a matrix with specific color when there is no value in that specific cell?

    Hi All,
    I need to create a 5/5  matrix in SSRS report. The data will be :
    Col_Side   Col_Header   Col_data
    1                  1                1
    1                  1                 1
    1                  2                1
    1                  5                1
    1                  5                1
    1                  5                1
    2                  3                1
    2                  5                1
    3                  1                2
    3                  1                2
    3                  1                2
    4                   2               1
    4                   4               1
    5                   1               1
    5                   1               1
    5                   5               1
    So, the matrix column will be Col_Header and matrix row will be Col_Side and count(Col_data) will be on the data.
    Finally, it will create a 5 by 5 matrix with Count(Col_data) as its data for each combinations. If there is no combination (for ex: in the above data we do not have no combination of (1,3) , (1,4) , (2,1) etc..) then the matrix will be filling that corresponding
    cell with zero.
    Here I need to fill the cells with some colors based on some criteria.
    I need to fill (5,3), (5,4), (5,5) combination with "Red" color.  Like this , I need to give different colors in each of the cells. Here, (5,5) combination will be having 1 in its cell.  (5,4) and (5,3) will be having zero in its corresponding
    cells. I 'm trying to fill all the 3 cells with "Red" color. But, I am able to fill only (5,5) with "Red" color. Since the other 2 cells (5,3) and (5,4), has zero in their cells, it will not fill the cells with "Red" color. 
    How can I fill those two cells (5,3) and (5,4) with red color?
    I know this is very vague. I have no option to give the picture here..
    Please suggest

    Hi Julie,
    According to your description, there is a 5/5 matrix with three fields: Col_Side, Col_Header, Col_data. You drag Col_Side field to Rows, Col_Header to Columns and Col_data to Data, then filling blank cells with zero using expression. Now you want to fill 
    (5,3), (5,4), (5,5) cells with red color using expression, but it has no effect on cells (5,3) and (5,4).
    According to my test, the expression has on effect on cells (5,3) and (5,4) since there is no corresponding data and the cells are blank. As a workaround, we can insert data for cells (5,3) and (5,4) in dataset, then use expression by following steps:
    In the dataset, insert two sets of data (5,3,0), (5,4,0).
    Right-click the cell of data, click Text Box Properties.
    Click Fill in left pane, click (fx) button, then type the expression like below, then click OK.
    =iif(Fields!Col_Side.Value=5 and Fields!Col_Header.Value >=3 ,"red","white" )
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • How to sync just selected songs to iPad with iOS 5?

    I have a lot of music in my iTunes account, acquired from CDs, the iTunes store, etc. and I don't listen to all of it regularly (I like to change it up from time to time); however, I like having it saved digitally on my computer; but, i don't want it all on my iPad or iPhone all the time, I only want the songs selected under my music list to be synced to my device. 
    My iPad is using iOS 5, my iPhone is using iOS 4.3.5. 
    Under 4.3.5, when I select "Entire Music Library" under Sync Music in iTunes, it only adds the seleceted sonds to my iPhone.  However, under iOS 5, it wants to add everything to my iPad which is just too much. 
    So, how do I get just the selected songs in my library to upload to my device using iOS 5?

    I'm currently using a play list but it is not the same as in iOS 4.  The options will not work how I want either as it doesn't let me choose just the songs I want (which would be cumbersome but would work); I either have to select the artist (getting all of their songs loaded whether I want them or not), genres, playlists, or albums.  I really only want certain songs at a time; even with the playlist seleceted and synced, albums & songs not in that playlist are still showing up in my Music app on the iPad.  This is part of the reason I haven't updated my iPhone to iOS 5, I like the convienence of the iPod app in iOS 4 (which was removed in iOS 5 unfortunately) and uploading my entire library would be more than my iPhone has room. 
    EDIT:
    Demo, that was it; I completely forgot that was there.  I was so focused on the music section that I forgot about the features under Summary.  Thanks. 
    Message was edited by: AlmosN8kd

  • How to fill the first column '#' of matrix  with row id in user form?

    Hi All,
    I am having a user defined form in which, I m having a matrix and m populating the matrix with the output of an sql query.
    something like this:
    SQL_Str= "select col1,col2,......from.... "
    OPopDBTable.ExecuteQuery(SQL_Str)
    oMatrix.AddRow()
    oMatrix.Columns.Item("Col3").DataBind.Bind("PopTable", "col1")
    oMatrix.Columns.Item("Col2").DataBind.Bind("PopTable", "col2")
    oMatrix.LoadFromDataSource()
    Now, in this, how can I assign row number to first column ('#' column ) ??
    regards,
    Binita

    Ah...the ROW_NUMBER() was posted by Petr - also thank you (again)
    With my example-query from the other thread:
    SELECT
         CAST(
                 ROW_NUMBER() OVER (ORDER BY T1.U_LogNo ASC) AS INT
            ) AS RowCnt,
         T1.Code,
         T1.U_ParcelNo,
         T1.U_LogNo
    FROM
         [@XXX_EXAMPLE] T1
    WHERE
         T1.U_ParcelNo='132006' 
    ORDER BY
         T1.U_LogNo ASC
    ...this works for me (it's quickly copied from several subs/func. - I hope it's not too much disordered):
    DtLogs.ExecuteQuery(query)
    oMtxLogs.Columns.Item("0").DataBind.Bind("DT_LOGS", "RowCnt")
    oMtxLogs.Columns.Item("1")........
    oMtxLogs.LoadFromDataSource()

  • How to make a Selection Circular Bar Menu  with HAVi?

    hi! I'm Suse...I'm trying to make a menu selection circular, with:
    A static center focus --> F
    Horizontal Bar Menu --> H (Categories)
    Vertical Bar Menu --> V (Sub Categories)
    ......*V* Graphic
    ......*V*
    ......*V*
    HH  F HHHH
    ......*V*
    ......*V*
    When pressing Right Arrow... the F focus change to next(right) Item(*H*) and pressing Left Arrow change to the back(left) item(*H*)... where de F (focus) is static... if it pressing UP or Down Arrow is the same mechanism...in the Vertical Bar (*V*)....like the up Gaphic...
    I started to make with HAVi but I don't know which objects and methods I could use...
    I just use a Vector, HContainer, HListElement and HListGroup....
    If somebody wanna share some notes or tips ... thank you!
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.FocusEvent;
    import java.util.Vector;
    import org.havi.ui.HContainer;
    import org.havi.ui.HListElement;
    import org.havi.ui.HListGroup;
    import org.havi.ui.HScene;
    import org.havi.ui.HSceneFactory;
    import org.havi.ui.HSceneTemplate;
    import org.havi.ui.event.HActionListener;
    import org.havi.ui.event.HFocusListener;
    import org.havi.ui.event.HItemEvent;
    import org.havi.ui.event.HItemListener;
    public class HListGroupMenu extends HContainer implements HActionListener, HItemListener, HFocusListener{
         private static final long serialVersionUID = 1L;
         private static final Rectangle     SCREEN_BOUNDS = new Rectangle(0, 0, 640, 480);
         private static final Rectangle     LIST_GROUP_BOUNDS = new Rectangle(50, 105, 150, 169);
         private static final Color           LIST_GROUP_FOREGROUND = new Color(240, 240, 240); // for text and frame
         private static final Color           LIST_GROUP_BACKGROUND = new Color(78, 90, 20); // for text and frame     
         private static final Font           LIST_GROUP_FONT = new Font("tiresias", Font.BOLD, 14);
         private HScene                          m_scene; 
         private HListGroup                    m_listGroup;
         // list of text string to hold the result of ListGroup selection     
         private Vector     m_textList = new Vector();
         private static final String          LIST_GROUP_ITEMS[][] = {
              {"One", "Two","Three", "Four",     "Five",     "Six", "Seven "}
          * called from Xlet.HListGroupMenu() ..........Instance
    *     public HListGroupMenu()*
    *          m_scene = HSceneFactory.getInstance().getBestScene(new HSceneTemplate());*
    *          m_scene.add(this);            *
    *          setBounds(SCREEN_BOUNDS);     *
    *//           Create List group*
    *          m_listGroup = new HListGroup();*
    *          m_listGroup.setBounds(LIST_GROUP_BOUNDS);*
    *          m_listGroup.setForeground(LIST_GROUP_FOREGROUND);*
    *          m_listGroup.setBackground(LIST_GROUP_BACKGROUND);*
    *          m_listGroup.setFont(LIST_GROUP_FONT);*
    *          m_listGroup.addItemListener(this);*
    *          m_listGroup.addHFocusListener(this);*
    *          m_listGroup.getHorizontalAlignment();*
    *          m_listGroup.setName("List Group");*
    *          // Add items to the List group*
    *          for (int i=0; i<LIST_GROUP_ITEMS.length; ++i){*
    *               for (int j=0; j<LIST_GROUP_ITEMS.length; ++j){*
    *               m_listGroup.addItem(new HListElement(LIST_GROUP_ITEMS[i][j]), j);*
    *          add( m_listGroup );*
         * called from Xlet.startXlet() ..... Instance
    *     public void start()*
    *          m_scene.show();*
    *          m_listGroup.requestFocus();*
         * called from Xlet.pauseXlet() ...Instance
    *     public void pause()*
    *          m_scene.setVisible(false);*
         * called from Xlet.destroyXlet() ..........Instance
         public void destroy()
              m_listGroup.removeItemListener(this);
              m_listGroup.removeHFocusListener(this);
              m_scene.setVisible(false);
              m_scene.removeAll();
              HSceneFactory.getInstance().dispose(m_scene);
              m_scene = null;
         public void actionPerformed(ActionEvent e) {
              // TODO Auto-generated method stub
         public void selectionChanged(HItemEvent event) {
              // TODO Auto-generated method stub
              HListElement item = (HListElement) event.getItem();     
              if (item != null)
                   if (event.getID() == HItemEvent.ITEM_SELECTED )
                        // an item was selected          & add it to the list
                        m_textList.addElement(new String(item.getLabel()));
                   else if (event.getID() == HItemEvent.ITEM_CLEARED)
                        // an item was un-selected & remove it from the list
                        m_textList.removeElement(item.getLabel());     
         public void currentItemChanged(HItemEvent e) {
         public void focusGained(FocusEvent e) {
         public void focusLost(FocusEvent e) {
    }Edited by: sesu on Jan 20, 2009 4:13 PM
    Edited by: sesu on Jan 20, 2009 4:15 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I'm not sure if I understand you. You want to make a menu that shows some movement? I think you mean static center focus is the place where the focused button will stay, and those who are focused move towards that point.
    If is that, it can get a little more complicated that it seems. You want it more graphically or just a HListGroup that changes its options by pressing right and left buttons is enough?

  • I'm having trouble using adobe illustrator, i want to know how to create a typography portrait using my face and how to fill in a specific area full with words

    @

    Create text objects of different font weights, sizes and word lengths and move them around so they shape the face.
    If you need to "fill shapes" use a clipping mask (you can read about clipping masks in the manual)

  • I have version3.6.12 and want to know how to block pictures selectively like I could with adblock with earlier version

    I used to be able to right click on an unwanted image and remove it, but as I updated to a newer version of Firefox the feature no longer works.
    What other option exists?

    See the article at:
    [https://adblockplus.org/en/faq_basics#objects]
    Also, are you using the latest version of AdBlock Plus?
    davewdan

  • Photoshop Applescript, select a layer and fill?

    How do I select a layer than I have named "BACKGROUND"
    Then fill with White,
    then select layer "Main Image"
    within Photoshop?
    Many Thanks
    Matt

    Hi,
    Here is an example :
    tell application "Adobe Photoshop CS5"
          tell current document
                deselect -- deselect all in the document
                set current layer to layer "BACKGROUND" -- select
                tell current layer to if not visible then set visible to true -- must be visible to fill
                --- fill the current layer with White , adjust (blend mode, opacity and preserving transparency)
                fill selection with contents {class:RGB color, red:255, green:255, blue:255} blend mode normal opacity 100 without preserving transparency
                set current layer to layer "Main Image" -- select
          end tell
    end tell

  • How to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    how to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    There is a more specific Forum …
    Photoshop Scripting

  • How to create a selection or mask from a Selective Color layer

    Hi. I was wondering if it is possible to get a selection/mask out of a Selective Color Layer.
    For instance lets say I have a complicated photo and I put a Selective Color layer on.  I then pick Red and start adjusting. I can see the effect and how it changes the red and how it falls off in the photo. Is it at all possible to create a selection or a mask based off of that effect? 
    Thank you

    You can try this.  Once you get your selective color adjustment layer the way you like it, change it's blending mode to difference.  Add a B&W adjustment layer above that then a curves or levels adjustment layer above that.  Use the curves or levels adjustment layer to give the image more contrast by adjusting the top white values.  This will produce  an image that you can then make a selection from from the channel pallet.

  • How to fill empty parameter (selection-option)

    Hi!
    On selection screen I have two parameters (s_egrid and s_empid). If user enter something in first (but not in second) one, second one should be filled from database.
    The problem is that I don't know how to fill the empty parameter.
    Let's say that i have an internal table i_zemployee with list of all necessary employee Id's (stored in field empid)
    if I Ioop like this
    loop at i_zemployee into wa_zemployee.
        insert wa_zemployee-empid into s_empid.
      endloop.
    ... I did something stupid but i hope that you understand what i need:
    s_emipd[1] = 'u1'.
    s_emipd[2] = 'u7'.
    s_emipd[3] = 'u9'.
    ... like array of user id's.
    and this s_empid I need in my next SELECT statement like
    SELECT * FROM ...
        WHERE empid in s_empid.
    if someone knows the solution thanks in advance!
    T.

    HI try something like this...
    tables: mara, makt.
    data: begin of itab occurs 0,
    matnr like mara-matnr,
    end of itab.
    data : begin of btab occurs 0,
    maktx like makt-maktx,
    end of btab.
    ata mak like makt-maktx.
    DATA : return like ddshretval occurs 0 with header line.
      data: begin of dynpfields occurs 3.
              include structure dynpread.
      data: end of dynpfields.
    select-options: p_matnr for mara-matnr.
    select matnr from mara into table itab where matnr IN p_matnr.
    loop at itab.
    write: / itab-matnr.
    endloop.
    Initialization.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
    REFRESH ITAB.
    SELECT matnr FROM mara INTO TABLE ITAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'MATNR '
    dynprofield = 'P_MATNR '
    dynpprog = sy-REPID
    dynpnr = sy-dynnr
    value_org = 'S'
    TABLES
    value_tab = ITAB
    return_tab = return.
    select single maktx from makt into  mak where matnr = return-fieldval.
    p_matnr = return-fieldval.
    refresh return.
    clear return.
    move 'P_MAKTX' to dynpfields-fieldname.
    move mak to dynpfields-fieldvalue.
    append dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
      EXPORTING
        dyname                     = 'SY-REPID'
        dynumb                     = '1000'
      tables
        dynpfields                 = dynpfields
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    refresh return.
    clear return.
    validate according to ur requirement.
    Regards
    Syed A

  • How to fill internal table with selection screen field.

    Hi all,
    i am new to sap . pls tell me how to fill internal table with selection screen field.

    Hi,
    Please see the example below:-
    I have used both select-options and parameter on the selection-screen.
    Understand the same.
    * type declaration
    TYPES: BEGIN OF t_matnr,
            matnr TYPE matnr,
           END OF t_matnr,
           BEGIN OF t_vbeln,
             vbeln TYPE vbeln,
           END OF t_vbeln.
    * internal table declaration
    DATA : it_mara  TYPE STANDARD TABLE OF t_matnr,
           it_vbeln TYPE STANDARD TABLE OF t_vbeln.
    * workarea declaration
    DATA : wa_mara  TYPE t_matnr,
           wa_vbeln TYPE t_vbeln.
    * selection-screen field
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
    PARAMETERS : p_matnr TYPE matnr.
    SELECT-OPTIONS : s_vbeln FOR wa_vbeln-vbeln.
    SELECTION-SCREEN: END OF BLOCK b1.
    START-OF-SELECTION.
    * I am adding parameter value to my internal table
      wa_mara-matnr = p_matnr.
      APPEND wa_mara TO it_mara.
    * I am adding select-options value to an internal table
      LOOP AT s_vbeln.
        wa_vbeln-vbeln =  s_vbeln-low.
        APPEND  wa_vbeln TO  it_vbeln.
      ENDLOOP.
    Regards,
    Ankur Parab

  • How to fill selection box with clientside data?

    i want to make a html form that reads option values from the client.
    Because there are too many data, it's not reasonable for me to design a page which connects to server each time to fill the selection boxes.Instead i want to check if data resides at the clientside, if so fill selection boxes with that data, if not download it for the first time and store it on the client for later local retrieval.In addition i must be able to update that data residing on the client when i want.

    Hi,
    I can tell you some hints. Use cookies to store the information on to the client-side. You can read data from cookies using JavaScript. If you want to store huge amount of data on to the client-side, perhaps this would not be a better idea. In J2EE architecture we often use sessions to store values. You need to design your implementation in such a way that for the first time you fetch all the values from the database and put it in a session, and the next time onwards you can get the values from the session itself and thereby you can avoid going to database each and everytime. Write a Java class which has all the necessary get and set methods and store the object in the session. Using that object reference you can set and get the values from it. I hope this will help you.
    Thanks

  • How to scale objects in a layer while keeping each object in the same position

    I have a map with symbols on it, placed precisely where they need to be. Is there a way to scale all of the objects in a layer or group so that they are larger, but without treating them as a layer that is stretched out to scale proportionately? Basically, how could I make each symbol larger as though each is being scaled from their centers?
    I've tried to select a layer so that each object is selected, then transforming them (specifiying a scale percentage). As a result, the objects are enlarged, but this produces the same results as a normal click and drag from the corner registration point. Any ideas?

    Yes, o.k., sort of. But you are not allowed to select individual objects that are parts of a group or groups. It's also quite all right to select, say, Same Fill Colour and Transform Each will work as long as the selection does not contain parts of groups.
    To my way of thinking it would be better if it worked the other way, with anything selected with the Direct Selection tool, because sometimes you want to transform things even though they are parts of groups. But that's just the way the Illy cookie crumbles.

Maybe you are looking for