Article View: adobe.scripting.indesign
Article #20047Rotate an Image before it's placed in a frame
From: Bill Clements
Date: Tue, 05 Nov 2002 21:45
Date: Tue, 05 Nov 2002 21:45
19 lines
1743 bytes
1743 bytes
I asked this before, but got no answers. Is it possible to rotate an image before it is placed inside a frame? Imagine a portrait page. On this, I place 4 portrait frames, whose proportions are the same as the images I want to place in them. But the images on my hard drive are in landscape format (and I don't want to rotate them on the hard drive). If I place a landscape Image in a portrait frame, and Fit Proportionaly and Center it, it will leave a white band above and bellow the image in the frame. What I would like, is a script which sees the image is wider than tall (i.e landscape), compare it to the frame it sopposed to go in (in this case taller than wide), and if this is portrait, rotate the image 90 derees right, before it places the image into the frame. After this, apply the Fit Proportional and Center Image in frame commands. How can I do this? Thanks, Bill
Technical Details
Message-ID:
<1de6787c.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.70.MISMATCH!feed3.newsreader.com!newsreader.com!newsfeed-east.nntpserver.com!nntpserver.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,c75f4790dbc2b62,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-05 14:12:11 PST From: "Bill Clements" <clementsbill@hotmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.70.MISMATCH!feed3.newsreader.com!newsreader.com!newsfeed-east.nntpserver.com!nntpserver.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Rotate an Image before it's placed in a frame Message-ID: <1de6787c.-1@WebX.la2eafNXanI> Date: Tue, 5 Nov 2002 13:45:29 -0800 Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit