Is there an inkscape extension that allows objects to be fitted into a frame automatically adjusting the size of the object, like can be achieved in InDesign?
http://help.adobe.com/en_US/indesign/cs ... -8000.html
Fitting images/objects to a frame
Re: Fitting images/objects to a frame
I'm not familiar with that program, unfortunately. But I do know there are some extensions for the web, such as Web Slicer, and exporting html. I'm really not familiar with them either. But you could have a look Just look in the Extensions menu > Web.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Fitting images/objects to a frame
higgylm wrote:Is there an inkscape extension that allows objects to be fitted into a frame automatically adjusting the size of the object, like can be achieved in InDesign?
http://help.adobe.com/en_US/indesign/cs ... -8000.html
InDesign and Inkscape are conceptually different programs - a desktop publishing app vs a vector graphics program. So Inkscape doesn't have a concept of frames in this way. Scribus would be a closer match to InDesign, and it does use frames to contain elements on the page. With Inkscape objects just exist on their own without having to be placed into a frame.
If, however, you manually draw an object that you want to use as a frame (e.g. a rectangle with stroke but no fill), you can manipulate an image or other object (or group of objects) to fit into it by enabling snapping - particularly cusp nodes - and then just dragging two opposing resize handles until they snap into the "frame" element. I'm not aware of a way to automate this, however.
Re: Fitting images/objects to a frame
Thinking about it last night I realised that there is an automated way of at least getting close to what you want (or what I think you want).
If you select the "frame" element and copy it to the clipboard, you can use the Edit=>Paste Size options to make your objects take on the width and/or height of the frame. Conversely if you copy the object to the clipboard you could use the same to make the frame match the dimensions of the object.
Note that this does only alter the width and height - it doesn't move the object to be centred within the frame. For that you'll need to use Object=>Align and Distribute to centre your object within the frame. It doesn't matter whether you centre it before or after resizing, the effect is the same.
If you select the "frame" element and copy it to the clipboard, you can use the Edit=>Paste Size options to make your objects take on the width and/or height of the frame. Conversely if you copy the object to the clipboard you could use the same to make the frame match the dimensions of the object.
Note that this does only alter the width and height - it doesn't move the object to be centred within the frame. For that you'll need to use Object=>Align and Distribute to centre your object within the frame. It doesn't matter whether you centre it before or after resizing, the effect is the same.