Resize a head

CS4 user. I have a  group photo including a child .I would like to replace one head ( the child's) that is not looking at the camera, with one that I took early on. The head size is different (larger) how can I equalize the size so that it can be used in group photo.
Many thanks for any advice.

Edit > Free Transform
Ideally you should convert the Layer to a Smart Object before transforming it.

Similar Messages

  • Resizing row header of jtable

    hi,
    Is there any way to resize row header column of a jtable just as other columns of jtable. i searched in forums and google but couldnt find any article with resizing row header.
    thanx

    If you want help in the future I suggest you remain a little more patient. It's the weekend. People don't hang around waiting for you to post a question. We answer questions if and when we have time and we know the answer.
    The general answer is yes, of course, it can be done. But we can't give you a specifice answer since you question is so general.
    For example, take a look at my code in this posting:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=639189
    I made the following changes:
    //          addColumn( new TableColumn() );
              TableColumn column = new TableColumn();
              column.setHeaderValue(" ");
              addColumn( column );And then I overrode the following method of the table:
    public void columnMarginChanged(ChangeEvent e)
         super.columnMarginChanged(e);
         TableColumn resizingColumn = getTableHeader().getResizingColumn();
         if (resizingColumn != null)
              Dimension d = getPreferredSize();
              d.width = resizingColumn.getWidth();
              setPreferredScrollableViewportSize(d);
    }and finally
    scrollPane.setRowHeaderView( lineTable );
    scrollPane.setCorner(JScrollPane.UPPER_LEFT_CORNER, lineTable.getTableHeader()); // newOf course we have no idea what component you are using for your row header so we can't give a detailed solution, but I suspect you would need to do something like the following:
    a) add a mouseListener to your component
    b) calculate the change in size of the component using the mouse location changes
    c) set the preferred size of your component
    d) notify the scroll pane of the change in size. I would look at the setPreferredScrollableViewportSize method of JTable to see what it does.

  • JTable in JLayeredPane - resize table header cursor

    Hey everybody, I have searched all over this forum and the net for an answer to this problem. I have a class that adds a JComponent to a JLayeredPane in the default layer. In another layer above the default layer is a JComponent that exists only to provide a 'pretty' image border with round corners that overlap the component below it. It works and looks very good. The only problem I have found is that if the JComponent that is added (in the default layer) is a JTable the cursor no longer changes to the resize cursor (<->) when mousing over the table header column edges. I can still resize the columns but I need to have the cursor change to indicate that the colums can be resized for user friendliness. I assume that the mouse events are getting trapped by the upper layer in the JLayeredPane and aren't reaching the JTable in the lower layer as they need to.
    I have tried swapping the two layers but when I do that the corners of the component that I want to add the border to overlap over the nice round corners of the border which defeats the purpose.
    If anyone has any suggestions, or even better a solution, that would be great!
    Thanks,
    Erik

    table.getTableHeader().setVisible(false); will
    help.This is necessary, but probably not quite sufficient for picky users. You may also want to set the min, max, and preferred dimensions of the table header to 0,0, otherwise you get what looks like a top-only border.
    Michael Bushe

  • JTable: Resizable Row Header

    Hi,
    Did anyone implement a row header class for JTable that allows to resize rows (the height of rows) like JTableHeader does for columns?

    Take a look at the link shown below:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=252175
    ;o)
    V.V.

  • Resizing table header of diffrent table

    hi all,
    i have 3 tables, the first table having the table header.
    if resize the first table header than all other 2 should be resized accordingly.
    i have done this demo, i want to know is this correct way.
    or ony other suggestion.
    the problem with this i am setting the tablecellrender for the first table header, it will cause the problem, because i am setting table header column model for other 2 tables as a column model.
    import java.awt.Component;
    import java.awt.Dimension;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableCellRenderer;
    public class TableHeaderCellRenderr extends JFrame
        JTable table1 = new JTable(5, 5);
        JTable table2 = new JTable(5, 5);
        JTable table3 = new JTable(5, 5);
        public TableHeaderCellRenderr()
            JPanel pnl = new JPanel();
            pnl.setLayout(new BoxLayout(pnl, BoxLayout.Y_AXIS));
            pnl.add(new JScrollPane(table1));
            pnl.add(Box.createVerticalStrut(10));
            pnl.add(table2);
            pnl.add(Box.createVerticalStrut(10));
            pnl.add(table3);
             table2.setTableHeader(table1.getTableHeader()); // this is what it doing the resizing width of the other tables
             table3.setTableHeader(table1.getTableHeader());
             table2.setColumnModel(table1.getTableHeader().getColumnModel());
             table3.setColumnModel(table1.getTableHeader().getColumnModel());
            cellrenderer leftRenderer = new cellrenderer();
            table1.getTableHeader().setDefaultRenderer(leftRenderer);
            getContentPane().add(pnl);
            setSize(new Dimension(400,400));
            setVisible(true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        public class cellrenderer extends DefaultTableCellRenderer
            public cellrenderer()
                super();
                setOpaque(false);
            public Component getTableCellRendererComponent(JTable table, Object value,
                                                           boolean isSelected, boolean hasFocus,
                                                           int row, int col)
                JLabel lbl = (JLabel) super.getTableCellRendererComponent(table, value, isSelected,
                                                                          hasFocus, row, col);
                lbl.setBorder(UIManager.getBorder("TableHeader.cellBorder"));
                lbl.setFont(table.getTableHeader().getFont());
                return lbl;
        public static void main(String[] args)
            new TableHeaderCellRenderr();
    }thanks
    dayananda b v

    if i reload or refresh whole GUI the table header is moving from first table to the next table,
    i know this is because of same table header i am setting for the other table header,
    how can i achive this Functionality some other way, any suggestions.
    thanks
    daya

  • Is it possible to resize the header and footer on a webpage before you print the page you want the print?

    It seems to me the header and footer on every page I want to print is so darn small. If possible I'd like the header and footer size in Firefox to be close to the size of my other browser, Microsoft's IE8 browser.

    Glad I could help.
    But not all of us are gentiles.

  • Resize Column Heading Dynamically

    I have an AdvancedDataGrid for which the user can separately
    and independently set the font size used in the column headings and
    the rows. Upon saving the form, if the font size used in the rows
    changes, I call the function setRowFont() (shown below).
    The regenerateStyleCache(true) causes the rows to dynamically
    adjust their height to accommodate the text. (The groupRowHeight is
    there to adjust the size of the data groupings.) This works just
    fine.
    I use a similar function for the headings,
    setColumnHeadingFont(). When this is run, there is no change. If
    you close the app and restart it, the changes are reflected. Is
    there some way to change this height dynamically without
    restarting? Or is there a reason why this cannot be done?

    You can do this by placing the name of your hidden item in the heading column on the 'report attribute' tab of your report region.
    For example if you have an item called P1_GRP_BY that you want to display as a column header, type &P1_GRP_BY. in the header column.
    David

  • How to create a persona header bar that displays correctly in all resolutions - Firefox 20 Linux

    I'm in the process of learning how to create Personas for Firefox, and have already created one which I am using locally, but I ran into an unexpected behavior: If I create a header bar that is 3000 X 200 pixels as specified in the guidelines, only the right third or so displays in my browser when the theme is applied. To get this header to display "properly" (as I find aesthetically pleasing) I have to resize the header to 1280 X 85 pixels.
    Should not the header bar scale automatically, or do I need to produce a persona header at each possible resolution width to get it to display properly?
    For what it's worth, the footer appears to be displaying the left hand third, but this is not so objectionable in this case.
    A screenshot of the persona is available at http://www2.netdoor.com/~horus/Persona_2013-04.png.
    Thanks for any insights. I feel as though I must be misunderstanding something here.
    (I tried to post troubleshooting information the first time, but it overflowed the character limit...)

    Probably best to ask that sort of question, or research the answer in one of the AMO forums ('''A'''ddons '''Mo'''zilla). I think this one may be appropriate:
    * https://forums.mozilla.org/addons/viewforum.php?f=30
    ** I think you will need to register before posting
    I am wondering where are you doing the learning ?
    <br />There are also resources on MDN
    *https://developer.mozilla.org/en-US/addons
    Detailed discussion of the subject is probably off topic for this forum, but linking to resources or giving as imple answer is not so I hope some of the above are helpful. (You may even find someone else interested and knowledgeable posting a direct answer)

  • Resize cells in a JTable.

    I'd like to give some columns, in a jTable, an autoresize mode. It means fitting well with the content (being able to read the longest cell without having to resize the cell manualy by resizing the header).
    Some tables of other applications (like the Excel ones) hava this ability.
    Do S.O. have any idea of doing this?
    Thanks.

    extend a new class from javax.swing.table.DefaultTableCellRenderer
    and use setCellRenderer(...) on your JTable

  • IPhoto resizing to iWeb

    I know if I highlight photos in iPhoto and send them to iWeb via the Share button, it reduces the size.
    But if I add photos to an exsisting album on iPhoto, then want to add them to the cooresponding album in iWeb will iWeb resize them if I use the "Media" button at the bottom right and drag and drop the new photos into the exsisting iWeb album?
    Or do I need to do a resize a head of time.
    Thanks,
    Allie

    Thanks, That was what I was hoping to hear. I can import the photos into iPhoto, make albums, then send a whole album to iWeb. If I have photos to add at a later date to one of the existing albums, I can get it into iPhoto, then drag and drop from the iWeb media button to the cooresponding album in iWeb.
    Appreciate the info.
    Allie

  • How do I decrease the size (remove unused space/padding) of the Foxfire browser header?

    Using a new install of Ubuntu 10.04 there is too much space between lines in the Foxfire header, so the browser window takes up excessive space. How can I resize the header to use less space between lines?

    If you use a custom theme then it is possible that there is a problem with that theme or another extension is causing that problem.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Header logo picture mashes with rest of page

    I apologize for my lack of web designing skills, im somewhat
    new at this. I have my companies logo as a header, and in the
    design view it looks fine, but when i update it to the hosting
    server and refresh the page, the logo overlays the main article and
    navigation menu of the page. I think i could solve it if i just
    resize the header but i dont know how. Can anyone help?...

    What is this?
    "Featurded Widgets"
    (I'm afraid to ask!)
    And 425K for the masthead image? YIKES!
    Anyhow, change this -
    #header {
    height: 60px;
    line-height: 60px;
    to this -
    #header {
    height: 266px;
    and see what happens.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Rufus65" <[email protected]> wrote in
    message
    news:gl5k53$j8i$[email protected]..
    > oh my bad im very sorry, heres the link:
    >
    >
    http://techhelp.nxserve.net/index.html
    >

  • Header/photo question

    How do you adjust the size of a picture in your header????  grrrrr

    Images are resized by "grabbibg" the lowwer right corner of the image and moving the mouse/cursor to resize.  Header images are limited to how large they can be (height < 300px), so large images will be scaled to fit.
    -Jeff

  • First Script: Need some basic skill help? Can you add an image with a click?

    Hello, Im working on a project were you can replace people heads in a photo. Its for a project so its not supposed to be perfect. So far heres what i think the best steps to take are, but im not sure how to take the first scripting steps. How can i add an image with a script? How can i store a x y coordinates?
    1. I would create four variables and than store the XY cords of the the high point of the head, the bottom of the chin, amd the farthest right and left of the face.
    2. I would than add the image of the head that I would already have.
    3. If the x coordinates of the top and bottom are off kilter, I would rotate new head until = old face dimensions..
    4. I would also see if the width is too big or small and resize accordingly
    5. I would than resize the head so that the eyes would match up.
    Thanks for any help you can provide!

    Is that script for a browser html. Its not for Photoshop and like Photoshop would fine UiApp undefined so does Microsoft.  Is that a Chrome script or Android script? Why post it here?
    Atiqur Sumon wrote:
    function doGet() {
       var app = UiApp.createApplication();
       // The very first Google Doodle!
       app.add(app.createImage("http://www.google.com/logos/googleburn.jpg"));
       // Just the man in the middle
       app.add(app.createImage("http://www.google.com/logos/googleburn.jpg", 118, 0, 50, 106));
       return app;

  • Warp tool palette: independent settings in dialogue box

    I use the warp tools a lot CS4, especially warp and twirl, I find its a great way to smooth edges, round them, and with little flicks even simplify anchor point count. I go between these two tools a lot back and forth, but using a different brush size for each, and different intensity setting.
    Is slow to have to hit "enter" and resize the intensity each time when going between these brushes, aswell as resize the brush to the exact size and shape (with alt) everytime I switch between them,
    can we look at individual independent settings for each,
    so if I set intensity for warp tool (enter) dialogue box, it is seperate to the settings I make for the twirl tool dialogue box and pucker, bloat, scallop ...
    aswell as the brush size setting for each, I generally use the warp tool larger size 40% intensity, but the twirl tool smaller at 2 to 5% intensity, so having to change them everytime I switch as I`m modelling my splines slows me down.
    A couple of other unrelated things:
    The stroke size is something I like to tweak a lot as i`m laying out curves and twirls for strokes, I like how I can "slide" the brush size and opacity in photoshop and work on the fly, I know thats pixels, but in AI top left where the word "stroke" dialogue pops up on the control panel, if I could hover over and "slide" that as in PS instead of having to - click it and have a diologue box with another drop down list to choose stroke size, that would be quicker, and if I could see the feedback in realtime with the stroke slider, even say selecting several strokes first, then sliding the size and seeing dynamic feedback would be helpful in adjustments, as stroke size is a constant adjustment for me, with organic drawings of figures and faces, animals, its something that requires a lot of adjustments in stroke thickness to see different results, and is so important to work fast with changing stroke size.
    Output multiple artboards, and or Layers to one PDF. I often have many different versions of a design on different layers, one layer on another, and want to output to a single PDF for client approval, so I don`t have to save out each layer manually to a new pdf or jpeg.. just do it in one go.

    regards ALT to resize brush head for liquify tools, if could also press CTRL to adjust angle of brush,
    SHIFT is is already used to resize proportionally as circle...

Maybe you are looking for