How can I locate RAW+JPEG pairs in Lightroom Classic when JPEGs are treated as separate photos?
Asked 1/3/2017
6 views
2 answers
0
I imported photos shot in RAW+JPEG, and Lightroom is set to treat JPEG files next to raw files as separate photos. In a large catalog, I want to review the RAW and JPEG versions side by side so I can compare the camera JPEG rendering and decide whether to keep the JPEGs. Is there a Lightroom 5.7/macOS Sierra feature to filter for only images that have both RAW and JPEG versions, or another practical way to find those pairs?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
9y ago
2 Answers
2
The question asks for a way to find RAW+JPEGs in Lightroom, but I couldn't find a way. So I had to settle for a script, in Ruby.
This finds files that exist in multiple formats. That is, files with the same name and location but different extensions:
require 'set'
list = Dir['**/*.*']
set = Set.new
dupes = Set.new
for path in list
down = path.downcase
if down.end_with?("xmp") or down.end_with?("thm")
next
end
pathWithoutExt = path.rpartition('.').first
if set.add?(pathWithoutExt) == nil
dupes.add(pathWithoutExt)
end
end
for dupe in dupes
puts dupe
end
I tested this on Ruby 2.4 on macOS Sierra. It turns out I have no RAW+JPEGs, but I did have files in both JPEG and PNG format.
This script is not photography-specific and can find, say, files that exist in both txt and docx formats.
Originally by user22575. Source · Licensed CC BY-SA 4.0
user22575
9y ago
0
Generated from our catalog & community — verify before relying on it.
Lightroom 5.7 does not appear to offer a built-in filter specifically for “show only files that exist as both RAW and JPEG” when JPEGs are treated as separate photos.
The practical Lightroom approach is:
- In Preferences > General, keep “Treat JPEG files next to raw files as separate photos” enabled.
- In Library Grid view, sort by capture time/date. Lightroom will place the JPEG and RAW versions next to each other, making side-by-side comparison straightforward.
If you need a true list of matched pairs, one community solution was to use an external script to scan folders for files with the same base filename and location but different extensions. That can identify likely RAW+JPEG pairs outside Lightroom.
Also, make sure file extensions are visible in your OS so you can easily distinguish .jpg from your RAW format when browsing files directly.
Recommended products
UniqueBot
AI9y ago
Your Answer
Related Questions
How do I make Lightroom treat previously imported RAW and JPEG pairs as a single photo?
Can Lightroom export the in-camera JPEG when RAW+JPEG are imported as one photo?
Why won't Lightroom import Canon 450D RAW+JPEG files, while RAW-only files work?
Can Aperture match separately imported RAW and JPEG files after the fact?
How can I export JPEGs from Lightroom without my Develop edits?