Lightroom Classic: Export limit file size value not honored and Quality setting still has effect

  • 1
  • Problem
  • Updated 3 months ago
  • (Edited)
Lightroom Classic 9.2 [File] > [Export] > [File Settings] > [Limit File Size To:] value set to "2000" but output JPEG is 3090kb.

Even though the [Quality] slider is grayed out when [Limit File Size To:] is enabled it appears the underlying setting may still have an effect.  If I set [Quality] = "90" then enable [Limit File Size To:] and set "2000" I get a 3090kb JPEG.  If I set [Quality] = "50" then enable [Limit File Size To:] and set "2000" I get a 1780kb JPEG.  Even though the [Quality] control is disabled (grayed out) and the [Limit File Size To:] enabled it appears the Quality setting is still having an effect.

[Image Sizing] > [Resize To Fit] is not checked.

Is this the expected behavior?  If so, what is the point in disabling the [Quality] slider?

Photo of JeffB

JeffB

  • 11 Posts
  • 4 Reply Likes
  • Frustrated

Posted 4 months ago

  • 1
Photo of John R. Ellis

John R. Ellis, Champion

  • 5123 Posts
  • 1452 Reply Likes
Hmm, I'm not able to reproduce that behavior. I selected a 5472 x 3648 raw with lots of fine detail, and tried exporting with greyed-out quality at 100 and 25 and the limit at 2000K, 1500K, and 1000K:



It worked as expected, and the greyed-out quality setting had no impact.

This suggests something screwy with your particular installation. Some initial troubleshooting steps:

1. Perhaps the particular export settings/preset you're starting with is corrupted. (It happens.) In the Export window, click on the built-in preset Lightroom Presets > Burn Full-Sized JPEGs, then try modifying the Limit.

2. Try resetting LR's preferences: https://www.lightroomqueen.com/articles-page/how-do-i-reset-lightrooms-preferences/. LR sometimes soils its preferences file, and resetting it can fix all sorts of funky behavior.


Photo of JeffB

JeffB

  • 11 Posts
  • 4 Reply Likes
I appreciate the suggestion.  Unfortunately, I cannot use the "Burn Full-Sized JPEGs" preset because my laptop does not have a CD drive.  (Who does anymore?)  That silly restriction needs to be removed or fixed too.



I deleted my .agprefs file and the issue persisted.

It looks like the culprit must be LR/Mogrify 2 plugin that is used on the preset.  If I disable the Mogrify Text Annotations I then get file sizes below the "Limit File Size To:" setting.  So I'm sure at this point the answer will be to blame the developer of that plugin.
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 5652 Posts
  • 2260 Reply Likes
> I cannot use the "Burn Full-Sized JPEGs" preset because my laptop does not have a CD drive.  (Who does anymore?)  That silly restriction needs to be removed or fixed too.

If you don't have a CD drive, how would you anticipate burning them, as suggested in the name of preset?

If you just want to export full size JPEGs, you can very easily create a preset with your preferred settings.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5123 Posts
  • 1452 Reply Likes
Victoria, to troubleshoot his core issue, I had suggested starting with an existing preset such as Burn Full-Sized JPEGs and modifying.  I had forgotten that the preset actually checks for the presence of the CD drive. But at this point, JeffB has identified the issue -- the LR/Mogrify plugin ignores the Limit File Size setting (it provides its own).
Photo of Bill

Bill

  • 258 Posts
  • 37 Reply Likes
For me and for years, this has always been a random size generator. I'll set it to 1 MB and it will output 2-3 MB and the next time it will honor the setting. I've tried all combinations that I can think of and have never found a pattern. It has been working better for the past couple of months but I don't use it very often. 
 
Much more reliable (for me) is to choose a resolution. If I choose 3840x2160 for example, all the images will be that resolution or less. Tested with many different resolutions and always works. Of course, depending on the edits to a image, choosing a small resolution can still result in a large image. I've had FHD (1920x1080) result in a 25 MB JPEG, seems to depend on the degree of sharpening and the amount of fine detail. 
 
BTW, I always set JPEG quality to 100% and rarely export anything other than JPEG. 
  
Photo of John R. Ellis

John R. Ellis, Champion

  • 5123 Posts
  • 1452 Reply Likes
"It looks like the culprit must be LR/Mogrify 2 plugin that is used on the preset."

Yes indeed. LR/Mogrify post-processes the exported image with the ImageMagick program, which has its own notion of quality.  Check out LR/Mogrify 2's option for "Compressing JPEGs to a target file size":
https://www.photographers-toolbox.com/products/lrmogrify2.php?sec=quickguide