Resizing graphics frames that have stroke/keylines

When I resize a graphic frame (with a placed image in it) that has a stroke/keyline, the stroke changes weight and I have to reapply the Object Style which sets the weight. How can I keep the same weight when I resize?
Also is there a way of changing the default behaviour of SHIFT+Resize box with mouse so that it resizes the frame AND content rather than having to use the more cumbersome ALT+SHIFT+mouse resize? I do that far more often then just resizing the frame and keeping the ratio!

Scaling Stroke Issue: On the menu bar at the far right, select the flyout and you will see the option "Adjust Stroke Weight When Scaling" here you can deselect to turn off
Resizing Issue: For just one image, select image, Object > Fitting > Frame Fitting Options > Turn on Autofit and Desired Fitting Option
Resizing Issue: For multiple images, Object Styles > select stye(s) > Frame Fitting Options > Turn on Autofit and Desired Fitting Option

Similar Messages

  • Graphic Style that adds stroke without changing fill?

    I'd like to assign a graphic style that adds to the existing style. For example, I need to add the same stroke to various objects that  have different fills. Can I do that with a Graphic Style? I know I can group the object and add the style to the group, but this complicates the structure of the file. I would rather the stroke was just added to the object itself. I looked at "additive styles", but don't think they are what I'm looking for.
    Thanks,

    Thanks, Jean-Claude. You just made my job much easier. I used to think I knew Illustrator, until I met some of the people on this forum.

  • Make anchored graphics frames act as containers

    If I choose Object/Anchored Object/Insert and make the inserted frame a graphics frame (with above line positioning), it doesn't act as a container. That is, if I put a graphic into the frame or create one with the drawing tools -- say a line diagram -- and then make edits to surrounding text that causes the text to move up or down, the *frame* moves with the text it's anchored to, but the graphics inside it *don't* -- with enough editing, they could move right outside the frame, like ghosts passing thro' walls. Since almost every time I want to put a graphic onto the page it bears some specific relationship to the local text, this behavior is unhelpful, to say the least.
    I can't figure out what the point of graphics frames that don't hold their contents in place could be, so I wonder if this is a bug. If so, please fix it. But if ID is behaving as intended, please add the option to preserve the position of graphics inside the frame *relative to the frame boundaries* (as opposed to relative the page boundaries).
    Thanks.
    PS: I did try to group the frame with a line diagram inside it but that seems impossible. I also know you can paste graphics into body text directly -- I watched AMC's video at Adobe -- but when the graphic in question has different pieces that relate to specific words above or below it, you really can't build it off-site then paste it in -- especially if the result of doing that limits your options for adjustments.

    I believe we've covered this issue thoroughly. There's nothing wrong with your intention, but there is something missing about the containership behavior of ID's anchored frames that works fine in FM.
    I think it's a bug. Others may think it's a personal wish that isn't supported. My thinking is that ID's frame objects are already packed with smarts about content type and fitting abilities, that the developers simply overlooked providing the ability to add new objects freely into a frame that's already got content (like FM can.)
    Apparently designers don't encounter this need anywhere nearly as often as those who author annotated documents in Word, FM, or other similar tools that permit working in the isolated environment of a frame - adding, removing, resizing, rearranging text objects and graphic objects at will - as if it were a blank page environment. So, there have been few reports of problems in this area.
    The main reliable anchored-frame solution for this particular problem is to create and revise the content outside of any frame, then group, select, and copy the composite object and paste it at the cursor insertion point, or save it as a separate ID file and place it as an anchored object.
    Perhaps you've already explored using an unstroked table for this particular need. The baselines of text in your example seem to be aligned across the horizontal rows, and the divider lines also seem aligned on horizontal rows. The divider lines could be created by several means - underlines in cells, graphic lines in anchored frames in cells, or horizontal cell rulings.
    The whole arrangement requires painstaking attention no matter how it's constructed, so the fussiness of working with a table wouldn't seem to add something that might not be needed with a different method. Because tables can break across frames, you'd need to set all rows to keep together.
    Again, I strongly suggest formally reporting this quirk as a bug to be fixed and/or a feature request.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How can we place an image in already created inline graphic frame?

    Hi,
    AIM::
    To place an image in the inline graphic frame.
    OBSERVATION::
    As i have analysed the snippet Runner,i came to know that it allows to load the placegun with the file(in my case image). but in order to place it,we need to click on the document..and then the image is placed at (0,0) of the page(I suppose Indesign does it automatically).
    what is needed,is to place image in already created inline graphic frame. i have created a inline graphic frame at some position in the story,but now i required to place image in this created frame.

    I have the same problem. Can you give me a short code sample for that.
    I have an image and want to place it in the currently selected frame...

  • Graphics Frames

    I am having a hell of a time working with graphics frames. I have two problems:
    1) How do I create call-outs in a graphics frame that stay within the frame and can be grouped with the primary graphic in the frame (i.e., a screenshot).
    2) Sometimes I use text boxes within graphics frames and want to group the text box and graphics frame so they behave as one object. Sometimes I can do this and sometimes I cannot. What trick is there to doing this?
    Thanks.
    Best wishes,
    Tony

    tonygrocco wrote:
    I am having a hell of a time working with graphics frames. I have two problems:
    1) How do I create call-outs in a graphics frame that stay within the frame and can be grouped with the primary graphic in the frame (i.e., a screenshot).
    2) Sometimes I use text boxes within graphics frames and want to group the text box and graphics frame so they behave as one object. Sometimes I can do this and sometimes I cannot. What trick is there to doing this?
    Thanks.
    Best wishes,
    Tony
    HI, Tony:
    This is one of the most maddening aspects of InDesign. When you create a grouped object outside of an anchored frame and paste it into a selected anchored frame - for example a text frame and a graphic object - you can edit the text in the the text frame, and if I recall correctly, you can select the text frame or graphic with the Direct-Selection tool (the white arrow), and move them within the anchored frame, but you can't paste another object into the anchored frame without replacing those already present. You need to either cut the group from the anchored frame and paste it outside the anchored frame, then add objects to, or subtract objects from the group, regroup, and paste that into the anchored frame.
    Please add your own formal request to those already at Adobe - Feature Request/Bug Report Form.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Indesign Script to import Library asset beneath all graphic frames

    Hi all,
    I wonder if anybody could help me with a problem? (I'm learning scripting but some things are still a bit tricky)
    I have managed a script to place a Library Asset onto a page.
    What I need however is a script to place multiple instances of this Library asset directly beneath every graphic frame that exists in my whole document. If it can be done, I preferably need the asset to snap to the bottom left of the frames, top of the asset touching the bottom of the graphic frame.
    This is from Library 'Library' and the asset is 'Test'
    Has anybody a script or something similar? Thank you.

    AFAIK, you’re wasting your time. If you want those options you’ll need to use file>place. It is worth noting that many of those options are sticky so if you need the same option all the time just place one file and choose the appropriate options.

  • Automatic "Graphic Frames" Object Sizing

    I want to create "graphic frames", or image boxes, on master pages that already define the size of the object to be placed into the frames. For example, in a book, I have many pages, each with several "graphic frames" that will have many, many similar graphics placed into them, and they all need to be sized down to 85% height. Why can't I create master page "graphic frames" that will automatically size graphics placed into them at 85% height? Or, why can't I do this with "Object Styles"? Thank you.

    Yes, I also tried this, but unfortunately it doesn't work when you are placing "All" pages of a multi-page PDF. When you are placing multiple pages, InDesign only allows you to place art in it's own, new, "graphic frame", not in an existing frame via the "Replace selected item" option. Nice try though. Thank you.

  • HELP!!! JTextArea keeps resizing to the size of the frame i have it on!!!1

    I have a Frame that has a panel with a JTextArea in it, but when the text area is displayed (regardless of what size i declare it ) it resizes itself to the size of the frame .. Anbody that can telkl me why it does this, thanks in advance ; )

    okay, i'm back from lunch. maybe this will give you some ideas. i added borders so you could see the outline of the scroll pane as opposed to the top panel which i'm thinking should be called left panel since you have it to the west. it's not meant to represent the best design, only to demonstrate some thoughts.
    import javax.swing.*;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    public class MyFrame extends javax.swing.JFrame {
       private JPanel panel;
       private JScrollPane scroll;
       private JTextArea area;
       /** Creates a new instance of MyFrame */
       public MyFrame() {
          init();
       private void init(){
          setTitle("My Frame");
          panel = new JPanel();
          panel.setBorder(BorderFactory.createTitledBorder("my panel"));
          area = new JTextArea();
          area.setLineWrap(true);
          area.setWrapStyleWord(true);
          area.setRows(15);
          scroll = new JScrollPane(area);
          scroll.setBorder(BorderFactory.createTitledBorder("my scroll"));
          panel.add(scroll);
          getContentPane().add(panel,BorderLayout.WEST);
          setSize(400, 400);
          setLocationRelativeTo(null);
          addWindowListener(new WindowAdapter(){
             public void windowClosing(WindowEvent we) {
                System.exit(0);
          String tmp = "here is some text to test an area";
          for(int i=0;i<50;i++)
             area.append(tmp);
       public static void main(String[] args) {
          new MyFrame().setVisible(true);
    }

  • TS3479 I have a iMac mid 2011 with Mac OSx Lion 10.7.4. I was using iMovie suddenly today I found iMovie is not starting a window is popping up saying "iMovie requires a graphics card that is compatible with Quartz Extreme. One or more of your graphics ca

    I have an iMac Mid 2011 model intel i5 with AMD Redeon HD6750M 512 MB graphic card, 8 MB RAM.
    I was using the imovie the other day and down loaded some of the vedio clips from Sony camcorder.
    All of a sudden today while I was trying to open the iMovie it did not a window poped up saying that
    iMovie requires requires a graphic card that is compatible with Quartz Extreme................
    What is these nonsence thing happening ........
    Can any body provide some clue how to resolve the issue
    Thanks and regards in advance
    Bijan

    If it was previously working then try a smc and pram reset.
    If that doesn't fix it then see if vlc can handle the video.

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • Captivate 5 - issue with editing imported PowerPoints that have been resized

    I'm having an issue with editing PowerPoint files that have been imported into Captivate 5 when they have been resized within the Captivate project after the initial import.
    1. I import a PowerPoint presentation into 800x600 dimension.
    2. I resize the project to 900x600 by not locking the aspect ratio and selecting to position to the top right so there is a 100 pixel strip to the left of the slide that we use for navigation buttons and other info.
    3. If I need to make a change to a PowerPoint, I select Edit > Edit with Microsoft PowerPoint > Edit Slide (or Edit Presentation).
    4. The slide opens in PowerPoint and I make the changes and click Save.
    5. When the slide is imported back into Captivate, it is stretched and resized to not fit either 800x600 or 900x600, but something in between. This did not happen in Captivate 4 - the slide would retain the 800x600 dimension slid over to the right with no issues.
    Are there any settings that can be done to ensure the edited slides will import back into the project with the correctly sized dimensions for the current project?

    Hi there
    I agree that it would be nice to see a notification. You know, Captivate offers a special area for notifications that appear when you open it. I'm stymied as to why Adobe doesn't use this area for making such announcements.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Which Macs have graphics cards that are specifically designed to work best with CS6?

    I'm currently using a late-2009 24" iMac but it just isn't robust enough for some of the the programs included in CS6 (After Effects, Premiere Pro, for example).  I'm planning to buy a new Mac, but I would like to know if there is one or more that has/have graphics cards that are specifically designed to work well with CS6, and if not, were I to purchase a Mac Pro, would I be able to replace the factory graphics card with an after-market card that does?  Thank you.

    If you are not in the 4K business --> I would go for the 32 GB & 27" iMac w/o Retina, the NVIDIA GeForce GTX 780M mit 4 GB GDDR5 (CUDA support) will give you quite a good performance, i.e. with a Thunderbolt connected Raid6 system your 2K projects (including some color correction and other plugins) will work well and you can even use the system as 4k starter/test system.
    If you in the 4K business you could use a full blown iMac Retina system with a GPU AMD Radeon R9 M295X mit 4 GB GDDR5 together with an already mentioned TB Raid6 system. As described from the forum-compatriots, this non-CUDA card doesn't perform too well on GPU accelerated functions of PPro --> but --> search this forum... you will be surprised....some workflows are nearly unaffected....
    If you are in the high end 4K footage busine$$ and you apply a lot of external color correction to your 4k footage (e.g. BM DaVinci) I would go for a MPro with 2 D700 cards.

  • I am trying to e-mail 5 photos that have to be resized to 1024x768 and pixels no larger than 100 pip. how do I do this in iPhoto ? thanks !

    I am trying to e-mail 5 photos that have to be resized to 1024x768and the image to be a maximum of 100 ppi.
    How do I do this in Iphoto ? Thanks.

    Crop the Photos to the preferred aspect ratio and then export them setting 1024 as the longest side.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • Panel doesn't display properly until I resize the frame

    Hiya folks,
    I'm currently trying to write a simple piece of music notation software. This is my first time using swing beyond a relatively simple JApplet and some dialog stuff. Anywho, I ran into a pretty discouraging issue early on. So far I've got a frame with a menu bar and a toolbar on the bottom border. The toolbar contains a button which should draw a new staff panel containing 11 panels (potentially more) within it, alternating between lines and spaces. Sort of like this:
    import javax.swing.*;
    import java.awt.*;
    public class Staff extends JPanel {
       private static JPanel nsp1,nsp3,nsp5,nsp7,nsp9,nsp11;
       private static JPanel nsp2,nsp4,nsp6,nsp8,nsp10;
       private ImageIcon image= new ImageIcon(this.getClass().getResource( "icons/treble clef.gif"));
        public Staff(){
        setLayout(new GridLayout(11,1));
        add(nsp1= new NoteSpace());
        add(nsp2= new LineSpace());
        add(nsp3= new NoteSpace());
        add(nsp4= new LineSpace());
        add(nsp5= new NoteSpace());
        add(nsp6= new LineSpace());
        add(nsp7= new NoteSpace());
        add(nsp8= new LineSpace());
        add(nsp9= new NoteSpace());
        add(nsp10= new LineSpace());
        add(nsp11= new NoteSpace());
    static class NoteSpace extends JPanel{
        public NoteSpace(){
        setPreferredSize(new Dimension(this.getWidth(),2));
    static class LineSpace extends JPanel{
          public LineSpace(){
          setPreferredSize(new Dimension(this.getWidth(),1));
          public void paint(Graphics g) {
              super.paint(g);
              g.drawLine(0, (int) super.getHeight()/2, (int)super.getWidth(), (int)super.getHeight()/2);
    }Anyway, this panel displays as a tiny box wherein nothing is visible until I resize the frame. Really frustrating. And I have have no idea what the problem might be. Here's the actionlistener:
    jbtcleff.addActionListener(new ActionListener (){
            public void actionPerformed (ActionEvent e){
                staff.setBounds(50,panel.getHeight()/2,panel.getWidth()-50,panel.getHeight()/2);
                panel.add(staff);
                staff.repaint();
            });...which is located in a custom jtoolbar class within the Main class, an extension of JFrame:
    public class Main extends JFrame{
       JMenuBar jmb=new CustomMenuBar();
       JToolBar jtb= new CustomToolBars("ToolBar");
       static boolean isStaff=false;
       static boolean isNote=false;
       static JPanel panel = new JPanel();
       private static Staff staff= new Staff();
        private static Toolkit toolkit= Toolkit.getDefaultToolkit();
       private static Image image=toolkit.getImage("C:/Users/tim/Documents/NetBeansProjects/ISP/src/MusicGUI/icons/treble clef.jpg");
        private static Cursor noteCursor = toolkit.createCustomCursor(image,new Point(0,0),"Image"); 
       public Main (String m) {   
            super(m);
            setJMenuBar(jmb);    
            getContentPane().add(jtb,BorderLayout.SOUTH);       
            panel.setLayout(new CardLayout(60,60));
            getContentPane().add(panel);
    public static void main (String[]args){
            JFrame frame= new Main("Music");
            frame.setSize(800,400);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
            frame.setIconImage(image);
           Sorry for all the code. I'm desperate.
    Thanks!

    Oh my... have you been through the Swing tutorial?
    Let's look at some of your code,
    static class NoteSpace extends JPanel{
        public NoteSpace(){
        setPreferredSize(new Dimension(this.getWidth(),2));
    static class LineSpace extends JPanel{
          public LineSpace(){
          setPreferredSize(new Dimension(this.getWidth(),1));
          public void paint(Graphics g) {
              super.paint(g);
              g.drawLine(0, (int) super.getHeight()/2, (int)super.getWidth(), (int)super.getHeight()/2);
    }Here, NoteSpace and LineSpace are being set to a preferred size of 0x2 pixels, and 0x1 pixels respectfully. If you want them at 0 width, how do you expect them to show? In particular, NoteSpace isn't doing anything special. It's just a panel. Why an inner class? Lastly you should not override paint() for SWING. That's AWT stuff. For Swing, you override paintComponent(Graphics g) .
    Then we have this
    jbtcleff.addActionListener(new ActionListener (){
            public void actionPerformed (ActionEvent e){
                staff.setBounds(50,panel.getHeight()/2,panel.getWidth()-50,panel.getHeight()/2);
                panel.add(staff);
                staff.repaint();
            });I'm not sure what the variable jbtcleff is, but it seems you are adding your Staff panel to "panel" every time a button is pressed.... why? Why not just add it once (outside the action listener) and be done with it. Your panel object has a CardLayout, so I assume you meant to create a new+ staff panel everytime a button is pressed, and then add it to the card layout panel. Even so, setBounds(...) does not seem pertinant to this goal. (In fact, in most situtations the use of setBounds(...) is the antithesis of using layout managers).
    The problem you mentioned though seems to be related to the use of a JPanel (your Staff class) that adds zero-width compontents to a grid array.

  • Help setPreferredSize and resizing a frame

    Hey,
    I have an internal JFrame that contains a JPanel which contains an image. The JPanel is the only compnent of the internal JFrame and must take up the whole of the space in the frame. The image must take up the whole of the Jpanel.
    At the moment the image is drawn in the paint component part of the JPanel:
         // draw the racing track
         g.drawImage(track, 0, 0, imageWidth, imageHeight, this);
    I set the preferred size of the JPanel so that the JFrame fits exactly around the image. This is to avoid clipping that would occur if i set the frame to the size of the image. This is implemented in the constructor of the JPanel :
    // track is the image i am trying to draw
         imageWidth = track.getWidth(this);
         imageHeight = track.getHeight(this);
         setPreferredSize(new Dimension(imageWidth, imageHeight));
    In the JInternalFrame I extend I call the pack() method; I believe this is what sets the frame to the right size so that no clipping occurs.
    This works fine; the image currently appears with no clipping. However now I want to resize the internal frame. When this happens I want the image to be resized so that it can appear larger or smaller but it must maintain its original proportions.
    I have the following event listener in place in the class that creates all of the internal frames :
    tFrame.addComponentListener(new ComponentAdapter() {
    public void componentResized(ComponentEvent evt) {
    tFrameComponentResized(evt);
    private void tFrameComponentResized(ComponentEvent evt) {
         trackWidth = tFrame.getWidth();
         trackHeight = tFrame.getHeight();
    I am not sure how to continue from here. Any help would be greatly appreciated!!
    Thanks Guys (and gals!)
    Alex.

    I have no idea if this is what you were looking for :import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.AffineTransform;
    import java.net.URL;
    import java.net.MalformedURLException;
    public class ResizableImage extends JPanel {
         private Image theImage;
         public ResizableImage(Image anImage) {
              if (anImage.getWidth(null) == 0) throw new IllegalArgumentException("Image's width is null");
              if (anImage.getHeight(null) == 0) throw new IllegalArgumentException("Image's height is nul");
              theImage = anImage;
         public Dimension getPreferredSize() {
              return new Dimension(theImage.getWidth(null), theImage.getHeight(null));
         protected void paintComponent(Graphics g) {
              super.paintComponents(g);
              Graphics2D g2D = (Graphics2D)g;
              Dimension available = getSize();
              if (available.width * available.height == 0) return;
              Dimension image = new Dimension(theImage.getWidth(null), theImage.getHeight(null));
              if (image.width * image.height == 0) return;
              if (image.equals(available)) {
                   g2D.drawImage(theImage, 0, 0, null);
                   return;
              double scale;
              if (available.height * image.width < available.width * image.height) {
                   scale = (double)available.height / (double)image.height;
              } else {
                   scale = (double)available.width / (double)image.width;
              g2D.drawImage(theImage, AffineTransform.getScaleInstance(scale, scale), null);
         public static void main(String[] args) {
              try {
                   final JFrame frame = new JFrame("Resizable image");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   URL imageUrl = new URL("http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/images/Bird.gif");
                   frame.setContentPane(new ResizableImage(new ImageIcon(imageUrl).getImage()));
                   SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                             frame.pack();
                             frame.show();
              } catch (MalformedURLException e) {
                   e.printStackTrace();
    }

Maybe you are looking for

  • Cs3 preview looks good but won't display some pictures online.

    Using cs3.  My pages work fine in display but some .gif and .jpeg won't display once published.  Same in ie and mozilla.  http://www.cinnamonridgehomes.com/homeplans.html  Any ideas?

  • Account numbers with unassigned Chart of accounts

    Hi.. Records for the cube are coming from R/3 via a program into a table. BW loads the data from the table. In the table there are some records for an account number 40200 which is assigned to Chart of Accounts and some records for the same account n

  • HOW TO ADD DRILL DOWN IN A REPORT

    hi well i want to add drill down in my report.... im unable to find it .... can you please help me to make a drill down in my report. thnx and regards UMAR NAYAB.

  • Import ics into Calendar, getting error 403...

    I have been getting this issues since upgrading two weeks ago to Yosemite. Every invitation I get from my work colleagues end with this continuous error. It means I am constantly cancelling the errors for each invitation continuously all day. The ser

  • Why is the lower part of my iPhone screen unresponsive (certain apps only)?

    I have an iPhone 3GS, just updated it to iOS 6 last week. It has been working fine, but since yesterday the lower 1/10th of the screen (where the send button is for SMS, space bar and other key items) is unresponsive in certain apps. For example, I c