Copy link to clipboard
Copied
I apologize if this question has been answered before, but I had no luck finding it. I have a 300 dpi Photoshop file with a lot of product images all on separate layers. All the layers are named and need to be exported with the names, so I've been using the Export As option in the layers menu. When exporting them as PNG's they work great, the names stay and the image maintains the 300 dpi size. But when I try and export them as JPEG's they become 72 dpi. The file is resampled from a 10-inch x 10-inch 300 dpi image to a 41.6 x 41.6 inch 72 dpi file. I wish there was a way to lock down the aspect and dpi ratio. I've tried using the File/Export Layers to Files... option. It works great at exporting the layers at 300 dpi, but it insists on having a Prefix name before the layer file name. I tried deleting the Prefix name, but when I export the images they have a numerical naming convention before the layer name ( 0000_File_Name ). Is there a way to get the Prefix turned off? Any help would be greatly appreciated.
Use Layers to Files Fast which is an essential tool for this kind workflow:
https://github.com/antipalindrome/Photoshop-Export-Layers-to-Files-Fast
Another option, for the JPEG files, it's possible to batch add the missing metadata back into the files without lossy decompression/recompression –
Photoshop version:
Copy link to clipboard
Copied
Use Layers to Files Fast which is an essential tool for this kind workflow:
https://github.com/antipalindrome/Photoshop-Export-Layers-to-Files-Fast
Copy link to clipboard
Copied
That seems to have done the trick. Thanks so much!
Tony
Copy link to clipboard
Copied
I apologize if this question has been answered before, but I had no luck finding it. I have a 300 dpi Photoshop file with a lot of product images all on separate layers.
That would be 300 ppi – not dpi. :]
All the layers are named and need to be exported with the names, so I've been using the Export As option in the layers menu. When exporting them as PNG's they work great, the names stay and the image maintains the 300 dpi size. But when I try and export them as JPEG's they become 72 dpi.
They don't have ANY resolution metadata, it is intentionally stripped out and removed by Adobe as Export As is intended for screens/devices which do not require such metadata for correct sizing.
72 or 96 ppi is just a default value used by different software when this is metadata missing.
This sounds like the bug that I raised which Adobe has not given any clarification on, despite multiple bumps:
You can add your upvote and any comments, perhaps Adobe will pay attention if this bug report has more "me too" votes.
I've tried using the File/Export Layers to Files... option. It works great at exporting the layers at 300 dpi, but it insists on having a Prefix name before the layer file name...Is there a way to get the Prefix turned off?
By @tony0vicmizzy
The default Adobe scripts are long, complex and tortuous to edit, even for those who know what they are doing. This has come up before if you search the forum for "export layers to files":
Some generic alternatives for saving layers also include the following scripts (I can't recall the options for layer names to be used as filenames and their support of resolution metadata, I'm just listing them while on the general topic):
https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx
https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx
https://github.com/mechanicious/photoshopCompositionComposer
https://www.marspremedia.com/software/photoshop/save-layers
Copy link to clipboard
Copied
Another option, for the JPEG files, it's possible to batch add the missing metadata back into the files without lossy decompression/recompression –
Photoshop version:
Copy link to clipboard
Copied
Stephen, thanks so much. very helpful.