Image to 90 degree rotate

I need to rotate the grouped (image with caption) how to do the same in indesign script
Please help me

If a group object is selected, use the below code:
app.selection[0].rotationAngle = 90;
Or
You want to process the enitre document, the try this
var myPage = app.activeDocument.pages[0];//One page document
var myGroup = myPage.groups;
for(var i = 0; i < myGroup.length; i++)
    myGroup[i].select();
    app.selection[0].rotationAngle = 90;
Vandy

Similar Messages

  • When I drag an image into IBA, it rotates 90 degrees.

    I'm having trouble dragging a particular image into iBooks Author.  I took a picture and imported from my camera to iPhoto.  The image had to be rotated 90 degrees, which I did in iPhoto.  I'm using the "Contemporary" template in iBooks Author and I'm trying to drag my image from iPhoto to replace the red, space themed image at the top of a section page.  When I do so, the image reverts to its original instead of the rotated form.  I can't figure out how to rotate the image without rotating the mask.

    Hello Abram1,
    Not sure of the reasons but I would imaging it might have to do with iPhoto and its non destruction approach to editing.
    Have you tried exporting the image out as a new image that would then have the new rotation that you wish applied to it.
    I hope this helps,
    Regards,
    Nigel

  • 360 degree rotate image mouse drag edge tutorial

    360 degree rotate image mouse drag edge tutorial and give edge file

    My thoughts would be to, use an event listener for mouse
    down.. then depending on where the mouse is down have it create
    another event listener for mouse move, for example if the mouse x
    and y was in the range of where you want.. And after that in the
    mouse move function create a tween depending on where the mouse x
    or why moves to.
    private function mouseDOWN(evt:MouseEvent):void{
    //if mouse x or y is in the position rang wanted, create the
    event listener for mouse movement and mouse up.
    private function mouseMOVED(evt:MouseEvent):void{
    //if mouse y moved from original position, figure out the
    difference
    // create a tween on the object's original location, and
    addition of the difference.
    private function mouseUP(evt:MouseEvent):void{
    // remove all of the event listeners to stop all
    interaction. Also removing the mouse up listener.
    hope this helps

  • Photos 90 degrees rotated on website. Fine on Mac or PC

    We just noticed that 2 photos on my wifes website appear 90 degrees rotated and stretched on the iPad.
    But the images looks fine on your Mac and Pc.
    Please check how it looks on your iPad:
    http://wp1055681.wp040.webpack.hosteurope.de/meine7pfoten/ostern2012.html
    It´s the one with the red telephonebox and the guy with the helmet.

    Safari on iOS uses the EXIF orientation (rotation) information in the JPEG image to determine how to draw the image.  To adjust the orientation of each image, you'll need to use an image editor.

  • JS CS3 flag duplicate images with scale and rotation differnce

    I've been trying to cut down on the number of images a script I have would produce.  The old script would look for links that are being used multiple times and then just version the link which is fine.  What I am finding this that although a document may have one image linked 9 time 6 times out of the nine the image is scaled and rotated the same amount and the other 3 times the rotation and scaling also match. In this example the image only needs 2 versions the first as the original and the second with the scale and rotation of the image used 3 time let say.
    So to the code:
    The following code will work through the doc and create an array of the links as duplicates:
    function LinkUsage(myLink) {
        var myLinkCounter = 0;
            for (var myCounter =  0; myCounter < myDoc.links.length; myCounter++) {
            if (myLink.filePath == myDoc.links[myCounter].filePath) {
                myLinkCounter++;
        return myLinkCounter
    var myDoc = app.activeDocument;var myNumLinks = [];
    for ( var t = myDoc.links.length-1; t >= 0; t-- ){
        if(LinkUsage(myDoc.links[t])>1){
                myNumLinks.push(myDoc.links[t].id);
    Is there a way to loop through the array and only flag the differnent scale and roatations.  What I should get is that out of the multiple link uasage the image is only changed twice out of the 9 times used.
    I was trying to loop through the array and then loop through it within the loop to compare the link but this does not work for obvious reasons.
    for (var i=0  ; i <myNumLinks.length; i++){
        var valLink = myDoc.links.itemByID( myNumLinks[i]);
            if(valLink.parent.constructor.name == "Image"){
                for (var j=0  ; j<myNumLinks.length; j++){
                    if(myDoc.links.itemByID( myNumLinks[j]).parent.constructor.name == "Image"){
                        if(valLink.parent.parent.images[0].rotationAngle != myDoc.links.itemByID( myNumLinks[j]).parent.parent.images[0].rotationAngle){
                            $.write(myNumLinks[i]+"\n");
    Is what I am trying to do possible and if so any suggestions would be appreciated.
    Cheers, John.

    I think I might be one step closer to getting this to work.  I've been able to just capture the file path of the duplicates using:
    //count the number of times the link is used
    function LinkUsage(myLink) {
        var myLinkCounter = 0;
            for (var myCounter =  0; myCounter < myDoc.links.length; myCounter++) {
            if (myLink.filePath == myDoc.links[myCounter].filePath) {
                myLinkCounter++;
        return myLinkCounter
    //check if the filepath has been added to the array
    function chkVal(val){
        var compCount = 0;
        for(var arr =  0; arr < myNumLinks.length; arr++){
            if(val == myNumLinks[arr] ){
            compCount++;
        if(compCount >=1){
            return false;
            }else{
                return true;
    //check the links inthe doc
    var myDoc = app.activeDocument;
    var myNumLinks = [];
    for ( var t = myDoc.links.length-1; t >= 0; t-- ){
        if(LinkUsage(myDoc.links[t])>1){
            if(myNumLinks == 0){
                myNumLinks.push(myDoc.links[t].filePath);
                }else{
                    if(chkVal(myDoc.links[t].filePath)){
                        myNumLinks.push(myDoc.links[t].filePath);
    for (var i=0  ; i <myNumLinks.length; i++){
        $.write(myNumLinks[i]+"\n");

  • Image mask won't rotate

    my image mask won't rotate when i grab the handle. it worked fine the other night but not anymore. is there any other way to rotate it. i'm sure if i create a new project and jump througha  bunch of hoops it will start working again but i need to simply rotate this image mask without spending all my time. any ideas?
    thanks

    Tom,
    Not sure if this is what you need but here's a snapshot. Everything else on the image mask works except for the rotate.

  • Images won't saty rotated

    On several occasiosn I have reviewed a large group of images and corrected their rotation using the arrows ot the bottom of their boxes in Grid view.  However, I've discovered that when reopening the collection, they have reverted to their original orientation.  I'm obviously doing something wrong, but don't know what.
    I'd really  appreciate help.
    Many thanks!

    I had the same problem.  It seems the scripts that control the transfer of images from LR to Photoshop got deleted or messed up.  The fix I found on the LR forum was as follows:
    This solution allows you to run a repair installation without uninstalling Photoshop CC 2014. If you've already uninstalled Photoshop CC 2014, install it from the Apps tab of the Creative Cloud desktop application.
    Open the Creative Cloud desktop application.
    Select the Apps tab.
    Scroll down (if necessary) until the Find New Apps section displays.
    On the same line as Find New Apps, select Filters & Versions > Previous Version.
    Click the Install button next to Photoshop and select CC 2014.
    Click Yes, install this version.
    Once I did this, the interaction between LR and PS CC 2014 started working again.  I did notice that Photoshop showed up as needing to be updated in the Adobe CC application so I just clicked on the update button and after a few minutes photoshop had been updated.  The importing function still works so I think everything is OK.
    Not sure if this was part of the problem, but after updating the PS CC 2014 application  the first time, I uninstalled the original PS CC application as I didn't need it anymore.  I'm thinking that may have caused the scripts to be uninstalled along with the PS CC application.  Rerunning the installation put things back to normal.
    Hope this helps.
    Brian

  • Emailed pictures come 90 degrees rotated

    When emailed, pictures taken by the native camera application on my iPhone 4, iOS 5.1 come always 90 degrees rotated.  I hold iPhone in the landscape mode with the volume butttons on the top - I believe that is the natural position as I use the volume up button to take pictures. The pictures show up just fine on the iPhone.  I even tried to edit the picture on iPhone and rotate it and save it, that did not do the trick. I realize I can use some third party app but I dont really want to.
    Thanks.

    John:
    You are using the latest version of iPhoto right? Those files are probably from a camera with auto-rotate capability. It writes a tag to tell other applications that can read that tag how to display it. I think iPhoto will use the original at times when interfacing with iWeb. What I've done is to drag the file from iPhoto to the desktop and then into a Safari window to see it if it's rotated physically. If Safari shows it OK then you're good to go. Currently iPhoto does physically rotate the file. But, as I mentioned, it may not always use the modified version when working with other applications.
    Do you Twango?

  • I am having issues with 360 degree rotation, I have an iPhone 5 and ios 6.0.2. I have read alot about this issue online and I found out that my issue is software. I want to know if and when apple will fix this issue?

    I am having issues with 360 degree rotation, I have an iPhone 5 and ios 6.0.2. I have read alot about this issue online and I found out that my issue is software. I want to know if and when apple will fix this issue?

    I had the same experience with a new iPhone 5 that I bought  last week. Did not have a chance to measure battery life before the 6.0.2 upgrade installed but I set up my phone exactly like my 4S and immediately started running out of power after short periods. Went to Xmas get together with fully charged 5 and 4S. Heading home the iPhone 5 shut down for low battery and the 4S had 65% power. Both phones had two half phone calls on then and no data usage.
    That night I fully charged the iPhone 5 and, without lighting it up, put it on my night table. Next morning I picked it up and looked at battery indicator and I had 42% charge with NO activity!
    Tried it again next night and wound up with 37% charge. (Slept longer).
    Today I called the carrier and reactivated the 4S.  Took the 5 to Apple Store and they kindly gave me choice of new replacement phone or refund. I took the refund. Uniquely, the Apple Store said it was Verizon CDMA phones that were coming back.
    The are other strings on this with temporary solutions, but from my experience with 7 firmware changes on an HTC 4G phone the problem will continue because the solution will be hardware caused. We are in the days where RTM means Rush to Market - not Release To Manufacturing.
    I fear the only solution is to either wait for the next model (I did not notice a really major change in performance over the 4S in LTE heavy Seattle area) - or switch to another manufacturer.
    It might be useful for these forums to indicate if you have a GSM or CDMA phone to see which have more problems.
    Discouraged....

  • Cropping images in 45 degrees

    Hi forum,
    I have a problem:
    I've turned a few images on a 45 degree angle, but seeing that these images are fairly big, they now overlap each other on the facing pages set up.
    It's a problem I cannot solve through layers, so:
    How do I crop the images clean off without scaling them? Mind you, they are on an angle, so the transform-boxes are in an awkward position.
    Thank you for your help!

    Did you rotate the whole frame, or just the image inside? Either can work, but would affect how you crop.I think, from the description you rotated the frames.
    Consider either undoing the rotation, then selecting the image with the direct select tool, and adding the rotation to the image only, or cut the entire image frame combination, then make a new frame with normal orientation, and "Paste into."
    Peter

  • IPad Images Appear 90 Degree Off on Windows. Need fix.

    I took about a hundred pics from my iPad and transferred them to my PC. I needed to get a single PDF file out of them so I used this site http://www.convert-jpg-to-pdf.net/ But that site, along with Windows Photo Viewer, is displaying the images 90 degrees off. I took the time to rotate each of the images manually from within the Windows Photo Viewer, but that website still renders them 90 degrees off. I can't get a print of them that way.
    How do I fix this?    

    How about the first answer from Microsoft Support:
    Hi,
    By default, JPEG and TIFF picture files that include the EXIF picture orientation property are rotated during import in Windows photo viewer
    in Windows 7.
    In Windows Live photo gallery you can set the option by following these steps:
    1. Open Windows Live photo gallery.
    2. Click on file and then click on Options.
    3. Click on Import.
    4. Now click on “Rotate Photos during Import”.
    Some photo applications will display a photo as rotated which is referred to as soft rotating by reading metadata on the photo itself. Although the
    Photo Gallery rotates photos on import using this same metadata, many a times it doesn't also rotate all un-rotated photos in their collection for them automatically, or at least display the photos as rotated like some other applications do.
    The reason that the Photo Gallery rotates on import, but not after that is because there are a number of applications that don't correctly update the
    photo metadata after rotating. This metadata is supposed to reflect the state of the photo, but if the photo is rotated without updating this metadata,
    another application using this metadata to determine whether or not to rotate it will incorrectly rotate the photo.
    During import, the photos are coming directly from the camera, at which point the integrity of this metadata is not in question. So although it's safe
    for the Photo Gallery to rely on this metadata to make an accurate rotate decision during import, as soon as the photo makes its way to the PC, any
    other application could interact with the photo, and potentially corrupt this metadata. Therefore, the Photo Gallery doesn't soft rotate at this point.
    Regards,
    Afzal Taher-Microsoft Support.
    Note that if the problem is being caused by some third party application this may not address your real problem. You should contact the developer of the application

  • IPhone SDK: Saving an image from the camera rotates it

    When I use an image retrieved from the camera and try to save it to the disk, it always looks rotated -90 degrees. Anybody else have this problem? Or know what's going on? What's the easiest way to just rotate it 90 degrees?
    <code>
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *writablePath = [[paths objectAtIndex:0] stringByAppendingString:@"/newImg.jpg"];
    NSData * imageData = UIImageJPEGRepresentation([UIImage imageWithCGImage:cameraImage,1);
    if (imageData != nil) {
    [imageData writeToFile:writablePath atomically:NO];
    </code>

    Hi - I've found this post that might describe a similar (or same?) issue.
    http://discussions.apple.com/thread.jspa?messageID=7936896&tstart=0
    Hope that helps. You've gotten much farther than me - I'm still trying to figure out how to capture camera images using the SDK for a personal photo application. I couldn't find any mention of it in the UIImage Class Reference. Do you know where I might find docs on how to do it?
    Thanks

  • Image losing quality when rotating

    I tried to do a rotation on my buffered image, however the image loses clarity whenever it tries to rotate the image, can someone help me:
    public static BufferedImage rotateImage(BufferedImage image, double degrees) {
              /* assumes 0 <= degrees <= 90 */
              double radians = Math.toRadians(degrees);
              /* get width and height of image to be rotated */
              int width = image.getWidth();
              int height = image.getHeight();
              double w = width * Math.cos(radians);
              double z = width * Math.sin(radians);
              double x = height * Math.sin(radians);
              double y = height * Math.cos(radians);
              int rectWidth = (int) Math.ceil(w + x);
              int rectHeight = (int) Math.ceil(y + z);
              BufferedImage result = new BufferedImage(rectWidth, rectHeight,
                        BufferedImage.TYPE_4BYTE_ABGR);
              AffineTransform transform = new AffineTransform();
              transform.setToTranslation((rectWidth - width) / 2,
                        (rectHeight - height) / 2);
              transform.rotate(radians, width / 2, height / 2);
              Graphics2D g2 = (Graphics2D) result.getGraphics();
              g2.drawImage(image, transform, null);
              return result;
         }

    Set RenderingHints on the Graphics2D object. Set
    KEY_INTERPOLATION to VALUE_INTERPOLATION_BICUBIC
    you could also set
    KEY_ANTIALIASING to VALUE_ANTIALIAS_ON
    but I don't think that effects rendering images, unless it antialiases their edges.

  • Using external LG monitor with 180 degrees rotated display

    Hey everyone,
    I just got a 19" widescreen LG monitor and I have it mounted upside down, so I rotated the display 180 degrees. However, when I move my mouse over links, the arrow jumps a little and is incredibly aggrivating. Has anyone seen this problem? Does anyone know how to fix it? It happens in Safari too and I already tried re-calibrating my monitor and restarting. Thanks.

    Me too, but my LG monitor just stopped working after I installed the recent "Thunderbolt Firmware Update".
    Literally the monitor was working yesterday. This morning I installed the update and now it's broken. Great update.
    Anyone have a fix?

  • Image Flips 180 degrees

    I am using vision builder AI 2010.  I am having an issue where the image will flip its orientation while running in the inspection.  Has anyone heard of this issue or maybe have some insight into why the image would rotate 180 with the same inspection steps.  I am just using the acquire image step along with a Ueye GigE camera.  Any help would be appreciated. 

    Use the IDS Imaging Labview Interface instead of DirectShow for communication.  It is an interface that gives you access to their SDK function calls.  It's much more comprehensive and seems to be more efficient.  Download the drivers for either 32 or 64-bit from www.ueyesetup.com (top left of page) and install them.  When it prompts you for what to install, select "complete".
    After installing, download the Labview interface and install:  http://en.ids-imaging.com/download-ueye-interfaces.html?file=tl_files/downloads/uEye_SDK/interfaces/...
    Image mirroring is called through "SetRopEffect" parameter "IS_SET_ROP_MIRROR_LEFTRIGHT".   You would then activate or deactive the function.  It will always return a message, either IS_SUCCESS, or if not successful, one that points to the cause of the problem.  Post the error codes if it still occurs.
    The Labview manual is online:  http://en.ids-imaging.com/manuals/uEye_SDK/EN/uEye_LabVIEW_Manual/index.html
    The error codes are in the appendix.
    Loren

Maybe you are looking for

  • I've tried it all but still slow internet

    I've been suffering from very slow connection speeds for months now. At first I thought it was my DSL ISP so I switch to Comcast HSI and it's a little faster but still nowhere near acceptable. I just got off the line with Apple support and I was stun

  • When To Use redirect/ In faces-config.xml

    In what situations should I use <redirect/> in faces-config. I understand what that using it causes it to generate a HTTP redirect instead of redirection through the view handler. I have ran into situations where if I don't use redirect, evein in a r

  • Substitution for services

    Colleagues We need to create and FI substitution for services in order to apply the cost of them as if the purchase document had Account Assignment Categoryu201DJu201D instead the real u201CFu201D For us this mean that the cost will be applied to an

  • Shminfo_shmmax in /etc/system does not match  project.max-shm-memory

    If I specified 'shminfo_shmmax' in /etc/system and hava the system default in /etc/project(no change is made), the size of 'project.max-shm-memory' is 10 times larger than 'shminfo_shmmax'. #more /etc/system // (16MB) set shmsys:shminfo_shmmax=160000

  • Parameter Prompts

    Hi, I have created a report that filters the results returned by the use of a parameter using TAG (tag_name). When previewing the report in iReport it prompts for the TAG parameter, you enter a TAG name and it returns the results as expected. However