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

How to protect transparent areas in APhoto


Recommended Posts

29 minutes ago, Tomeric said:

without first applying a proper masking

Why do you not want to apply masking (proper or otherwise). The obvious solution would be to select the transparent area, invert the selection and then fill this non-transparent selection.

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

  • Staff

Hi Tomeric,
cmd click the thumbnail of the pixel layer in the Layers panels to create a selection from its content then use Edit > Fill to fill it with the color you want (make sure the layers is selected in the layers panel). Alternatively switch to/use the Paint Brush Tool with a large brush size (no selection needed), tick the Protect Alpha checkbox in the context toolbar and paint over the object.

Link to comment
Share on other sites

Thank you all!
So unfortunately there is no function to protect the transparent surfaces like in PhotoShop.

 

1 hour ago, John Rostron said:

Why do you not want to apply masking (proper or otherwise). The obvious solution would be to select the transparent area, invert the selection and then fill this non-transparent selection.

If you want to apply a new color to some pixels, filling with transparency-protection can be the quickest way.
PhotoShop has a checkbox for that in its "Fill"-popup and besides that a "protect transparency" option in its layers context menu. Both are quite useful.

Example: Today I received a logo as a transparent PNG file in which I had to change some text, but only a part of the graphic. In the end, I made a selection of the entire content and deselected the area that wasn't to be colored. With simple filling it would have been faster.

 

 

 

Link to comment
Share on other sites

19 minutes ago, Tomeric said:

Thanks Pixel, I didn't notice this Checkbox in the Brush-Context-Toolbar.
It's a little more cumbersome than it should be, but that's acceptable to me.

That is the „drama“ for all users, who expect a new application B working identically as application A. This is not the case, and if, it would be an evidence of incapacity for the software engineers of application B. Copycats seldomly are creative beings …

Link to comment
Share on other sites

"Color overlay" ignores any selections. Currently the "Brush-trick" seems to be the quickest way...

"New Adjustment Layer/ Recolour" could also be an alternative, but here we can't define the new color precisely; respectively not by RGB value or so.

Link to comment
Share on other sites

3 minutes ago, mac_heibu said:

That is the „drama“ for all users, who expect a new application B working identically as application A. This is not the case, and if, it would be an evidence of incapacity for the software engineers of application B.

Truly, but this is how you typically approach new software... or a new Microwave, Radio, Navi, Toaster, ... ;)

I think that's perfectly okay, and maybe for the developers of "B" it could be an indication that the developers of "A" had a good idea too that should be adopted.

Link to comment
Share on other sites

5 minutes ago, Tomeric said:

Truly, but this is how you typically approach new software... or a new Microwave, Radio, Navi, Toaster, ... ;)

Following this, the computer, the  iPhone, … never would have been invented.

6 minutes ago, Tomeric said:

 

I think that's perfectly okay, and maybe for the developers of "B" it could be an indication that the developers of "A" had a good idea too that should be adopted.

So, you really want a copy of Photoshop? Are you looking for a cheaper version of Photoshop? :)

Link to comment
Share on other sites

18 minutes ago, Tomeric said:

"New Adjustment Layer/ Recolour" could also be an alternative, but here we can't define the new color precisely; respectively not by RGB value or so.

Ok Ok - here´s an ugly one but with RGB control when ambient lighting is killed:

:9_innocent:

Livelighting.jpg.5584ffb61ac6c066dd0dc70a8420a3e6.jpg

Link to comment
Share on other sites

IMHO it's absoluty human to first try out what has worked before in a similar situation. 

> Following this, the computer, the  iPhone, … never would have been invented.

The computer as an example... originally paper tape was necessary. Necessary, but not a user-friendly idea. So they finally used what the users already knew since the 19th century: The keyboard. And this in an old layout that could have been improved in the process. (Dvorak keyboard for example.) A good decision, IMHO.

When I create something new, I always consider user expectations, and only when I think there is a *really* better solution, I do implement that.


> So, you really want a copy of Photoshop? Are you looking for a cheaper version of Photoshop?

Not a copy, but: A software that has been developed for 30 years must contain some good ideas. Why not find them out and make them your own (speaking for Serif here)?

By the way, the price is not why I don't want to use PhotoShop anymore: I don't like the rental software system. Because of AD (among others) I have cancelled my Adobe CC subscription in the meantime. Only the photographer subscription is left, because AP does not contain yet all features that are helpful for my jobs.

Link to comment
Share on other sites

  • 2 years later...
On 8/20/2019 at 1:41 PM, MEB said:

Hi Tomeric,
cmd click the thumbnail of the pixel layer in the Layers panels to create a selection from its content then use Edit > Fill to fill it with the color you want (make sure the layers is selected in the layers panel). Alternatively switch to/use the Paint Brush Tool with a large brush size (no selection needed), tick the Protect Alpha checkbox in the context toolbar and paint over the object.

How can I do this with a gradient? When I want to fill just the object on a layer and select the gradient tool, I don't see a 'protect alpha' box. 

Link to comment
Share on other sites

35 minutes ago, colindun said:

How can I do this with a gradient? When I want to fill just the object on a layer and select the gradient tool, I don't see a 'protect alpha' box. 

Since there’s no ‘Protect Alpha’ option for the Gradient Tool, you have to use the pixel selection method.

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

1 minute ago, Lisbon said:

I just uncheck Editable on the composite alpha.

Am i missing something?

Works for all painting tools and almost all destructive filters (did not check e.g. frequency separation). Does not work for adjustment layers and live filter layers.

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 hours ago, colindun said:

How can I do this with a gradient? When I want to fill just the object on a layer and select the gradient tool, I don't see a 'protect alpha' box. 

The best way is non-destructive. Keeps the original, and allows you to edit the gradient after.

Link to comment
Share on other sites

6 hours ago, colindun said:

How can I do this with a gradient? When I want to fill just the object on a layer and select the gradient tool, I don't see a 'protect alpha' box. 

What kind of "object" is it? I mean in the case of the "Square star"  above simply select and drag a gradient to it. No?

Link to comment
Share on other sites

In my case it was some text that I had rasterised. I then wanted to fill the text shape with a gradient, but when I select the gradient tool and set the colours it's filling the entire layer rather than just the rasterised shape on the layer. Is there a preserve alpha alpha control I am overlooking somewhere?

Link to comment
Share on other sites

13 minutes ago, colindun said:

In my case it was some text that I had rasterised. I then wanted to fill the text shape with a gradient, but when I select the gradient tool and set the colours it's filling the entire layer rather than just the rasterised shape on the layer. Is there a preserve alpha alpha control I am overlooking somewhere?

In your case a different workflow leads to success:

  • create a rectangle with a gradient. Should be large enough to cover the text.
  • nest this layer under the rasterized text
  • you can re-adjust the gradient any time later if required 

 

 

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

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.