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

Batch export layers as png WITH transparency IN CANVAS-SIZE not cropped to the asset ?

New Here ,
Nov 30, 2021 Nov 30, 2021

Hi, maybe you can help me. 

I am trying to export very high numbers of layers as png files. 

the layers > export as, will allow me to batch all layers ton png with transparency. but it will crop the size to the layer but I need them all in the size of the canvas so they align afterwards again… for an nft project. 

 

the batch command… file > export layers doesnt work bc. the transparency gets lost for some reason as png 

 

thx 

TOPICS
macOS
1.8K
Translate
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 1 Correct answer

Community Expert , Nov 30, 2021 Nov 30, 2021

Have you tried PNG-24 with

File > Export > Export Layers To Files

Translate
Adobe
Community Expert ,
Nov 30, 2021 Nov 30, 2021

Have you tried PNG-24 with

File > Export > Export Layers To Files

Translate
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
New Here ,
Nov 30, 2021 Nov 30, 2021

that did the trick. thx a lot !

so png-8 has NO transparency…? 

Translate
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 ,
Nov 30, 2021 Nov 30, 2021

PNG-8 only has 1-bit transparency. 

Translate
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 ,
Nov 30, 2021 Nov 30, 2021
LATEST

A script in the following topic can add a 1% 1x1 pixel in the upper left and lower right corners of the active layer, which is a hack to work around the issue (the same can be done via an action):

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-as-now-crops-to-contents-inste...

 

This would need to be included with further code to process all layers and not just the active layer.

 

More on this topic here, where Adobe explain why:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-as-now-crops-to-contents-inste...

 

Translate
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