Lightroom Classic: TIFF compression settings have no effect when Lightroom sends image to Photoshop for editing

  • 22
  • Problem
  • Updated 2 months ago
  • Solved
  • (Edited)
Hello, I believe this is a bug..When using edit in Photoshop from Lightroom with TIFF format set, none of the compression settings work. Because when the file is saved in Photoshop (ctrl+s) and comes back to Lightroom it's always an uncompressed TIFF. Every other setting works.Unfortunately I can't tell whether the fault is on Lightroom or Photoshop side..Tested on Win 7 - 64bit with LR 3.6 - 64bit and PS CS5.1 - 64bit, also on Win XP - 32bit LR 3.5, PS CS5. (In both cases camera raw version match) Lightroom 4 behaves the same.I would appreciate your replies, Thank you
Photo of Tomas Kraft

Tomas Kraft

  • 8 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 22
Photo of Tomas Kraft

Tomas Kraft

  • 8 Posts
  • 0 Reply Likes
Come on, anyone? I know there is more important stuff to deal with these days, and it ́s not that crucial, but I just wanted to bring this to attention, becasuse there are new versions of LR and PS still on their way. And this seems to be an obvious bug.

It would be nice to hear from some of you or Adobe. I tried it on 2 different computers and it was the same. If anyone can just try it as well and confirm this behaviour or not. It ́s pretty quick.. Thank you
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1544 Posts
  • 311 Reply Likes
If you save a flat file as a Tiff in Photoshop and the file’s size in the Finder is less than the size as indicated in Image > Image Size then obviously it has been compressed – are the files smaller or not?

But you mention ctrl-S, to change the compression settings from Photoshop you would have to do a File > Save As.
Photo of Tomas Kraft

Tomas Kraft

  • 8 Posts
  • 0 Reply Likes
No, size of the saved file is the same as indicated in photoshop image size dialog. The point is that the image coming from Lightroom should keep the compression settings in Lightroom preferences when it's handed to Photoshop. I found out when I merged 3 images from Lightroom to panorama via edit in ps and ended with one 900 MB file when saved, even though there was compression set in LR. It just doesn't work.

Yes, save as option in Photoshop is a workaround, but this is not the way it's supposed to work I think. I don't want to change compression because I have it already set in Lightroom edit in preferences. Ctrl-S in PS should keep all the settings and hand the file back to LR. It keeps all settings such as bit depth and color space except compression. But thanks for your reply
Photo of Tomas Kraft

Tomas Kraft

  • 8 Posts
  • 0 Reply Likes
I just tried with LR 4.1 and Photoshop CS6 trials on win7x64 and this bug is still present! Tiff compression setting in LR has zero effect.

For example, I send 4 images with merge to panorama in Photoshop and if I don't want to end up with 700MB+ file I need to do save as with compression in PS which doesn't send the output file back to LR catalog so I need to synchronize folder to have it in catalog. It just breaks the recommended workflow.

Please Adobe, do something with it. Thank you
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
Thomas, I have the same issue as posted here in the LR forums:

http://forums.adobe.com/message/46637...

This problem still exists with LR4.1 when using PS CS6, at least on Windows 7 64 bit systems.

In addition, the TIFF ‘Byte Order’ is set to ‘Macintosh’ (Big-endian) instead of ‘IBM PC’ (Little-endian), which is what LR’s Export module uses. So, there is a clear “inconsistency” concerning byte order implementation and a definite “bug” in that the compression setting is not applied when using ‘Edit In’ PS.




Adobe Photoshop Lightroom Team please add to the bug list for correction.

Thank you for your assistance.

Best Regards,

Todd Shaner
Photo of LRuserXY

LRuserXY

  • 426 Posts
  • 41 Reply Likes
Bug is still present in LR 4.4 and LR 5 beta, too (Win 7, 64 Bit, with PS CS6 64 Bit with ACR 8.1b). The compression setting in export works, but not in "Edit in PS".
Photo of Lee Jay

Lee Jay

  • 994 Posts
  • 137 Reply Likes
Doesn't this seem like a problem with the save settings in PS, rather than an LR problem?
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
Adobe is the developer of both Photoshop and Lightroom and they wouldn't have added a feature like this in LR if it doesn't work in PS. Does it work for anyone out there?
Photo of Lee Jay

Lee Jay

  • 994 Posts
  • 137 Reply Likes
It seems to work perfectly for me. When I edit with "none" selected under compression, the resulting TIF is 46.8MB. When I do the same with "ZIP" selected, the resulting TIF is 27.4MB. If I edit the ZIPed version and save it from PS, the resulting image is 33.2MB, indicating to me it must still be compressed.

Windows 7 64, LR5.
Photo of LRuserXY

LRuserXY

  • 426 Posts
  • 41 Reply Likes
Interesting...

Perhaps it is related to the operating system (do you use Mac or Win?), and/or the combination of LR and PS, and their versions.

Also: In your case, does LR or PS render the TIFF? Perhaps it works correctly when LR renders the TIFF and this is indeed a communication problem between LR and PS, so that PS does not get the information correctly how to compress the TIFF when saving it.
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
Using LR5 beta I did an Edit In PS CS6 'Let LR Render' and then I Saved As a 2nd file from inside PS with no compression, and Saved As a 3rd file with ZIP compression. Very strange results:

LR Render with ZIP: 106,208 KB
PS Save As with ZIP: 118, 880 KB
PS Save As with No Compression: 124,625 KB
LR Render with ZIP & Save As with ZIP in PS: 118,880 KB

I would have expected the two ZIP files to be identical. All three have identical document sizes (120.3MB), resolution (5616x3744), 16 bit mode, and ProPhoto RGB profile. My LR Preferences External File Handling is set for 16 bit, ProPhoto RGB, ZIP Compression. Any ideas?
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 862 Reply Likes
Photoshop is writing more metadata into the file than Lightroom, so the files it writes will be slightly larger due to that metadata.
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
118,880 KB - 106,208 KB = 12,672 KB or about 12.7 MB.
Chris, that's a lot of metadata–What kind of PS metadata are you referring to? The file I tested is from a Canon 5D MKII CR2 with only default LR adjustments applied.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 862 Reply Likes
I'm trying to provide you with some additional information. I don't know why the sizes differ, exactly. Also, the metadata may vary with your system setup and steps you've applied in editing the image.
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
I checked the files using EXIFToolGUI and there isn't a significant difference in the metadata, so there's something else going on that remains a mystery.
Photo of Tomas Kraft

Tomas Kraft

  • 8 Posts
  • 0 Reply Likes
It never worked for me, even on clean OS install. What I know, it only works when ACR version is different, so LR renders the TIFF itself. Looks like it's more of a PS problem then.
Photo of D H

D H

  • 10 Posts
  • 4 Reply Likes
I think I can see what's happening. When I had incompatible versions of LR and ACR (LR5 and PS CS5 - no idea what ACR version that is but pre-LR5), the 'edit in PS' option in LR led to a box asking if I wanted to render with LR. Choosing this option exported a tiff to PS with the settings chosen in the LR preferences (e.g. ZIP compression), which came back into LR upon closing in PS. Perfect.

Now, I'm trialling PS CC with LR 5. The 'render with LR' option doesn't appear, and the file shows as .nef (not .tif!) in PS. When I subsequently save it, it's saved as a tif but with no options to choose compression settings. Significantly less than perfect.

Or am I missing something or doing something wrong?

My objective is to save all my tiffs with ZIP compression, without having to do a manual 'save as' which interrupts the round trip from LR --> PS --> LR.
Photo of LRuserXY

LRuserXY

  • 426 Posts
  • 41 Reply Likes
It is normal (and intended) that it is displayed as .NEF in PS. This is the normal way it should work when LR's and PS's ACRs are compatible: LR does not pass a pre-rendered TIF, but instead only passes a reference to the original raw to PS, plus the development settings. The ACR of PS is then responsible for rendering the image. When that is done, the original filename is disyplayed in PS (the image is now just in-memory, and is not yet a TIFF or PSD). Only when saving, PS uses the file type (PSD or TIFF) specified by LR to save the actual file (the image name displayed in PS changes accordingly).

What is still not normal is that the compression settings are ignored in the last step by PS (or perhaps they are not correctly passed by LR to PS).
Photo of D H

D H

  • 10 Posts
  • 4 Reply Likes
Suspected as much with your first para (though still prefer to have the 'render by LR' option), and completely agree with your second para - that's the problem.

Would be great to get a comment from the LR and/or PS teams to give their thoughts on this (when they're back from their holidays ;-) )
Photo of Todd Shaner

Todd Shaner

  • 130 Posts
  • 11 Reply Likes
This issue is still present with LR5.3 and ACR8.3 when opened in PS CS6. CTRL +S (Save) saves the TIFF file with NONE for compression. I would imagine it's the same with PS CC. Did you compare file sizes with CTRL S and then a 'Save As' with a different name selecting ZIP compression?
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 862 Reply Likes
Lightroom explicitly tells Photoshop to save the TIFF images with no compression when Lightroom opens the images in Photoshop for editing. Photoshop is just doing what the Lightroom team told it to do.
Photo of D H

D H

  • 10 Posts
  • 4 Reply Likes
Thanks very much, Chris - but then why is there an option in LR (Edit > Preferences > External Editing tab) that enables you to explicitly choose ZIP or LZW compression for files to be edited in PS?

It's this option that I've set to ZIP compression, but which seems to be ignored ...
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 862 Reply Likes
It sounds like the Lightroom team made some changes (incompatible with their earlier wishes) that they failed to communicate to the Photoshop team. I'll have to check with them once I get back to the office.
Photo of D H

D H

  • 10 Posts
  • 4 Reply Likes
Thanks again, Chris. It would be great to have this functionality (as great as it was when I was using 'incompatible' versions of LR and PS! - maybe I should just cancel my CC subscription ;-) ).
Photo of D H

D H

  • 10 Posts
  • 4 Reply Likes
Just a follow-up: how are plans to deal with this progressing???
Photo of Robert Pollai

Robert Pollai

  • 3 Posts
  • 0 Reply Likes
I am also wondering about this, the compression option is still not working with current versions of Lightroom and Photoshop CC. Any news?
Photo of g k

g k

  • 14 Posts
  • 1 Reply Like
It's now 2016 and the bug is still there. Worst part is that most people, are unaware of the issue and waste hdd space by having uncompressed files.

 How far is your office exactly??? 
Photo of peo.rydgren

peo.rydgren

  • 1 Post
  • 0 Reply Likes
Just chiming in on this one. Every picture I work and save with ctrl - s takes 1 GB of both main drive and backup. I am too lazy to Save As, select compression and then re import into Lightroom. Still, 100 edited photos is 100 GB of disk space. It could be a third if this worked.
Photo of Per Berntsen

Per Berntsen

  • 5 Posts
  • 1 Reply Like
+1
Photo of Todd Shaner

Todd Shaner, Champion

  • 1974 Posts
  • 670 Reply Likes
LR CC 2015.8 on Windows 7....it's a mystery why LR TIFF ZIP is significantly smaller than PS TIFF ZIP....it's not due to metadata differences as far as I can see!
Photo of Luke Kroeker

Luke Kroeker

  • 4 Posts
  • 3 Reply Likes
+1 This is ridiculous, and the only reason this hasn't been fixed is that the majority of PS/LR users don't know anything about computers, haven't bothered to check the file sizes and don't know it's an issue.  This has been a KNOWN ISSUE for 5 YEARS. Fix your broken software Adobe. 
...Or should I send you the bill for all my extra hard drives?
Photo of LRuserXY

LRuserXY

  • 426 Posts
  • 41 Reply Likes
This reply was created from a merged topic originally titled Lightroom: Glitch in preferences GUI for external editing for TIFF compression.

As documented in the LR help for the external editing settings, LZW compression is not possible for 16 bit TIFF files. However, that is not 100% correctly "enforced" by the preferences dialog.What is correctly handled: When switching from 8 bit to 16 bit, an entry "LZW" is removed from the "compression" drop-down menu and if "LZW" was previously selected, it is replaced by "None".What is not correctly handled: If the preferences dialog is opened with bit depth already set to 16, the "compression" drop-down menu still contains the entry "LZW", and it is selectable. However, when "LZW" is selected then, and the preferences dialog is closed using "OK", the compression setting saved is actually "None", which is also visible the next time the preferences dialog is opened.Not a big deal, but one can accidentally use "LZW" for 16 Bit and end up with no compression at all - without any indication that "LZW" was not a valid choice.Applies for both "Edit in PS" and "Additional external editor". LR 4.3 64 Bit, Win 7.
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1740 Posts
  • 602 Reply Likes
"However, that is not 100% correctly "enforced" by the preferences dialog." This part of the bug has been fixed in in Lr 6.9 or 6.8 as I remember.
Photo of Bruce

Bruce

  • 13 Posts
  • 0 Reply Likes
"Me, too!!" This sort of thing is commonly called a "Misfeature" and needs to be fixed.
Photo of Justin Elledge

Justin Elledge

  • 36 Posts
  • 2 Reply Likes
It's unbelievable that this remains broken.  I have a note taped to my monitor to re-save folders of TIFF images nightly using the Automate->Batch function of Photoshop, but boy is that a pain in the ass.
Photo of John Doe

John Doe

  • 13 Posts
  • 1 Reply Like
How did you automate the re-save, that’s exactly what I’m looking for.
Photo of André Babiak

André Babiak

  • 1 Post
  • 0 Reply Likes
This reply was created from a merged topic originally titled LR Edit in PS will not compress TIFF files even if you have compression enabled. ....

Lightroom CC 2015 & Photoshop CC 2014

I've set in LR: Preferences - External Editing -> Photoshop CC -> Compression TIFF 16bit to ZIP.
Inside LR when choosing to edit a file in PS and saving that file after I've edited, no compression is applied to the TIFF file. The result is always an uncompressed TIFF file.
Which makes the LR preference setting completely useless.

Photo of William Royce

William Royce

  • 7 Posts
  • 2 Reply Likes
This reply was created from a merged topic originally titled Lightroom bug in Edit in Photoshop, where TIFFs do not get compressed.

See the following link: https://petapixel.com/2020/04/13/this-lightroom-bug-could-be-costing-you-tons-of-storage-space/
 April 13, 2020 I just tried this.  Set the Lr Classic CC external editing preferences for Adobe Ps CC to TIFF with compression None.  and then set compression to ZIP.  In both cases the resultant TIF was the same size.  Both my Lr and Ps are up to date.  Why no compression?






Photo of John Doe

John Doe

  • 13 Posts
  • 1 Reply Like
For large files that use multiple Smart Objects and occupy around 2 GB on disk, I'm seeing a space saving of 500MB or more. But it is simply not practical for me to open up every image I ever saved as TIFF in PS and save it again by compressing to ZIP, so I'm wondering if it can be scripted. FWIW, I'm running latest macOS and PS. I know how to find TIFF files that are larger than a threshold value (say 500 MB) using a script, but I don't know how to "resave" them using the same script.
Photo of john beardsworth

john beardsworth

  • 1351 Posts
  • 373 Reply Likes
Do you really mean a "script"? If so, in PS, create an "action" to run that script and save the action as a "droplet" from the File > Automate menu. This file can be treated by LR as an external editor, so you select affected TIFs in LR and edit with the droplet.
Photo of eartho

eartho, Champion

  • 1511 Posts
  • 509 Reply Likes
Use Image Processor Pro + Bridge.
Photo of John Doe

John Doe

  • 13 Posts
  • 1 Reply Like
@john beardsworth

I did what you suggested, but finding the files to resave took some command-line foo as LR doesn't have a query option by file size.
find . -type f -size +100M -name '*tif' -mtime +15 -print0 
  | xargs -0 stat -f "%z %Sm %N" -t "%Y%m%d" 
  | sort -k1rn -k2rn
(Line breaks are shown for legibility only)

The above command finds all files with the extension tif that are larger than 100 MB and not modified in the last 15 days. It then sorts them by size and then by date. Using this command, I was able to find all the images on the disk, and then I simply found them in LR by searching by the names.
(Edited)
Photo of john beardsworth

john beardsworth

  • 1351 Posts
  • 373 Reply Likes
OK, that's finding them, though you could always sort using my Search and Replace plugin, and doesn't do the updating.

Take a look at these rough screenshots at https://www.dropbox.com/s/xebqmvhvyafgvkd/droplet-setup.jpg?dl=0 . In PS, you create an action like the one in the top screenshot. Then use PS's File > Automate  > Create Droplet with the settings shown - the droplet/action can be named/stored as you want, but be careful on the right hand side.

With the droplet created, you can either drag photos onto it using Finder and wait while PS runs the droplet, or set the droplet as an external editor in LR and choose pics from there, editing the original when you're asked to choose.

Test on a couple of items first.
(Edited)
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 7714 Posts
  • 1778 Reply Likes
Version 9.3, an update to Lightroom Classic, went live on June 15, 2020 and contains a fix for this issue. Please install the update and respond back if it does not cure the issue for you. Thank you for your patience!
Photo of John Doe

John Doe

  • 13 Posts
  • 1 Reply Like
Can you elaborate? Do we not need to use "Save As" anymore while saving a file exported from LR? What does simply saving a file do after the fix?
Photo of Justin Elledge

Justin Elledge

  • 36 Posts
  • 2 Reply Likes
Lol at "thank you for your patience" on a fix for an eight-year-old bug.
Photo of Todd Shaner

Todd Shaner, Champion

  • 2001 Posts
  • 672 Reply Likes
Rikk, using LR 9.3 the issue appears to be fixed on my Windows 10 system.

However, I'm still seeing an unexplained difference in the LR Export file size using ZIP compression. I mentioned it in the reply here:

https://console.getsatisfaction.com/photoshop_family/conversations/lightroom_tiff_compression_settin...




ProPhoto RGB 16 bit with ZIP compression was used for all three of the above files. The LR Export Metadata panel was set to include 'All Metadata' and no options checked to remove data. That's a 9 MB difference, which as I mentioned is not likely due to differences in LR and PS metadata. Using ExifTool the LR Edit in PS and Export file metadata is 12 KB and the PS Save As ZIP file 14 KB.

I did a compare of the files using PS Apply Image as outlined at the below link. Skip page 1 and follow the procedure as outlined in pages 2 and 3.

http://www.digitaldog.net/files/Apply_Image.pdf

I used a Levels Adjustment layer set to 126 and 129 with the 'Apply Image' file. The results are shown below with LR Edit in PS and PS Save As ZIP showing no difference in the Histogram. The second compare for LR Export with ZIP and PS Save As ZIP shows differences in the histogram. Clearly there is something different with the LR Export with ZIP function. Since the file size is significantly smaller this is most likely due to compression artifacts.

Even though the differences are small it begs the question of why. It should be fairly simple to find out why and fix it. I checked Camera Raw 12.3 Save & Convert with the same export settings and it exhibits a similar smaller file size (108,101 KB). Please let me know if you need further information.