How to make a border around a pic-in-pic?

I use adobe premiere pro cs3. What is tehe best (and hopefully an easy way) to create a border around a pic-in-pic movie. Is it correct that I can't find an option for that? I make this kind of things now by placing the second clip in track video-2 en then changing the size. But there is no option then in wich i can specify the thickness and the color of a border.

Use a color matte on track 2 and your PIP on track 3. Size both to your liking, for instance track 2 sized to 50% and track 3 to 45%. The difference in size determines the border width, the color of the matte is your border color. Start with the color matte using motion/scale/position, then copy and paste attributes to track 3 and scale this further down to create the desired border width.

Similar Messages

  • How to make a border around text?

    In my latest FCE project, I made a solid color matte clip (dark blue) to set below my titles to give the text a colored background (these titles are not overlaid on video clips, so without the colored matte, the background would be the default black of the Timeline, and I don't want black).
    Anyway, so here I have this nice white text overlaid on a dark blue background, looking pretty good, and now I'd like to put a decorative rectangular white border around the text, a thin white line, or a maybe a double white line, sort of like a pinstripe, to elegantly (I hope) enclose the text in a sort of box.
    What would be the best way to create such a border? Could I make one on a transparent layer in Photoshop (I have CS-2,) and then import it into FCE as a clip to set the text above? Or is there a simpler way to do it, within FCE?
    Any suggestions would be welcome.
    Tom

    The only option I see on that PieroF webpage is to download it as a .zip file. When I download it and double-click on the icon, I get that zoom-out effect like it's opening, but it doesn't open. Dropping its icon onto the Stuffit icons doesn't do anything either.
    Anyway, I just experimented with masking off a colored matte in the way you mentioned, and I think I see how to do it: create a color matte and then lay two masks on top of it, an inner one and an (inverted) outer one, which leaves only a thin line of the color matte still showing. Is that it? For a double pinstripe, I suppose I would do that twice, i.e. create two masked-off mattes, one a little larger than the other, and stack them up on the video tracks?
    It's more trouble than the Piero frame generator, no doubt, but effective. Thanks!
    Tom B.

  • How to make a border around a frame with variable line weights?

    I want to draw lines in Muse. I understand that it can only be done with the help of rectangles. In a free Muse Theme that I have downloaded I have found a quite nice line, that I have saved as graphic style. When  I read the properties I find the following definition: 'border weight (bottom: 1 left: 0 right: 0 top: 0).' It gives you the possibility to have only one line at the bottom. I very much would like to know how you can apply these variable settings to a border. I looked everywhere but can't find a way to do it. Any help would be greatly appreciated.

    Hi Dimitri,
    Select the rectangle you wish to use from your Muse page.
    Click on the blue 'Stroke' and a box will pop up where you can set the border styles for all four borders individually.

  • How to: Make a border around a text

    In word or OpenOffice, when i have a line of text I can click on an icon to select it's border... but I don't seem to be able to find how to do that in Pages.
    Is it possible?

    The only option I see on that PieroF webpage is to download it as a .zip file. When I download it and double-click on the icon, I get that zoom-out effect like it's opening, but it doesn't open. Dropping its icon onto the Stuffit icons doesn't do anything either.
    Anyway, I just experimented with masking off a colored matte in the way you mentioned, and I think I see how to do it: create a color matte and then lay two masks on top of it, an inner one and an (inverted) outer one, which leaves only a thin line of the color matte still showing. Is that it? For a double pinstripe, I suppose I would do that twice, i.e. create two masked-off mattes, one a little larger than the other, and stack them up on the video tracks?
    It's more trouble than the Piero frame generator, no doubt, but effective. Thanks!
    Tom B.

  • How to make a border

    Hello,
    I'm new to Mac & iWeb, I've d/l'd the iWebFAQ although it doesn't state anything on how to place a border around my content on my website. Nor can I find how to make a background under my website.
    Any assistance will be appreciated.
    ...Zorba118

    Click on whatever you want a border around and open the Inspector in iWeb and then click on the 5th along and then you have the option of using a Line or Picture Frame - whatever you want. If you want a border, then use the line option and you can change the colour and thickness of it around what you want.
    For background colours, open the Inspector and go to Page and Layout and then you can change the background page colour and the browser colour.

  • How to make plsql parser around java method

    can someone tell me how can i move Jdeveloper java method into oracle DB (how to make plsql parser around java method). Is this possible becouse in google i can not find any good example how to make this.

    Hi,
    I think you are talking about Java Stored Procedure (?)
    Look here, http://download.oracle.com/docs/cd/E11882_01/java.112/e10588/toc.htm
    Regards
    Peter

  • HT204364 In using the photo album how can I make a border around a photo in color?

    How can I insert a colored border around a picture in an photo book?

    To do that you'll need a 3rd party editor like one of these:
    Some Image Editors that support layers:
    Photoshop Elements 10 for Mac - $79
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    OT

  • How to make the border of a linked pciture go away in IE(8)

    picture A links to picture B. A blue border around picture A appears and when I clicked picture A which now links and displays pictures B, but after going back to the page that contains picture A, there is a purple color border appears on picture A indicating the link has been visited.
    I've created a CSS rule a
    set border to "none", also tried setting border-width to "0", both didn't work.
    How can I make the border go away? It seems only happen in IE(8) and not Firefox.
    Please help, thanks.
    Tony

    I couldn't get a img { border: none; } to work. I didn’t know where to input this line. But base on your info I've created a new CSS rule, tag img and set border to none, and it works.
    I was getting a little frustrated and you have saved the day.
    Thanks Bob,
    Tony

  • How to draw a border around a Textured Plane?

    Hi everyone,
    How does one go about drawing a square border around a textured square plane?
    I've tried using the setBoundaryColor() method, and have set the texture2D's boundaryModeS and boundaryModeT to CLAMP, but no boundary color appears.
    Can someone help?
    Here are some fragments of my code:
    /** My plane **/
    QuadArray plane = new QuadArray(20, GeometryArray.COORDINATES
    | GeometryArray.TEXTURE_COORDINATE_2
    | GeometryArray.COLOR_3
              float length = 0.5f;
              float epsilon = 0.1f;
         Point3f p = new Point3f(-length/2.0f, length/2.0f, 0.0f);
    plane.setCoordinate(0, p);
    p.set(-length/2.0f, -length/2.0f, 0.0f);
    plane.setCoordinate(1, p);
    p.set(length/2.0f, -length/2.0f, 0.0f);
    plane.setCoordinate(2, p);
    p.set(length/2.0f, length/2.0f, 0.0f);
    plane.setCoordinate(3, p);
         Point3f upperborder = new Point3f(-(length/2.0f+epsilon), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(4, upperborder);
    upperborder.set(-(length/2.0f+epsilon), length/2.0f, 0.0f);
    plane.setCoordinate(5, upperborder);
    upperborder.set((length/2.0f), length/2.0f, 0.0f);
    plane.setCoordinate(6, upperborder);
    upperborder.set((length/2.0f), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(7, upperborder);
    Point3f rightborder = new Point3f((length/2.0f), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(8, rightborder);
    rightborder.set((length/2.0f), -(length/2.0f), 0.0f);
    plane.setCoordinate(9, rightborder);
    rightborder.set((length/2.0f+epsilon), -(length/2.0f), 0.0f);
    plane.setCoordinate(10, rightborder);
    rightborder.set((length/2.0f+epsilon), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(11, rightborder);
    Point3f lowerborder = new Point3f(-(length/2.0f), -length/2.0f, 0.0f);
    plane.setCoordinate(12, lowerborder);
    lowerborder.set(-(length/2.0f), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(13, lowerborder);
    lowerborder.set((length/2.0f+epsilon), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(14, lowerborder);
    lowerborder.set((length/2.0f+epsilon), -length/2.0f, 0.0f);
    plane.setCoordinate(15, lowerborder);
    Point3f leftborder = new Point3f(-(length/2.0f+epsilon), length/2.0f, 0.0f);
    plane.setCoordinate(16, leftborder);
    leftborder.set(-(length/2.0f+epsilon), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(17, leftborder);
    leftborder.set(-(length/2.0f), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(18, leftborder);
    leftborder.set(-(length/2.0f), length/2.0f, 0.0f);
    plane.setCoordinate(19, leftborder);
    TexCoord2f q = new TexCoord2f(0.0f, 1.0f);
    plane.setTextureCoordinate(0, 0, q);
    q.set(0.0f, 0.0f);
    plane.setTextureCoordinate(0, 1, q);
    q.set(1.0f, 0.0f);
    plane.setTextureCoordinate(0, 2, q);
    q.set(1.0f, 1.0f);
    plane.setTextureCoordinate(0, 3, q);
    /** My Texture (using Appearance) **/
    // can't use parameterless constuctor
    Texture2D texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGBA, image.getWidth(), image.getHeight());
    texture.setImage(0, image);
    texture.setEnable(true);
    texture.setMagFilter(Texture.NICEST);
    texture.setBoundaryModeS(Texture.CLAMP_TO_BOUNDARY);
    texture.setBoundaryModeT(Texture.CLAMP_TO_BOUNDARY);
    texture.setBoundaryColor(new Color4f(1.0f, 0.0f, 0.0f, 0.0f));
    planeAppearance.setTexture(texture);
    Is there a better way to do it?
    Thanks in advance for any help!

    Do a control-A (select all). This should put a selection outline around your image. Then do an Edit-Stroke. Define your Width in pixels, Color, and then choose Inside. Set blending to whatever you want (Normal for a solid color) and then the Opacity.
    Play with it. Have fun. Do NOT edit original images - always do an Image-Duplicate before doing edits until you know what you're doing. It is way too easy to make edits and then save that file over your original - losing the source file forever (unless you have a backup).

  • How to draw a border around a TreeNode control?

    I have a TreeView that contains levels of TreeNodes. How do I draw borders around the text of the TreeNode? The TreeNode class does not accept a border style property. Assigning the property to TreeView only draws an outside window around the entire tree,
    not the individual nodes.

    Hi T.J.Fan,
    Sheng Jiang give a good suggestion, you could use the DrawNode event, I make an example for you.
    before you using this, you need to set DrawMode
    property to OwnerDrawText;
    private void treeView1_DrawNode(object sender, DrawTreeNodeEventArgs e)
    // Draw the background and node text for a selected node.
    if ((e.State & TreeNodeStates.Selected) != 0)
    Font nodeFont = e.Node.NodeFont;
    if (nodeFont == null) nodeFont = ((TreeView)sender).Font;
    Pen p = new Pen(Brushes.Red);
    e.Graphics.DrawRectangle(p, e.Node.Bounds);
    // Draw the node text.
    e.Graphics.DrawString(e.Node.Text, nodeFont, Brushes.White,
    Rectangle.Inflate(e.Bounds, 2, 0));
    // Use the default background and node text.
    else
    Font nodeFont = e.Node.NodeFont;
    if (nodeFont == null) nodeFont = ((TreeView)sender).Font;
    Pen p = new Pen(Brushes.Red);
    //draw border
    e.Graphics.DrawRectangle(p, e.Node.Bounds);
    // Draw the node text.
    e.Graphics.DrawString(e.Node.Text, nodeFont, Brushes.Black,
    Rectangle.Inflate(e.Bounds, 2, 0));
    // If the node has focus, draw the focus rectangle large, making
    // it large enough to include the text of the node tag, if present.
    if ((e.State & TreeNodeStates.Focused) != 0)
    using (Pen focusPen = new Pen(Color.Black))
    focusPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
    Rectangle focusBounds = e.Node.Bounds;
    focusBounds.Size = new Size(focusBounds.Width - 1,
    focusBounds.Height - 1);
    e.Graphics.DrawRectangle(focusPen, focusBounds);
    private void myTreeView_MouseDown(object sender, MouseEventArgs e)
    TreeNode clickedNode = treeView1.GetNodeAt(e.X, e.Y);
    if (clickedNode.Bounds.Contains(e.X, e.Y))
    treeView1.SelectedNode = clickedNode;
    #TreeView.DrawNode Event
    https://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.drawnode(v=vs.110).aspx
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add a Border around an ImageView

    Hi all,
    I'm adding a row of photos in my application which are being resized to fit into some constrained space with Preserve Ratio true. They are put in a TilePane, with a Label below each photo.
    Basically, I give all my ImageViews a fitHeight of 120 pixels, and let them determine how wide they will become themselves in order to preserve the ratio.
    It looks great.
    However, I would like to add a Border around these images, as they sometimes fade too much into the background to clearly see the edges. ImageViews themselves donot support borders, so I'm forced to wrap these ImageViews inside another container.... but, no matter what container I use, the container itself refuses to resize itself to fit exactly around the image -- it seems to be completely oblivious of the real size of the Image -- with some parameters the ImageView will simply render itself outside the edges of its container, and with other parameters the container is wider than the ImageView leaving a gap on the right side.
    This is yet another instance where I want my ImageViews to resize themselves to fit the available space, resulting in a huge struggle to force these components into their proper straight-jacket. Anyone got any solutions for this?

    I'm afraid that also won't work, as the Image needs to be scaled, and the dimensions you are using are from the unscaled image.
    I've however am now using this class to get what I want, together with a stylesheet to specify the border it works and I get nice borders.
    package hs.mediasystem.util;
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.geometry.Bounds;
    import javafx.geometry.Insets;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.Region;
    import javafx.scene.layout.StackPane;
    public class ScaledImageView extends Region {
      private final ImageView imageView = new ImageView();
      private final StackPane effectRegion = new StackPane();
      private final ObjectProperty<Pos> alignment = new SimpleObjectProperty<>(Pos.TOP_LEFT);
      public ObjectProperty<Pos> alignmentProperty() { return alignment; }
      public final Pos getAlignment() { return this.alignment.get(); }
      public final void setAlignment(Pos pos) { this.alignment.set(pos); }
      public ScaledImageView(Node placeHolder) {
        getChildren().add(imageView);
        getChildren().add(effectRegion);
        getStyleClass().add("scaled-image-view");
        effectRegion.getStyleClass().add("image-view");
        if(placeHolder != null) {
          effectRegion.getChildren().add(placeHolder);
          placeHolder.getStyleClass().add("place-holder");
          placeHolder.visibleProperty().bind(imageView.imageProperty().isNull());
      public ScaledImageView() {
        this(null);
      @Override
      protected void layoutChildren() {
        Insets insets = effectRegion.getInsets();
        double insetsWidth = insets.getLeft() + insets.getRight();
        double insetsHeight = insets.getTop() + insets.getBottom();
        imageView.setFitWidth(getWidth() - insetsWidth);
        imageView.setFitHeight(getHeight() - insetsHeight);
        layoutInArea(imageView, insets.getLeft(), insets.getTop(), getWidth() - insetsWidth, getHeight() - insetsHeight, 0, alignment.get().getHpos(), alignment.get().getVpos());
        Bounds bounds = imageView.getLayoutBounds();
        effectRegion.setMinWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMinHeight(bounds.getHeight() + insetsHeight);
        effectRegion.setMaxWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMaxHeight(bounds.getHeight() + insetsHeight);
        layoutInArea(effectRegion,  0, 0, getWidth(), getHeight(), 0, alignment.get().getHpos(), alignment.get().getVpos());
      @Override
      protected double computePrefWidth(double height) {
        return 0;
      @Override
      protected double computePrefHeight(double width) {
        return 0;
      public final ObjectProperty<Image> imageProperty() { return imageView.imageProperty(); }
      public final Image getImage() { return imageView.getImage(); }
      public final void setImage(Image image) { imageView.setImage(image); }
      public final BooleanProperty preserveRatioProperty() { return imageView.preserveRatioProperty(); }
      public final boolean isPreserveRatio() { return imageView.isPreserveRatio(); }
      public final void setPreserveRatio(boolean preserveRatio) { imageView.setPreserveRatio(preserveRatio); }
      public final BooleanProperty smoothProperty() { return imageView.smoothProperty(); }
      public final boolean isSmooth() { return imageView.isSmooth(); }
      public final void setSmooth(boolean smooth) { imageView.setSmooth(smooth); }
    }

  • How to remove black border around image files?

    I'm something of a beginner with Photoshop, so forgive me if I've missed something entirely obvious: for some strange reason I'm now getting a black border around all image files that I save through the "Save for Web & Devices" panel. Does anyone know how I can save without creating this border? It looks rather unsightly when I load it into a client site. The file in question is a .png, but I seem to be getting the same effect with all other image files as well.
    Thanks in advance,
    Shane

    One cause could be having the matte color set to something other than none.
    Is that a png-8?
    MTSTUNER

  • How to draw a border around shape objects?

    How would I draw a border around something like an Ellipse2D object? I tried using using a BasicStroke in a sub-class of Ellipse but nothing showed.

    nvm, figured it out, I wasn't calling the draw method :)

  • How to get a border around several components in GridBagLayout

    I have several buttons in a 16 x 12 matrix using GridBagLayout manager
    Now I want to have a border around buttons 1/1 to 6/6 and another border around 1/7 to 8/6
    and another border around 1/9 to 16/6. How can I do this ?

    I usually create JPanels for each group, with their own LayoutManager. Adding a [ border to a JPanel is fairly staight forward|http://java.sun.com/docs/books/tutorial/uiswing/components/border.html] . To put thing together, I add instances of those JPanels to a top level JPanel in some frame or window.

  • How to create a border around JCheckBox?

    Hello,
    I would like to set a border around a JCheckBox. I don't mean the little square arround the check symbol, I mean the whole component. Does anyone know how to do this?
    More details:
    What I am trying to do is to use a JCheckBox as the renderer for a column in a JTable. However, I would like the values of this column to look like the column headers. In other words, I am trying to create a "row header". However, when I try to set the border of my JCheckBox to the same thing as the header renderer component, it doesn't show up that way. If I just use a JLabel as the renderer, I can set the border and it shows.
    Does anyone have a suggestion? Thank you for your help.

    yourCheckBox.setBorderPainted(true);

Maybe you are looking for