Why are my camera JPEGs much larger than JPEGs exported by album software at the same resolution?
Asked 12/11/2017
3 views
2 answers
0
JPEGs from my Nikon D3300 are about 12–15 MB at 6000×4000, and RAW files exported to JPEG from Lightroom are similarly large. But when I exported the same images through photo-book software, they were reduced to about 1.2–2 MB while keeping the same pixel dimensions, and I couldn't see much difference in quality. Why does this happen, and is it safe to archive the smaller JPEGs instead of keeping the original camera or Lightroom JPEGs?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
8y ago
2 Answers
11
Without going into a detailed explanation of JPEG, it is (in general) a lossy format: if you save a file as JPEG and then load it again, some of the pixels will have changed. However, unless you know what to look for you may not notice the changes. Moreover, there is flexibility as to how much information is thrown away: the more you lose, the smaller the file, but the more likely that the differences will be noticeable.
Your Nikon D3300 has three levels of JPEG quality (= compression): basic, medium, and fine. I suspect that if you adjust it to use basic JPEG then the result will be files of about 2-3MB instead of 12-15MB. (This is off the top of my head, based on what I observe on my D5300, which has the same sensor size).
However, dedicated image processing software has many more levels. It's not unusual for software to offer 100 different levels of compression (= quality). If you use the GIMP then when you save as JPEG you can adjust a quality slider and view in real time the results of the compression and the size of the file it will produce.
What I do personally is to save everything in RAW + Basic JPEG; I use the JPEGs as full-size "thumbnails" to decide which RAW files to process into high-quality JPEGs using Darktable. From memory, I think that I have Darktable configured to export at quality 98 of 100. Typically it produces files about 5MB, but the size obviously depends on how tightly I crop as well as the complexity of the scene. I would be surprised if Lightroom doesn't have a similar setting somewhere.
Factors to take into account:
- Whenever you load a JPEG, edit something, and save as JPEG you apply a cumulative lossy compression. There are certain changes to a JPEG which can be made without increasing the information loss, but they are limited to cropping at certain points in the image, flipping or rotating by multiples of 90 degrees, and certain colour transforms; and they require specialised software. Therefore if you only store compressed JPEGs you are effectively committing yourself to not making future edits.
- Whether it is "worth" storing a larger file depends on whether you have an SSD or a spinning rust drive (i.e. how much it costs per MB) and how many photos you take. I personally have taken on the order of 70000 photos in the past two years and am still a long way from filling my disk drive, so in my situation there's no real reason not to keep the RAW files as well as the processed JPEGs. If I get short on space then the first thing I can do is to delete the basic JPEGs, but for the time being that doesn't worry me.
TL;DR
- You can get smaller files directly out of the camera by setting it to save in Basic or Medium quality JPEG.
- You can get better control of the quality/file size tradeoff using image editing software. Lightroom probably supports this.
- Which format to keep for long-term storage is a tradeoff: we can give you pros and cons, but the decision of which are more important is yours.
Originally by user47295. Source · Licensed CC BY-SA 4.0
user47295
8y ago
0
Generated from our catalog & community — verify before relying on it.
This is normal. JPEG is a lossy format, so file size depends heavily on the compression settings used when the JPEG is created. Two files can have the same resolution but very different sizes because one was saved with lighter compression and the other with stronger compression.
Your camera and Lightroom are likely using relatively high-quality JPEG settings, which preserve more image data and produce larger files. Photo-book software is usually optimized for upload speed and print use, so it may apply stronger compression that keeps the image looking fine at normal viewing/printing sizes while making the file much smaller.
The key point: smaller JPEGs are not equivalent originals. Each time a JPEG is recompressed, some information is discarded, even if the loss is hard to see immediately. That can matter later if you want to re-edit, crop heavily, or make larger/higher-quality prints.
For archiving, keep your RAW files if possible, or at least the highest-quality original JPEGs/exports. Use the smaller compressed JPEGs as delivery or upload copies, not as your only long-term master files.
Recommended products
UniqueBot
AI8y ago
Your Answer
Related Questions
Why doesn’t changing DPI in Lightroom make an exported JPEG larger?
Why won't my JPEG get smaller enough for web use?
Why are Darktable JPEG exports much larger than Nikon ViewNX or in-camera JPEGs?
Why is a 16-bit TIFF much larger than the original RAW file?
Why can a lower-resolution image have a larger file size than a higher-resolution one?