Bug report submitted by Rob Cole on behalf of Soulflare007, who was having problems with login/AdobeID...Lightroom 5's export isn't resizing exactly to specified long edge. For example, when I restrict long edge to 1920, the exported files are 1919. Same with 1024, I get 1023px files instead. If I export from Adobe Bridge, then the long edges are calculated correctly. This problem didn't happen with LR4. Files being exported were DNG and TIF.More info here: http://forums.adobe.com/message/54380...
- 4831 Posts
- 394 Reply Likes
Posted 7 years ago
- 63 Posts
- 3 Reply Likes
Please see this thread for more examples of the error.
http://forums.adobe.com/thread/126183...
Brian
http://forums.adobe.com/thread/126183...
Brian
- 11 Posts
- 2 Reply Likes
Thanks for linking my thread Brian. The issue also crops up with Image Sizing Dimensions.
- 130 Posts
- 11 Reply Likes
There is a similar problem with the Develop module Crop tool:
http://forums.adobe.com/message/5600339#5600339
The problem occurs due to use of precision to three decimal places for the crop ratio, but only to two decimal places when entering new custom ratios. Please see post #23 at the above link for more details.
http://forums.adobe.com/message/5600339#5600339
The problem occurs due to use of precision to three decimal places for the crop ratio, but only to two decimal places when entering new custom ratios. Please see post #23 at the above link for more details.
- 12 Posts
- 0 Reply Likes
I got the same issue with exporting images. When I export with long side set at 1000px I get images with 999px at the long side. This happens also with other export sizes.
This problem occurs since LR5. With test versions of previous LR software this bug does not occur!
This problem occurs since LR5. With test versions of previous LR software this bug does not occur!
- 1 Post
- 0 Reply Likes
Got the same problem. I need an exact long size value of 639 pixels and get 638 on export.
- 4 Posts
- 1 Reply Like
My images, in this case, need to be 200x133px. I already cropped them to that ratio. In Export, I select "Fit to screen"/"Width&height" then enter 200 and 133 into the fields. What I get is 199x133, for example. But not always, seems random. Tried it at home just now and got 200x133 there.
(Edited)
Todd Shaner, Champion
- 1964 Posts
- 664 Reply Likes
There is a rounding issue in the Crop tool and Export Resize to Fit algorithms. It's generally best to use Resize to Fit 'Long Edge' setting and then enter just the larger edge value. What is the exact size of the cropped original image (xxxxx by xxxxx pixels). On my system entering a 200 x 133 'Custom' Crop Ratio pulls up 2x3/4x6, which is 1.0 to 1.5 Aspect. Using that value the Export Resize to fit would be 199.5 x 133. Using Long Edge = 200 should produce consistent results of 200 x 133.
- 4 Posts
- 1 Reply Like
Yes, long edge seems to work, my first attempts were successful, at least. Still I'd hope that they'd get this to work properly someday. If my image is not cropped correctly, I should still get the pixels set in the form ... Thanks, Todd!
EDIT: And yes, I do get that silly 2x3/4x6 instead of the ratio that I actually entered. As if LR had not arrived in the web age yet.
EDIT: And yes, I do get that silly 2x3/4x6 instead of the ratio that I actually entered. As if LR had not arrived in the web age yet.
(Edited)
Todd Shaner, Champion
- 1964 Posts
- 664 Reply Likes
Yep, it's a long standing bug. The details and a plugin solution by John Ellis are available at this post: https://forums.adobe.com/message/9050627#9050627
- 10 Posts
- 2 Reply Likes
Making blanks in the the proper sizes, and copy & pasting development settings is the simplest workaround I've found. And doesn't require using a separate program.
Of course, if you aren't using the same sizes regularly; it's not much help.
Of course, if you aren't using the same sizes regularly; it's not much help.
- 4831 Posts
- 394 Reply Likes
- 4831 Posts
- 394 Reply Likes
Any better in Lr5.3(RC)?
- 11 Posts
- 2 Reply Likes
Yay, this seems to be finally fixed in the LR5.3 release candidate. Someone was listening, thanks!
- 4831 Posts
- 394 Reply Likes
Yet there was no mention in the release notes / bugs-fixed section. An oopsidental omission, or is it still not fixed in some cases - hmm...
- 4 Posts
- 1 Reply Like
It is not fixed, not even in 2016. Or it was once fixed, and the issue zombied back into a recent release.
(Edited)
- 4831 Posts
- 394 Reply Likes
********************************************************************
Adobe - has this been fixed? If so, consider adding to final release notes, and tagging this thread..
********************************************************************
Adobe - has this been fixed? If so, consider adding to final release notes, and tagging this thread..
********************************************************************
- 11 Posts
- 2 Reply Likes
I can confirm the fix for LR 5.3. The fix has not been mentioned in Adobe's bugfix list though. Anyways I'm happy it's working fine again. Thanks!
- 4831 Posts
- 394 Reply Likes
Thank you Matthias.
I hope Adobe updates forum thread status and documentation.
I hope Adobe updates forum thread status and documentation.
- 4 Posts
- 1 Reply Like
I use LR 5.3 and cannot agree that this issue has been solved, at least not in my version. I have used export presets in LR for many versions to date, but never had an issue as now. My jpg export preset requires: Image Sizing - Resize to fit - Long Edge - Don't Enlarge - 35.000 cm - Resolution 200 - pixels per inch and nothing else.
Up till now all images, irrespective of aspect ratio, cropped dimensions or whatever, were correctly cropped to 2756px on the long side, with the short side reduced by the same ratio. Smaller images were left alone.
Currently, uncropped images of 5716 x 3744 are correctly resized. An original cropped to (for instance) 5587 x 2235 px is however not resized at all and is exported in the same batch at 5587 x 2235 px.
Can anyone suggest what I may be doing wrong or should alter in version 5.3?
Thanks.
Up till now all images, irrespective of aspect ratio, cropped dimensions or whatever, were correctly cropped to 2756px on the long side, with the short side reduced by the same ratio. Smaller images were left alone.
Currently, uncropped images of 5716 x 3744 are correctly resized. An original cropped to (for instance) 5587 x 2235 px is however not resized at all and is exported in the same batch at 5587 x 2235 px.
Can anyone suggest what I may be doing wrong or should alter in version 5.3?
Thanks.
- 11 Posts
- 2 Reply Likes
Hi Martin, I tried to follow your procedure. Resizing was working fine for me. Was the cropping done with LR crop tool on the 5716x3744 image?
- 130 Posts
- 11 Reply Likes
The file is exported, but not resized, so I can confirm this issue with LR5.3 on my Windows 7 system using Martin's settings.
If 'Don't Enlarge' is unchecked it works, even though the file is clearly NOT being enlarged!
If 'Don't Enlarge' is unchecked it works, even though the file is clearly NOT being enlarged!
- 4 Posts
- 1 Reply Like
Hello Matthias.
Yes, I always crop with the LR crop tool. I have a number of cropping presets (such as 2 : 1 or 2.5 : 1) but also use a free crop when something different is needed.
Yes, I always crop with the LR crop tool. I have a number of cropping presets (such as 2 : 1 or 2.5 : 1) but also use a free crop when something different is needed.
- 11 Posts
- 2 Reply Likes
Ok, I did that too. Still working fine for me. I'll keep an eye on the issue.
- 130 Posts
- 11 Reply Likes
It appears ANY 'Custom' Crop Aspect Ratio with 'Don't Enlarge' checked in the Export Resize panel prevents the image from being resized.
LR5.3 on Windows 7 system 64 bit
LR5.3 on Windows 7 system 64 bit
- 1 Post
- 0 Reply Likes
Thanks for the info on this, tearing my hair out earlier - unchecked the 'Do Not Enlarge' and it's sorted the problem - not ideal but at least it's working.
- 3 Posts
- 2 Reply Likes
So how do we now keep it from enlarging images to fit the long edge?
- 3 Posts
- 2 Reply Likes
I just tested this. And this work-around now has Lighthroom enlarging any smaller image to the specified long edge. That is just great. I want my money back.
- 130 Posts
- 11 Reply Likes
To be honest I've never used the 'Do Not Enlarge' checkbox and can't think of a good reason to use it. Please explain the specific reason why you are using it and perhaps I can provide a better solution for now.
- 10 Posts
- 2 Reply Likes
"Below you will find the required resolutions for our alternative products. To achieve these exact dimensions you may need to crop your original high-resolution file. However, do not increase the size by resampling in a photo edition program, as this will distort the quality of your work. "
^ from a photo printing site
^ from a photo printing site
- 3 Posts
- 2 Reply Likes
So this problem is not fixed. Is it too difficult for Adobe to get this fixed six months after the problem was reported?
- 4831 Posts
- 394 Reply Likes
Worth noting: the original problem was fixed @Lr5.2. Unfortunately, a new (similar) bug crept into v5.3.
So, one work-around is to fall back to v5.2.
Other work-arounds:
* Uncheck "Don't Enlarge" (if really not necessary).
* Export in 2 lots: one with resizing and one without.
* Use Exportant.
Rob
So, one work-around is to fall back to v5.2.
Other work-arounds:
* Uncheck "Don't Enlarge" (if really not necessary).
* Export in 2 lots: one with resizing and one without.
* Use Exportant.
Rob
- 8 Posts
- 0 Reply Likes
- 8 Posts
- 0 Reply Likes
I was able to find a workaround by removing the "Do not enlarge"-option.
It looks like LR5.3 handles some JPG panos wrong, when exporting them with the "Do not enlarge" enabled.
Are you intrested in a copy of my files that failed to export correct?
It looks like LR5.3 handles some JPG panos wrong, when exporting them with the "Do not enlarge" enabled.
Are you intrested in a copy of my files that failed to export correct?
- 4831 Posts
- 394 Reply Likes
This is a well-known and easily-reproducible bug - I doubt Adobe needs additional information at this point.
And, to paraphrase Eric Chan: Lr5.4 should be out soon.
And, to paraphrase Eric Chan: Lr5.4 should be out soon.
- 5 Posts
- 0 Reply Likes
Same problem in LR5.4, it ain't solved
- 5 Posts
- 0 Reply Likes
LR5.4 has still the same problem. Some websites (e.g. www.pentaxphotogallery.com) demand exact 900pix on the long edge...
It only happens in 1 about 1 of 50 photo's ONE pixel is missing...
It only happens in 1 about 1 of 50 photo's ONE pixel is missing...
- 4831 Posts
- 394 Reply Likes
As work-around, consider editing your export preset (.lrtemplate file) and bump the max-height by a fraction of a pixel until it exports at the correct dimension (900), for example:
size_maxHeight = 900.4,
Not sure if you need to restart Lr for new setting to take.
Maybe just selecting a different preset, then back is enough - I don't remember.
If it exports at 901, you went too far ;-}
~R.
size_maxHeight = 900.4,
Not sure if you need to restart Lr for new setting to take.
Maybe just selecting a different preset, then back is enough - I don't remember.
If it exports at 901, you went too far ;-}
~R.
- 5 Posts
- 0 Reply Likes
Thanx for the suggestion. 900,4 gave 901 on all testphoto's (900 and 899 size) :) If I just go into develop and adjust the crop a little, it then exports correctly with 900 pix. It's a little bit time consuming, I have to do now a manually check on the export size before uploading ...
- 4831 Posts
- 394 Reply Likes
Bummer. also consider trying 900.1 ...
I mean perhaps it's just as easy to adjust crop - did you say the photos are cropped to 900 (or 899) too?
Dunno if xmp-crop plugin would be worthwhile for you or not - it supports precision cropping:
http://www.robcole.com/Rob/ProductsAn...
I mean perhaps it's just as easy to adjust crop - did you say the photos are cropped to 900 (or 899) too?
Dunno if xmp-crop plugin would be worthwhile for you or not - it supports precision cropping:
http://www.robcole.com/Rob/ProductsAn...
- 5 Posts
- 0 Reply Likes
No, I don't adjust to 900 by cropping, I just made an adjustment approx from 1900 to 1950 and also some on the other side. I don't want to install other plugins, LR should fix this problem. This is not a wish, this a bug which should be not to hard to fix... (IF export is not equal .......)
Plugin btw looks very nice, so thumbs up for offering a solution...
Plugin btw looks very nice, so thumbs up for offering a solution...
- 1 Post
- 0 Reply Likes
I'm having the same problem described with Lightroom CC 2015 on OSX - I want to export images with a fixed width of 350px, mostly they come out at 349.
Tried to hack a solution by entering 351px, but of course, that would work perfectly - images all at 351px...!
Some sort of rounding error, bug really should not be roaming free this long, good thing we are now all on fancy shmanzy subscriptions now so Adobe can roll out patches really really quickly...

Tried to hack a solution by entering 351px, but of course, that would work perfectly - images all at 351px...!
Some sort of rounding error, bug really should not be roaming free this long, good thing we are now all on fancy shmanzy subscriptions now so Adobe can roll out patches really really quickly...

- 1 Post
- 0 Reply Likes
Hey guys, so I think what you have to do here is since I export my RAW files that are at 5184x3456, when you're trying to export to 1920 x 1080, the program will adjust for the crop factor and export at like 1620 x 1080 because that makes sense to 1080p.
So what works for me is to export at 1920x1280 and then size or crop in after effects or premier. .
Hope this helps.
So what works for me is to export at 1920x1280 and then size or crop in after effects or premier. .
Hope this helps.
- 3 Posts
- 0 Reply Likes
I also noticed this issue with the current Lightroom CC 2017. Using export with width & height, and the width set to 0, the height to 2000 pixel. For 2:3 in portrait orientation that does not result in a round number for the width. In 90 % of the cases LR rounds the width and gives me a height of exactly 2000, but sometimes I get height of 1999 pixel.
- 3 Posts
- 0 Reply Likes
Is there a final solution for this problem? I'm trying to export at a fixed height of 800 pixels high and a number of my files are 799 instead. I'm using Lightroom 6.14. Would love to get this fixed!
Todd Shaner, Champion
- 1963 Posts
- 664 Reply Likes
If you want both portrait and landscape images to be 800 pixels in Height. Use Width & Height with W greater than the width of your widest image file and H = 800. You can save it as a preset. See if this works:

- 3 Posts
- 0 Reply Likes
That did indeed work, thanks so much. Any idea as to why this has not been resolved in an update?
Todd Shaner, Champion
- 1963 Posts
- 664 Reply Likes
What are the dimensions and orientation of the files that resize to 799 and what 'Resize to Fit' settings were you using? I'm not seeing any issues using LR Classic 7.5, but I'll see if I can duplicate it.
- 3 Posts
- 0 Reply Likes
Firstly, it seems that all the images this happened to are verticals. The original dimensions of one image are 2848 x 4288 (Nikon D90) whilst another has dimensions of 3255 x 4883 (cropped slightly from 3264 x 4896, Fujifilm X-T1).
The resize settings I had are below:

The resize settings I had are below:

Todd Shaner, Champion
- 1963 Posts
- 664 Reply Likes
I can confirm the same results (799 x 531) using an image file cropped to 2848 x 4288. with W blank or 0 and H 800. What's interesting is that Long Edge = 800 produces an 800 x 531 file and W = 20000 H = 800 produces an 800 x 532 file. Since the 800 side is the only constraint with all three settings they should produce the same results.
Original File Aspect Ratio = 4288/2848 = 1.50562
Long Edge = 800
800/531 = 1.50659 (+.0064% Error)
W = BLANK or 0 H = 800
799/531 = 1.50471 (-.00604% Error)
W = 20000 H = 800
800/532 = 1.50376 (-.1235 % Error)
Looks like rounding differences. W= 20000 and H= 800 is the least accurate, but it shouldn't be detectable in the onscreen image. For now it's your only choice for constraining mixed landscape and portrait image export resizing on only one side (W or H) with 0 pixel error.
Original File Aspect Ratio = 4288/2848 = 1.50562
Long Edge = 800
800/531 = 1.50659 (+.0064% Error)
W = BLANK or 0 H = 800
799/531 = 1.50471 (-.00604% Error)
W = 20000 H = 800
800/532 = 1.50376 (-.1235 % Error)
Looks like rounding differences. W= 20000 and H= 800 is the least accurate, but it shouldn't be detectable in the onscreen image. For now it's your only choice for constraining mixed landscape and portrait image export resizing on only one side (W or H) with 0 pixel error.
Rikk Flohr, Official Rep
- 7684 Posts
- 1746 Reply Likes
Greetings all,
I have converted this to a Feature Request (Idea) and given it a little push. No promises...
I have converted this to a Feature Request (Idea) and given it a little push. No promises...
Related Categories
-
Lightroom Classic
- 15608 Conversations
- 4203 Followers







