Camera Raw/Bridge: Ability to flip images

  • 9
  • Idea
  • Updated 2 months ago
  • Implemented
  • (Edited)
It would be really great if one could FLIP images in ACR.
Photo of Carmel France

Carmel France

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 9
Photo of Jörg

Jörg

  • 31 Posts
  • 6 Reply Likes
Like the idea
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4380 Posts
  • 1602 Reply Likes
It's not currently possible in Camera Raw, but in Lightroom, go to Develop module > Photo menu > Flip Vertical/Horizontal.
(Edited)
Photo of Gime

Gime

  • 16 Posts
  • 5 Reply Likes
Heeeyyy!  Come on!  
Really we should directly open Lightroom, then create a catalog (or open an existing one), import that ONE image, then flip it and save the XML.  Just for this one and only purpose?  Instead of being able to do this simple thing in CameraRaw with a single click (or a keyboard shortcut)??? :o :o :o !!! 
(Edited)
Photo of Fred Barrington

Fred Barrington

  • 18 Posts
  • 3 Reply Likes
Having re-read your post, I believe  you are agreeing with me. 

I do not use Lightroom, but ACR from Bridge. I agree that going into LR for this is way over the top.
Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 335 Reply Likes
This is your best workaround:

You need to reset your ACR preferences in Photoshop to open all ACR generated items as Smart Objects. When you process a DNG or raw file through ACR, when complete, it will open as a Smart Object instead of a bitmap on the background layer. Smart Objects can be flipped by using Edit>Transform>Flip Horizontal or Vertical.

This will retain the ACR-editing characteristics and allow flipping without rendering a flat file.
Photo of Radu Ghitulescu

Radu Ghitulescu

  • 1 Post
  • 0 Reply Likes
this is a work around? :))))))
Photo of Marc Anderson O Kelly

Marc Anderson O Kelly

  • 0 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Non Destructive Flip View Horizontally.

Flip view without changing the actual image. This makes it a lot easier for me to stop using photoshop. I always feel like Adobe doesn't care about the tons of digital artists and illustrators who use this software.
Photo of Marc Hohenleitner

Marc Hohenleitner

  • 10 Posts
  • 6 Reply Likes
This reply was created from a merged topic originally titled Flip images in ACR?!.

Hi Adobe,

is there a way to flip/mirroring images in ACR?

ACR
can read (from the xml) and display mirrored images edited in Lightroom! But
in ACR there is simply no button and/or menu available. Could you please
add this functionality?

Thanks!
Photo of Fred Barrington

Fred Barrington

  • 18 Posts
  • 3 Reply Likes
This reply was created from a merged topic originally titled Bridge: Ability flip horizontal/vertically in Bridge.

I have always been surprised that while it is possible to rotate an image in Bridge/Raw through 90deg, it is not possible to flip an image horizontally or vertically. This would be very useful
Photo of David Converse

David Converse

  • 380 Posts
  • 85 Reply Likes
Orientation is actually stored in the XMP metadata as an NS_TIFF property. This property can be changed with a script in Bridge.
Save the following as a text file with ".jsx" file extension and place it in the Bridge Startup Scripts folder. Relaunch Bridge and when you run the script from the Tools menu, simply select a RAW file (CR2, NEF, or ARW) and click the desired button to flip your file.

Feel free to modify this script (CC Attribution). I'm not responsible if your computer goes up in flames. Etc.

I wrote this on the Mac and haven't tested on Windows. There are some layout bugs but it should work ok.

//Written by David M. Converse ©2018 Released under CC Attribution License
if(BridgeTalk.appName == "bridge"){
    var newCommand = new MenuElement("command", "Flip", "at the end of Tools");
}
newCommand.onSelect = function (){
    flip ();
}
  
function flip(){
    var fPalette = new Window('palette', 'Flip');
    fPalette.preferredSize = [200, 160];
    fPalette.frameLocation = [100, 100];
    var fpnl = fPalette.add('panel', [10,10,150,120]);
    fpnl.fBtn = fpnl.add('button', [15, 25, 130, 45], 'Vertical');
    fpnl.fBtn2 = fpnl.add('button', [15, 70, 130, 90], 'Horizontal');
    var dir = "v"
    fPalette.show();
    
    fpnl.fBtn.onClick = function(){
        dir = "v";
        meta();
    }
    fpnl.fBtn2.onClick = function(){
        dir = "h";
        meta();
    }
        
    function meta(){
        var thumbs = app.document.getSelection("cr2, nef, arw");
        var counter = "";
        if(thumbs.length != 0){
            if (ExternalObject.AdobeXMPScript == undefined)  ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
            for(var i = 0;i < thumbs.length;i++){
                if(thumbs[i].spec instanceof File){
                    var thumb = thumbs[i]; 
                    var xmp = new XMPMeta(thumb.synchronousMetadata.serialize());
                    var oldOr = xmp.getProperty(XMPConst.NS_TIFF, "Orientation");
                    var newor = 1;
                    if(dir == "v"){
                        switch(oldOr.value){
                            case "1":
                                newor = 2;
                                break;
                            case "2":
                                newor = 1;
                                break;
                            case "3":
                                newor = 4;
                                break;
                            case "4":
                                newor = 3;
                                break;
                            case "5":
                                newor = 6;
                                break;
                            case "6":
                                newor = 5;
                                break;
                            case "7":
                                newor = 8;
                                break;
                            case "8":
                                newor = 7;
                        }
                    }
                    if(dir == "h"){
                        switch(oldOr.value){
                            case "1":
                                newor = 4;
                                break;
                            case "2":
                                newor = 3;
                                break;
                            case "3":
                                newor = 2;
                                break;
                            case "4":
                                newor = 1;
                                break;
                            case "5":
                                newor = 8;
                                break;
                            case "6":
                                newor = 7;
                                break;
                            case "7":
                                newor = 6;
                                break;
                            case "8":
                                newor = 5;
                        }
                    }
                    xmp.setProperty(XMPConst.NS_TIFF, "Orientation", newor);
                    var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
                    thumb.metadata = new Metadata(updatedPacket);
                }
            }
        }
    }
}
(Edited)
Photo of Gime

Gime

  • 16 Posts
  • 5 Reply Likes
I'm on Windows now and tested this script.  IT IS WORKING! :) 
But...   opening the XMP (for example in Notepad++) and searching for the NS_TIFF...  Doesn't found!  :o :o :o ??? 
The flip "effect" shows only on the thumbnail, but not in the preview pane nor in the full screen preview (space bar). 
If I open the "flipped" image in Camera Raw, it show it as I flipped it and if I save it from there, it saves as I flipped is, so it works well. 
(Edited)
Photo of David Converse

David Converse

  • 380 Posts
  • 85 Reply Likes
The tag is just TIFF, not NS_TIFF.

Photo of Kukurykus

Kukurykus

  • 349 Posts
  • 56 Reply Likes
"The flip "effect" shows only on the thumbnail, but not in the preview pane nor in the full screen preview (space bar)."

I played with rotation by scripting before I found this theard. That wasn't nothing serious, but I encountered the same problem. So David Converse is there way it flipped also 'preview pane' or 'full screen preview' ?
Photo of David Converse

David Converse

  • 380 Posts
  • 85 Reply Likes
It should show up right away, I can see the change in real time. I imagine that ACR is doing the same thing.
Photo of Kukurykus

Kukurykus

  • 349 Posts
  • 56 Reply Likes
I changed format to .jpg to try your script on some file and yes it flips in preview as well - good job!
(Edited)
Photo of Rick Burress

Rick Burress

  • 102 Posts
  • 15 Reply Likes
In Adobe Camera AW 10.2 you are now able to FLIP images: Option (or ALT) key ROTATE buttons.
Photo of Jason Finn

Jason Finn

  • 1 Post
  • 0 Reply Likes
You can now do this in Adobe Camera Raw! Open Camera Raw in Bridge and look at the rotate buttons on the tool bar. Holding down ALT or OPT you will see them change to a mirror horizontal and vertical button. Just click and you're done. Note: does not work in Photoshop's built-in version, but you don't need it there!!
Photo of Fred Barrington

Fred Barrington

  • 18 Posts
  • 3 Reply Likes
Thank you . I imagine that was written somewhere in the depths of the release notes.