Jump to content
You must now use your email address to sign in [click for more info] ×

Flatten transparency for vector objects


Recommended Posts

Could you add a flatten transparency command like Adobe Illustrator's? The way it works is that it converts the vector object with transparancy to a non-transparent vector with a colour that matches the one it had when opacity was applied. For more info see this thread:

https://forum.affinity.serif.com/index.php?/topic/175099-flatten-transparency-set-opacity-to-100-and-use-the-colour-closest-to-the-transparant-colour/

 

Link to comment
Share on other sites

Just curious as to how Adobe Illustrator would handle this. A solid white background with solid green above that and 90% opacity red above the green and 50% opacity blue on top. Would the Blue object be rasterized or would it be split into 4 new objects? All with normal blend mode.

1481791876_ScreenShot2022-12-04at1_18_59PM.png.bebe0593576c18b4ad192917f4582e09.png

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

43 minutes ago, Old Bruce said:

Just curious as to how Adobe Illustrator would handle this. A solid white background with solid green above that and 90% opacity red above the green and 50% opacity blue on top. Would the Blue object be rasterized or would it be split into 4 new objects? All with normal blend mode.

It depends. With your example, one can flatten transparency without conversion to raster. I've attached an AD file.

The top elements have been flattened and do divide the objects up. Appearance is the same as the bottom, which despite AD's idiocy in NOT letting one know there is transparency/opacity, it is there.

 

bruce3 copy.afdesign

Link to comment
Share on other sites

42 minutes ago, Old Bruce said:

how Adobe Illustrator would handle this

Like this:

ai_flatten_transparency.png.6e07cfd2edbb6ee09d55294672433520.png

In Designer, you can simulate it manually by creating swatches of all overlapping parts with the color picker, dividing the object and apply each swatch:

ade_flatten_transparency_workaround.png.d7cb91c381db0e7b265620f52d6438d9.png

The colors are a bit off though, especially the pink. A bug?

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

  • 1 year later...

The vectors are fully opaque already. If you need a opaque background put a rectangle in chosen color behind it.

If you mean something else please elaborate.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

3 minutes ago, NotMyFault said:

If you mean something else please elaborate.

Yes, they are opaque but they are multiple layers with gradient fills with "add" overlay method.

I’d like a function to divide in multiple curves and assign the correct gradients to maintain the appearance.

Screenshot 2024-02-26 alle 19.38.23.png

Screenshot 2024-02-26 alle 19.41.02.png

Link to comment
Share on other sites

There is no automatic function for this.

i would suggest a phased approach:

  • use shape builder to create individual shapes
  • use color gradient fill tool and color picker to create gradients. You may need to experiment finding the best suited gradient (linear, elliptical etc)

a posterize adjustment helps to see the the required gradient flow

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

12 hours ago, NotMyFault said:

There is no automatic function for this.

Is the feature I’m asking for.

I understand I can do it manually with not accurate results but applying the correct gradients on 20 or more shapes x 10 backgrounds is a lot of time that could be done in just one click.

Link to comment
Share on other sites

Your layers use blend mode add. Do you expect that the resulting gradient from multiple layers should be delivered as one layer, with blend mode normal?

or would you accept 3 layers with linear gradient, still requiring blend mode add?

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

Would be a nice feature. Is any other app having this feature already?

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

But nothing about gradients

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

On 2/27/2024 at 12:39 PM, NotMyFault said:

But nothing about gradients

Not in this video but it can. I made it yesterday on a friend’s computer flattening two vector circles with gradients and screen blending method.

Link to comment
Share on other sites

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.