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

Making 'white' area in a bitmap transparent.


Recommended Posts

As the title suggests, I have a large collection of ornate TIFF images. They are designed to create even more ornate patterns when overlayed. naturally, this requires transparency set to 0% so that the overlay works. How do I set transparency in Aff Designer so that each image shows below the one placed above (or below)? As you can see the image above is covered by the 'white space' of the lower image. 2018-08-01.thumb.png.a61283847a0ea7d9c6e62d6ccdada90a.png

Link to comment
Share on other sites

Go to the Layers panel and click on the upper layer to select it. Now click on the ‘Blend Ranges’ gearwheel at the top of the panel to display the Blend Options dialog.

At the top of the Source Layer Ranges graph you’ll see a line joining a black node on the left to a white node on the right. It’s at the top of the graph because everything is at 100% opacity, but if you drag the right-hand end all the way down you’ll make the white pixels in your image 0% opaque (i.e. 100% transparent). At this point the black pixels will still be 100% opaque but everything else will be semitransparent; to restore full opacity to all the non-white pixels, drag the left-hand end of the line straight across towards the right, stopping when the white pixels begin to reappear.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Dang, I always forget about blend ranges. Don't know why. Just tried that on some line art, and found that adding another node at 5h 50% position sitting at 100% cleaned up the line art.

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Link to comment
Share on other sites

15 hours ago, αℓƒяє∂ said:

Go to the Layers panel and click on the upper layer to select it. Now click on the ‘Blend Ranges’ gearwheel at the top of the panel to display the Blend Options dialog.

At the top of the Source Layer Ranges graph you’ll see a line joining a black node on the left to a white node on the right. It’s at the top of the graph because everything is at 100% opacity, but if you drag the right-hand end all the way down you’ll make the white pixels in your image 0% opaque (i.e. 100% transparent). At this point the black pixels will still be 100% opaque but everything else will be semitransparent; to restore full opacity to all the non-white pixels, drag the left-hand end of the line straight across towards the right, stopping when the white pixels begin to reappear.

Thanks a LOT for this!!! It works brilliantly! My problem is I am still a bit too used to the way CorelDraw does things. Or rather DID as I am now using Affinity Designer, Photo and soon Publisher full time.

Link to comment
Share on other sites

  • 8 months later...
  • 2 months later...
  • 1 year later...
29 minutes ago, ESPR said:

Alternative solution:

If you have black on white (lineart being the classic example), the Blend Mode 'Multiply' will make the white transparent.

If its white on black, 'Screen' will make the black transparent.

The ‘Multiply’ (or ‘Screen’) blend mode will make the white (or black) behave as though it’s transparent, letting the colour show through from the layers below, but if you export the result to PNG and then open the exported file you’ll find that the white (or black) areas — instead of showing up as a transparency chequerboard — are unchanged.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

11 minutes ago, Alfred said:

The ‘Multiply’ (or ‘Screen’) blend mode will make the white (or black) behave as though it’s transparent, letting the colour show through from the layers below, but if you export the result to PNG and then open the exported file you’ll find that the white (or black) areas — instead of showing up as a transparency chequerboard — are unchanged.

The original poster said he/she wants to stack/overlay a bunch of ornate layers, so each layer adds to the final design.

It says nothing about exporting with a transparent BG, but i guess, looking at the title it could be read both ways.

 

The Blend Mode method makes the white transparent in the project, which is what OP wanted.

Your Blend Ranges method is superior because it also exports as transparent.

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.