Corgi Posted April 21, 2022 Posted April 21, 2022 I'm working with a transparent background on a moderately complex graphic that I'll end up exporting to PNG. There are portions of the graphic that I want to make completely transparent, but presently (AFAIK) to do so within Designer would require extensive, annoying work playing around with things like Subtract operations on the many geometric shapes I have. What I was looking for in the Export dialog was the ability to choose a color to make transparent (in addition to the already-transparent background) during export, but I don't see that option. My solution has been to export to PNG, then open the resulting file in Photo and doing Flood Select (zero tolerance) and deleting the color I want to be transparent. That gets precisely the result I am looking for, but it would be far easier if this could be done during the initial export. Quote
Alfred Posted April 21, 2022 Posted April 21, 2022 51 minutes ago, Corgi said: My solution has been to export to PNG, then open the resulting file in Photo and doing Flood Select (zero tolerance) and deleting the color I want to be transparent. There’s no need to switch to Photo for this. There’s a ‘magic wand’ Flood Selection Tool in the Pixel persona of Affinity Designer. Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
Corgi Posted April 21, 2022 Author Posted April 21, 2022 Quote There’s no need to switch to Photo for this. There’s a ‘magic wand’ Flood Selection Tool in the Pixel persona of Affinity Designer. I tried that, but the Flood Selection tool doesn't work on vector images. Everything is in vector format, and the only rasterization is done when I export. Yes, I could rasterize the image first and then use the Pixel persona, but then I'd have to undo or revert the rasterization afterwards. So that's still an inconvenient process. Quote
Old Bruce Posted April 21, 2022 Posted April 21, 2022 2 hours ago, Corgi said: There are portions of the graphic that I want to make completely transparent, May be a dumb question here but... Why have those visible before you export? Meaning turn them off in the Layers panel. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
walt.farrell Posted April 21, 2022 Posted April 21, 2022 37 minutes ago, Corgi said: I tried that, but the Flood Selection tool doesn't work on vector images. Technically, he only said you didn't need to switch to Photo. He didn't say you could avoid exporting to PNG 39 minutes ago, Corgi said: Yes, I could rasterize the image first and then use the Pixel persona, but then I'd have to undo or revert the rasterization afterwards. Why would you have to revert the rasterization? You're exporting to PNG, anyway, which is all raster. Alfred 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
Corgi Posted April 21, 2022 Author Posted April 21, 2022 2 minutes ago, Old Bruce said: May be a dumb question here but... Why have those visible before you export? Meaning turn them off in the Layers panel. It's only portions of layers that I want to hide. For example, I have various shapes with both fill and stroke, and on some of the objects I need to hide portions of just the stroke. But now I'm trying to use vector masks to accomplish what I want, although it still seems like it might be easy to add the export feature I described. Quote
NotMyFault Posted April 21, 2022 Posted April 21, 2022 I could provide a procedural texture filter which makes all pixels of one specific color (a RGB color code, e.g. 123 / 222 / 213) transparent. The color code needs to be entered either as (three) numeric input values 0…255, or via sliders. interested? As others already said, png is a raster format, so it will do no harm. You could apply this filter as top layer and activate only for export. Interested? Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Corgi Posted April 21, 2022 Author Posted April 21, 2022 2 minutes ago, walt.farrell said: Technically, he only said you didn't need to switch to Photo. He didn't say you could avoid exporting to PNG Why would you have to revert the rasterization? You're exporting to PNG, anyway, which is all raster. I'm going to need to continue tweaking my design over time, which of course I'd like to do in vector mode until the very last step each time. So it just doesn't seem like that would save effort. Don't get me wrong; the feature I'm requesting would save me time, but not a lot of time, since it's easy to fix post-export. It's only that it seems like an easy and handy feature to add. However, I'm seeing if vector masks will do the trick for me without needing post-export repair. Thanks! Alfred and walt.farrell 2 Quote
Corgi Posted April 21, 2022 Author Posted April 21, 2022 5 minutes ago, NotMyFault said: I could provide a procedural texture filter which makes all pixels of one specific color (a RGB color code, e.g. 123 / 222 / 213) transparent. The color code needs to be entered either as (three) numeric input values 0…255, or via sliders. interested? As others already said, png is a raster format, so it will do no harm. You could apply this filter as top layer and activate only for export. Interested? Wow, that's very kind of you to offer! There's no need for you to go to the trouble, but I really appreciate it. I think that the vector masks will work for me, even though they're turning out to be awkward and inconvenient (at least until I learn how to use them properly 🙂 ) Quote
NotMyFault Posted April 21, 2022 Posted April 21, 2022 Here is the file. Just create a preset from the PT filter for easy reuse. To adjust the color you want to be transparent, simply open the PT filter and change the RGB input values. When you activate the filter, all pixels of exact the selected color become fully transparent. All other pixels stay unchanged. Works only for RGB/8. Could be extended to work in other color formats or RGB/16. Make one color transparent.afphoto Alfred 1 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Corgi Posted April 21, 2022 Author Posted April 21, 2022 Quote Here is the file. Just create a preset from the PT filter for easy reuse. Wow, thank you very much, @NotMyFault! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.