Copy link to clipboard
Copied
I was editing an image in Lightroom, and needed to do some quick clean up. So I used the "import to Photoshop" feature in order to do this. I made one copy of the file, and then a new layer. I used various heal tools on the new layer. Nothing exotic on the healing, just removing dust spots. When done with the healing, I made a consolidated stamp layer (al+ctrl+shift+E). I then closed the document to import back into Lightroom. I sat and waited for the image to upload to the cloud so I could edit it. After 2 hours, it still hadn't uploaded. So I just left my computer on and went home. Several hours later, it finally updated. At home, I tried to finish the editing the image in Lightroom mobile, and then export. After pressing the export button, I again waited over 2 hours for the image to download so it could be exported. I simply gave up after 2.5 hours, and just made the changes in Lightroom.
I am now looking at the file in my Lightroom library, and it is 1.15gb. This is massive. The file is saved as a .tif, and I thought that when Photoshop exported the file, it flattened the image into one singular image. This seems to be true, as pressing "edit in photoshop" on that same file opens it as a single image again in Photoshop with all the changes that were previously made saved, and no layers to edit. So if it isn't saving the layers, why is the image so large?
My file dimensions are 6720x4480 (240ppi). The entire Photoshop image was 4 layers, with one of them being a clear new layer used for healing. Photoshop and Lightroom are the latest versions. If I flatten the image in Photoshop, it drops it down to 175mb. Still large, but far more managaeable. I haven't tried uploading this image, as I don't have 4 hours to wait on the file to upload. This seems like a massive bug, as saving just a few of these images would rapidly take up all of my storage. Not to mention that several hours to upload and download 1.15gb from the cloud is a bit crazy. I used my work computer and wifi to upload, and then my phone on my home wifi to download. Both internet services are running at normal wifi speeds.
Copy link to clipboard
Copied
Hi @K-ozDragon are any of your layers smart objects?
Copy link to clipboard
Copied
no, that's how adding several layers to an image has always worked... for decades. If you don't want massive files, then don't duplicate the layers several times.
And are you working in 16 bit?
Copy link to clipboard
Copied
Correct, I understand that within Photoshop, the file size gets bigger the more layers you add because each additional layer is data. However, I'm referring to the file size once the image is closed and then put back into Lightroom. Lightroom does not get those additional layers. They are not stored within the file. If I open the photo again from Lightroom and import into Photoshop, there is just a single image. No layers, no saved data, just a single image. I have done this before with images that had way more data in them, and had up to 13 layers, and the file size once imported back to Lightroom was around 300mb at the most. This was just a copy layer, a very tiny heal layer (done on a clear background), and then a stamp layer - yet it was 1.5gb.
Essentially, shouldn't the image be flattened once it is imported back into Lightroom? If I flatten the image within Photoshop, it becomes 175mb. This is reasonable, as the compression changes from raw to .tif. The file is apparrently flattened automatically when imported back into Lightroom, as all of the layers and extra data are gone. So why would the file be 5 times the original size?
Copy link to clipboard
Copied
I do have smart layers on two of the images. However, should this matter when the image is imported back into Lightroom? I understand that it would make the file much larger within Photoshop, as I am altering the data and adding more to it. That makes perfect sense. However, when the image is automatically imported back into Lightroom, all of the layer data is lost, as the image is flattened into one final image, and then brought back into Lightroom.
As an example, if I flatten the image within Photoshop, I get a file size of 175mb. When imported back into Lightroom, this stays the same and I get exactly the same image as I do if I don't flatten the image and let Photoshop import back into Lightroom. So why the difference in file size?
Also, if I had edited in 16 bit, that would only double the data to 350mb. It wouldn't make it over 8x larger.
Copy link to clipboard
Copied
Sorry, but everything you believe about how this works is totally wrong. Hopefully someone with more patience will be able to help you from here.
Copy link to clipboard
Copied
If it's that basic, it should be easy to explain. I'll just have to wait for someone more intelligent to answer, and hopefully less rude.
Copy link to clipboard
Copied
LIghtroom does not support layers. It cannot read layers.
A layered Photoshop file has to be saved with "maximize compatibility" on to be visible in Lightroom. This inserts a flattened composite into the file, and this flattened composite is what Lightroom uses.
For this reason, roundtripping via Photoshop back to Lightroom is very risky and a recipe for confusion - unless you fully understand the implications of this.
Copy link to clipboard
Copied
Thank you. I am aware that Lightroom does not read layers, which is why this makes no sense to me. It seems like the image would be automatically flattened upon export from Photoshop when it is automatically imported back into Lightroom. Especially since this is the automatic feature of editing in Photoshop from Lightroom, shouldn't this occur automatically? The fact that it doesn't is why I believe this to be a bug. The image size is being massively inflated, despite the fact that what is being exported is technically a flattened image for Lightroom editing.
Copy link to clipboard
Copied
You still misunderstand. The image is not imported "back into Lightroom". Photoshop just saves out to a location on disk like it always does. It saves with layers and everything else.
The reason it reappears in Lightroom is that a background script is running, which tracks the location and imports the saved file into the Lightroom catalog.
A LIghtroom import is not a physical import of the file. It's just a record of where the file is. Similarly, any Lightroom adjustments are not physical adjustments to the file. They are just text instructions in the Lightroom catalog. If you Export from Lightroom, those instructions are applied and baked into a flat exported file.
In short, Photoshop and Lightroom operate on different basic principles. As a one-way workflow from Lightroom to Photoshop this is invisible and seamless. The problems start when you try to reverse that basic flow. It can be done, but you do need to understand what's happening and take the necessary precautions.
Copy link to clipboard
Copied
Ok that makes more sense, thank you for explaining how it works. Since the workflow is supposed to be streamlined, wouldn't it make more sense for Photoshop to take note that the file is being imported automatically from Lightroom, and will be imported back in as a flat file? Therefore it would make sense to automatically do this in order to streamline the workflow?
As it exists now, I have to flatten the final image in order to stamp all of the layers into one image, thereby erasing all of the layers. Or I have to turn on a setting which seems like it should be turned on by default within Photoshop when importing from Lightroom. As part of a steamline experience, having to setup the program to interact specifically with another program made by the exact same company doesn't make a whole lot of sense to me.
Copy link to clipboard
Copied
Since this is still getting views, I can actually answer my own question now that I fully understand how this works. Funny enough, I was correct the first time with my initial statement.
When working in Lightroom, your image remains in RAW format (or whatever you're working with). Once it's put into Photoshop, it is razterized. As you add layers to the photo, the file size gets larger. This makes sense. However, the issue is importing BACK into Lightroom. Normally the layers would be stored so they could be open as a complete set of instructions with additional data for modifications made in Photoshop. Which in turn makes the file larger. When you import back into Lightroom, your edits are saved as a rasterized .tiff file. The issue is that the full file size is saved, yet none of the layers are saved or readable by Lightroom or Photoshop. What you get is identical to flattening the image & reducing the file size dramatically - but in actual practice you just get a massive bloated file which takes hours to upload to the cloud & eats up storage space.
So let's say you edit in Lr, then export to Ps. You make a heal layer & an adjustment layer. You save the file & export back to Lr. It will make a new, massive file in Lr. If you decide to edit in Ps again, one would expect your layers to be saved in this huge file - but this is NOT the case. You will just have a single flat image with no saved layers, yet the file size would indicate that there are saved layers. This extra data is totally superfluous & just balloons files which causes hours of uploading to the cloud & storage being eaten up. It is unnecessary.
If you edit a few layers in Ps & export back to Lr, your file will jump from 26mb to 300mb. Edit more than six layers, & you'll have a 1.5gb file. The file keeps growing, yet what you are left with is one single image upon export. So if you use a workflow where you move from Lightroom to Photoshop & then back to Lightroom, be sure to select all layers & flatten your image. This will combine all the layers, which is going to happen as soon as you export anyways, & will drop a massive file down to roughly 125mb or so. The file is larger than the original due to being rasterized & uncompressed, but still vastly more manageable than the gigs of data you would have if the image isn't flattened. So it's still a fairly large file, but way better than gigs of data for no reason.
It seems perfectly obvious that Photoshop should flatten the image before exporting back to a cloud based editor, but it does not. It simply saves a bloated file with information that cannot be used in any way. So just be sure to flatten everything when you save so the file isn't massive in Lightroom. If you want to actually save your layers so they can be revisited & modified later, save a seperate copy of the .tiff file. Also remember that your Photoshop export will be a rasterized file (in a lossless format) & no longer a RAW file. So do as much of your edits as possible in Lr before exporting to Ps. That way you maximize your edits in RAW with all the data, as the rasterized file won't be as flexible.
If anyone needs further clarification, I'm always happy to help. Just drop a reply.
Copy link to clipboard
Copied
You are still incorrect in your understanding. Layered files are not 'bloat' but an essential way to save files as master files that you can go on to re-edit again. I use Lightroom Classic and Photoshop daily and always save master files as PSD or PSB depending on file size and of course they are editable.
When you select a layered file in Lightroom Classic and reopen it in Photoshop then you have a choice of three options:
Edit Original - which means open the PSD or TIFF as you saved it. All layers remain intact.
Edit a Copy - which means open the PSD or TIFF as a new copy. All layers remain intact.
Edit a Copy with Lightroom Adjustments - This means any additional adjustments that you made in Lightroom since you saved the file from Photoshop. In this case the file is flattened and the additional Lightroom adjustments applied. In this case the file is reduced to a single layer with those additional Lightroom adjustments applied to the file.
There is however a fourth way which is a better option especially if you are starting with raw files. When you first move from Lightroom to Photoshop use 'Open as Smart Object in Photoshop'. This allows you to re-open the Lightroom adjustments, within Photoshop, by clicking on the Smart object in Photoshop which opens Adobe Camera Raw. When you close the smart object, the image in the file is updated. You can add your layers and save as PSD or TIFF. Another advantage of this method is if you copy that smart object layer (Ctrl+J) you can open, edit, and update any of the copies and all those smart objects will update with the same edits.
Then, to re-edit you can just open as original from Lightroom and make Raw or other layer adjutments as required.
Dave
Copy link to clipboard
Copied
Thank you, but i understand how the files can be saved independently as a copy outside of Lightroom. I mention this in my reply. When the file is transferred within the ecosystem, it becomes a baked in file; essentially flattened. I just tried again, so maybe this will help if I tell you exactly what I did.
Opened a 26mb RAW file in Lr - make adjustments - press ctrl+shift+e to open in Ps - create a new layer & apply a heal - ctrl+s to save file - close Ps - Image is automatically sent back into Lr & is now 233mb - press ctrl+shift+e to open again in Ps - layers are gone & I just have a flat image that is a .tiff at 233mb
So none of my layers are saved or recoverable. It doesn't matter if it's one layer or ten, but adding layers makes the file several gigs in size. This huge file has to upload back to the cloud on Lr, taking several hours & massive cloud storage space. If I flatten the image, I get the exact same result & a .tiff file that's around 125mb. This is tested multiple times on two different computers using over 100 images.
Just to reiterate, I can save an external copy of the .tiff to my computer & open it by itself with all the layers preserved. If I work within the ecosystem, the layers are lost & file size remains the same as though the layers are there. Hopefully that makes more sense.
Copy link to clipboard
Copied
Opened a 26mb RAW file in Lr - make adjustments - press ctrl+shift+e to open in Ps - create a new layer & apply a heal - ctrl+s to save file - close Ps - Image is automatically sent back into Lr & is now 233mb - press ctrl+shift+e to open again in Ps - layers are gone & I just have a flat image that is a .tiff at 233mb
By @K-ozDragon
OK, and is that .tiff 8 or 16bit? Is it compressed or uncompressed? What are the pixel dimensions?
Copy link to clipboard
Copied
Photoshop does not save to Lightroom. Photoshop saves to disk (or cloud) in whatever file type you choose. During that save process Lightroom merely references that saved file, the reference being added during the save process, and displays and uses the additional flattened layer added when Maximise Compatibility is chosen in Photoshop Preferences File Handling. Without that flattened layer, Lightroom cannot use the saved file.
When you re-open from Lightroom Classic you choose whether to open a file with Lightroom adjustments, which opens a flattened version, or open the saved version as explained above which retains and opens all layers. I use this every day and have no issues with layered files. If I did, Lightroom would be useless to me.
You have still not answered the question on which version of the Lightroom application you are using, the cloud based Lightroom or Lightroom Classic.
Dave
Copy link to clipboard
Copied
"It seems perfectly obvious that Photoshop should flatten the image before exporting back to a cloud based editor"
No, it's absolutely not "perfectly obvious" that Ps should act destructively when saving a layered file. If you want a flattened image, then flatten the image, but let's not suggest that Ps should do things unintentionally just because you don't yet understand the workflow. Ok?
Copy link to clipboard
Copied
The workflow doesn't allow the layers to be saved. Apparently you have reading comprehension issues. When it exports back to Lughtroom, the image is baked in. If you put it back into Photoshop, it does not have the layers or anything else that would justify a several gigabyte file. Which I've explained as thoroughly as possible, but perhaps you need an illustration to comprehend things. Two different computers, with several others testing it for me. Same exact result.
Copy link to clipboard
Copied
To be clear, so we don't talk at cross purposes: are you using the cloud-based Lightroom, or the local Lightroom Classic? Two different applications, confusing naming conventions. Are your files stored in the cloud, or on physical drives in your machine?
If you are using Lightroom Cloud, it seems you'd be much better off switching to Lightroom Classic.
If you are using Lightroom Classic, and it behaves as you describe, something is very wrong. This isn't the way it normally works at all, and it's either a corrupt install or corrupt preferences.
Copy link to clipboard
Copied
Let us be clear. Photoshop saves layers in a PSD, TIFF or PSB file unless you specifically uncheck the layers box in the Save As dialogue. The file sizes you describe in your first post also confirm this.
The issue you describe is on re-opening in Photoshop after using Lightroom. So the problem you are encountering lies there.
You can confirm this by taking Lightroom out of the equation and just open the saved file directly using Photoshop. Photoshop's open recent will do this.
That out of the way, please confirm the exact version of Lightroom you are using. Lightroom and Lightroom Classic are diffferent apps and the options available are different.
Finally, please read the community guidelines before accusing people of having 'reading comprehension issues'.
Dave
Find more inspiration, events, and resources on the new Adobe Community
Explore Now