There is no command within InDesign CS5/5.5 to have page dimensions match an object. Of course, someone could probably develop a script....
Thanks Steve! I'll go ponder over the weekend whether this is a good time to learn scripting
I often have to change artwork into stuff for PowerPoint and I'd find a solution to this very helpful. Currently I copy the bit I need into a new InDesign document, change the page dimensions manually so it fits just around the artwork, export it to a jpeg or png.
Or maybe export as an eps to do more work on it in Illustrator, where I can use the artboard command to "fit to artwork bounds".
I'm laying out a document of mixed dimension artwork. The end-user will get a PDF where each page is a different image. (e.g. some images are horizontal, others vertical, etc...).
If I had the same dimensions on every page, then the user viewing the PDF will often get alot of un-used viewing space on their monitor.
By customizing the page dimentions for each page, Acrobat auto-zooms each page to maximize screen space, which is what my client greatly prefers.
You're better off just selecting the bunch of images and Combine them Acrobat.
What you can do is go into Acrobat
File>Combine>Merge files into a single PDF.
If the images are huge - then I suggest running a Batch action on the folder of images to save them to a new folder - perhaps reducing the size something more screen friendly, perhaps 400 px in height and at whatever resolution is appropriate.
Basics of that are here: http://graphicssoft.about.com/od/digitalphotography/l/blps_batch.htm
I don't think there's much need for InDeisgn here at all.
I'm sorry, I over-simplified my description a bit. Each artwork is paired with a few paragraphs of text beside it describing the work. But I do think it's still possible to do through scripting.
Each artwork is paired with a few paragraphs of text beside it describing the work. But I do think it's still possible to do through scripting.
That makes more sense. Yes, it's totally doable with scripting.
Basically loop over each page, and on each page, place all the items in a group, get the geometricBounds of the group, ungroup them, and change the page bounds to the geometricBounds you found of the group.