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

“Trim layers” PNG with coordinate information?

Community Beginner ,
Oct 09, 2018 Oct 09, 2018

Hi everyone! I know that with “export layers to files” I can uncheck “trim layers” and the objects of each exported layer will be saved in the correct position Relative to the original documents bounds. But these are relatively large PNG files.

If I check “trim layers”, The file is, of course, smaller.

Is there any way to retain the file size advantage with the “trim layers” option while still retaining position information? These exported PNG’s will be inserted into other documents And positioning must be precise and consistent.

6.3K
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
Adobe
Community Expert ,
Oct 09, 2018 Oct 09, 2018

Hi

I don't know of any way to do that. If the file is based on a trimmed layer then additional metadata would need to be written (and read by the receiving application) to give the original size and position.

Dave

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 ,
Oct 09, 2018 Oct 09, 2018
LATEST

Some Photoshop operations will trim transparent boarders.  For example Copying a layer to the clipboard copy pixels within the layers bounds to the  clipboard empty boarders will not be in the clipboard and File>Place will not render empty pixels for an object transparent canvas borders.  Only Pixels within the Layer bounds will be use in these operations.  When I need to preserve transparent boarders I force image file not to have any. I add 1% opacity the the top left and boton right layer  pixels with an action. No human eye will ever see these pixels without hunting for them.

JJMack
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