LIGHTROOM - Incorrect crop when syncing between two image formats

  • 1
  • Problem
  • Updated 3 years ago
  • (Edited)
Merged

This conversation has been merged. Please reference the main conversation: Lightroom CC: Crops and local adjustments don't copy properly on rotated pics

In Lightroom (latest CC release, 2015.3), I have an original raw image and a TIFF file of that image that has been processed in Photoshop. They are both exactly the same size in pixels.

When I crop one of the images and sync that crop to the other one, the crop *does not match*—be it with auto sync or manual sync. The image that gets synced ends up with a tighter crop for no apparent reason.

This means I have to try to match the two crops manually by fiddling with the crop rectangle (which is a waste of time and can't even be accomplished with perfection because it is nowhere near precise enough).

I remember cropping multiple images like this some time in the past (with previous versions of Lightroom) without issue, so it's a bug that has been introduced at some point.
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes

Posted 3 years ago

  • 1
Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 334 Reply Likes
I cannot duplicate what you are seeing in El Capitan. What OS are you using?
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes
Windows 7 (x64)—sorry, I had put that information in tags, I wasn't sure where to specify it. (From a software development point of view, syncing a crop is not something where I would imagine the OS to be a relevant factor, but anyway...)

Surprised by your answer, I went ahead and went back to perform a battery of tests to try to eliminate all the variables. I tried a whole slew of things and didn't find any variable that seemed to have any effect. But then ... you're not going to believe what I found out.

The bug only occurs when the PSD or TIFF file itself is a "portrait orientation" image (taller than wide). Even if you rotate it in Lightroom to make it horizontal, bug still occurs. If you save the image as a horizontal TIFF and rotate it to portrait orientation in Lightroom, no bug! So it's not the orientation in Lightroom that matters, but the orientation of the source raster image that causes a problem.

I'm now convinced it's a bona fide bug when Lightroom is doing the math with a raster image that is taller than wide.

Again, to reproduce: Edit in->Photoshop a full-size raw file, save it in portrait orientation (don't even have to do anything to it, just save the file directly). Back in Lightroom, with the new raster file and the original raw file (in the same orientation) selected, do a crop on either one (with auto-sync enabled). The crop won't match. (Manual sync also doesn't sync properly.)
Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 334 Reply Likes
Ok, I was able to follow your new instructions and duplicate I think.
The Original DNG was Cropped to 2766x3473 and then synced
The Tiff file after sync was 2763x3469
Is this 3-4 pixel difference what you are talking about?
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes
No, I'm talking about a massive, obvious difference.

This should give you an idea. In the first image (on the left), I cropped the top and bottom to achieve a square, and it synchronized to the much tighter crop in the second image:

Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 334 Reply Likes
No, Charles, I am not seeing massive differences in crops. The most I can muster is 4 px difference on a side after a few tests.

Have you reset preferences lately. It is possible you could have a buggered preference file.

Close Lightroom, Hold down [Alt]+[Shift] and launch Lightroom again. Overwrite the preferences when prompted. Does the behavior change?
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes
I did that, no effect, same bug. (Now I have to spend a while putting things back how they were... Grr. :P)
Photo of Rikk Flohr

Rikk Flohr, Champion

  • 1373 Posts
  • 334 Reply Likes
Sorry then. I cannot duplicate your results. Unless you have more detailed steps that result in the failure, or someone else chimes in, there isn't much more I can offer here.
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes
Yeah, I already tried eliminating pretty much all the variables I could think of.

* Brand new catalog? Same thing.
* Resetting Lightroom preferences? Same thing.
* Original raw file (CR2, in this case) vs DNG? Same thing—including various versions of the DNG format with different settings (embedded preview, fast-load data, etc.)
* Different process versions? Same thing. (With develop settings reset or with corrections is also irrelevant.)
* Exporting the raster image via Lightroom->Export or through Edit in->Photoshop? Same thing.
* PSD vs TIFF? Same thing.
* Different cameras? Same thing.
* Different lenses—with or without lens profile corrections? Same thing.

The only variable that triggers it is that the raster image is taller than wide—regardless of the rotation in Lightroom. Same exact everything (same source image) but saving that file horizontal and there is no issue.

Anyway, thank you for trying to help me with this!

I remain convinced it's a bona fide bug—there's no good reason the syncing of the crop would fail specifically with vertical images when it's working fine with the exact same files and everything else being equal when horizontal.
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1417 Posts
  • 437 Reply Likes
This is a known limitation. The crop bounds are specified in the coordinate system prescribed by the file format. Depends on the image orientation, raw and tiff file formats might have a different reference coordinate system. When syncing crop settings, Lightroom is pretty naive in that it just copies the crop bounds from the source to the destination without considering such reference coordinate system differences (i.e. image orientations). I think that is what's happening in your case. For example, Lightroom does not correctly sync a crop of a portrait mode photo to a photo in the landscape mode and vice versa.
(Edited)
Photo of Charles Lanteigne

Charles Lanteigne

  • 12 Posts
  • 6 Reply Likes
As I said in a previous comment, when the images are in landscape orientation (the raster image is wider than tall, regardless of the rotation in Lightroom), but are otherwise identical in every other way, there is no problem, the crops sync up perfectly.

So there's definitely a bug here because that only happens with portrait-oriented images.

This conversation is no longer open for comments or replies.