When I save a drawing as .png file to a local system, the background is coming out as black. How can I change that color to a white? #5707
Replies: 2 comments
-
|
👋 Thank you for opening this issue! Summary: The user is asking how to change the background color of exported PNG files from black to white, as their PNG exports from draw.io have a black background. This is most likely caused by exporting with a transparent background (which renders as black in some viewers) or by dark mode settings affecting the export. 💡 Possible Solution FoundWe found a potentially relevant solution in a previous issue: This is likely related to dark mode affecting exported colors. The solution is: 1) Go to Edit > Page Setup (or Format > Page) and set a white background color for the diagram, or 2) When exporting as PNG via File > Export as > PNG, check the Background option and set it to white (uncheck 'Transparent Background' if that option is checked). Additionally, if you're using dark mode (issue #4533), the dark mode can affect how colors appear in exports — try switching to light mode via Extras > Theme > Kennedy (or similar light theme) before exporting. In the desktop app, your OS dark mode settings may also influence the export colors. 📎 Source: #4533 Please check if this addresses your issue. If not, let us know what's different about your situation.🔍 Possible Related IssuesThis issue might be related to existing issues: 🟡 #4533 - Colors Affected by Dark Mode Please check if any of these address your issue. If this is a duplicate, we may close this issue and continue the conversation there.🤖 This is an automated response to help with initial triage. A human maintainer will review this issue. If you've provided all the requested information, no further action is needed - we'll get back to you soon! |
Beta Was this translation helpful? Give feedback.
-
|
Works for me. What are the exact steps? What version of the app are you using? What browser, operating system and versions? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Saving a drawing as .png file to a local system, the background of the image is coming out as black. How can I change that color from default black to white or some other color? I do not see that configuration, for some reason.
Beta Was this translation helpful? Give feedback.
All reactions