• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Exporting layers to JPEG

Community Beginner ,
Jun 13, 2024 Jun 13, 2024

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.

TOPICS
macOS

Views

368

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Mentor , Jun 13, 2024 Jun 13, 2024

Use Layers to Files Fast which is an essential tool for this kind workflow:
https://github.com/antipalindrome/Photoshop-Export-Layers-to-Files-Fast

Votes

Translate

Translate
Community Expert , Jun 13, 2024 Jun 13, 2024

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:

Votes

Translate

Translate
Adobe
Mentor ,
Jun 13, 2024 Jun 13, 2024

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

That seems to have done the trick. Thanks so much!

Tony

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

quote

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. :]

 

quote

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:

 

https://community.adobe.com/t5/photoshop-ecosystem-bugs/ps-2024-export-png-now-retains-resolution-me...

 

You can add your upvote and any comments, perhaps Adobe will pay attention if this bug report has more "me too" votes.

 

quote

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":

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-layers-to-files-how-to-set-fil...

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-export-with-layer-name-when-qu...

 

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 13, 2024 Jun 13, 2024

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:

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

LATEST

Stephen, thanks so much. very helpful.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines