Jump to content

Recommended Posts

Posted

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.

 

Posted
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.

Alfred spacer.png
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)

Posted
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.

Posted
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.

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.

Posted
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.

-- 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

Posted
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.

Posted

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?

 

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.

 

Posted
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!

Posted
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 🙂 )

Posted

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.

 

Screenshot 2022-04-21 at 20.45.14.png

Make one color transparent.afphoto

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.

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.