Jump to content
alechp

Transparent-bg artboard adds white background inconsistently

Recommended Posts

Posted (edited)

macOS Mojave 10.14.6
Affinity Designer 1.7.3

---

First, here's how these exported PNGs render in the wild:transparent_color_horizontal.thumb.png.d8ca6880b949c2e9b809a2393c7119e6.png

white_bg_avatar.thumb.png.791c561fa8da4bbd08da4d03f1dfa6de.png

 

 

These photos are exported from the *same* artboard:1227146973_ScreenShot2019-10-04at4_50_05PM.thumb.png.204e03d48b92a505c0758a154ed51309.png

In case the screenshot of the first export doesn't have you convinced, here's the artboard fill & stroke:
(note the fill & stroke, top left)
589900951_ScreenShot2019-10-04at4_48_37PM.thumb.png.468ae700437e581a217207e2f9505155.png
 
Yes, the slice export options are the exact same:
(also notice how you can see in the slice preview that Color Horizontal is transparent but the avatar_color_why_no_transparent clearly has a white background)
1497630700_ScreenShot2019-10-04at4_49_38PM.png.ffa7c65eec2146daba2f0775b90f3420.png96872365_ScreenShot2019-10-04at4_49_31PM.png.d2d673a256a4b50e41ccfa8f439160dd.png


I feel like this should be stupid-simple. What am I missing?


Also here's an example of these files out of preview/affinity designer so it's evident that one's transparent and one has a white background:
803287248_ScreenShot2019-10-04at4_51_07PM.png.3d02a9c4041dfa17bee097317d291bd1.png1185148378_ScreenShot2019-10-04at4_53_40PM.png.0a7975804897c3c755c143042be46324.png

Edited by alechp
Adding 2 more screenshots and specifying version

Share this post


Link to post
Share on other sites

Go to Document setup... and on the colour tab activate Transparent Background.

Screen-Shot-2019-10-05-at-08-23-37.png

 

Exported to SVG, and shown in Quicklook. 
Screen-Shot-2019-10-05-at-08-32-20.png

To get the quicklook display above select both exported svg's then click the icon indicated in the image below. This shows the files transparency, I stumbled on this by accident but it saves having to find alternative methods to validate an SVG's image transparency.
Screen-Shot-2019-10-05-at-08-34-28.png


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - FeedbackInstagram & Flickr

Share this post


Link to post
Share on other sites
8 hours ago, firstdefence said:

To get the quicklook display above select both exported svg's then click the icon indicated in the image below. This shows the files transparency, I stumbled on this by accident but it saves having to find alternative methods to validate an SVG's image transparency.

An interesting discovery! Thanks!


Affinity Photo 1.7.3, Affinity Designer 1.7.3, Affinity Publisher 1.7.3; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.3.155 & Affinity Designer 1.7.3.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.1.2

Share this post


Link to post
Share on other sites
Posted (edited)

@firstdefence Great quicklook tip! Thanks

Changing the document setup did the trick.
My problem is solved (!), but I'm still confused.

Follow up questions
1. Why would some of my PNG slices be transparent (eg. the full / mascot logo) and some have white backgrounds (eg. the partial / pictorial logo)?
2. How do I specify a background color that doesn't appear in slices without manually toggling Document Setup before each export? 

Edited by alechp
adding context to follow up q #1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.