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

Unwanted padding in PNG export if shadows applied

New Here ,
Nov 26, 2020 Nov 26, 2020

Copy link to clipboard

Copied

Hi everybody! 

 

I have a problem with XD. When I export some SVG elements in my mockup, if I put any kind of shadow on the components of the path, when I export in PNG (for Android) I get an annoying and useless padding in the PNG file. Even if I set the shadows' directions to the inside of the shape. 

 

This is without shadows:

Immagine 2020-11-27 002230.png

 

This is with shadows: 

Immagine 2020-11-27 002600.png

 

So: is there a way to export PNG with shadows but without that unwanted padding? 

 

Thank you in advance for the support! 

TOPICS
Design , How to , Import and export

Views

996

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 1 Correct answer

New Here , Nov 27, 2020 Nov 27, 2020

I used Photoshop's refine command with batch automation. 

 

Thank you anyway for the suggestion! 

Votes

Translate

Translate
Community Expert ,
Nov 27, 2020 Nov 27, 2020

Copy link to clipboard

Copied

One way is to mask them.

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
New Here ,
Nov 27, 2020 Nov 27, 2020

Copy link to clipboard

Copied

LATEST

I used Photoshop's refine command with batch automation. 

 

Thank you anyway for the suggestion! 

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