Eraser question
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Eraser question
If the layer use transparency, when use the eraser tool to erase some area, PL change the pixel's alpha to 0, the r,g,b were not changed, this sometimes make some trouble, I want to make these pixel rgba = 0,0,0,0, it seemed there is no simply way to do that.
I have a suggest, since when the layer does not use transparency, the eraser tool use the background color to fill the area, why not use the backgroud color too when layer use transparency?
Another question, when the foregroud color or backgroud color set to transparency, the brush tool can't do nothing, maybe PL think it's meaningless, but I think it is meaningful, use transparency color to paint equal to erase, maybe we can use this function to make special effect.
I have a suggest, since when the layer does not use transparency, the eraser tool use the background color to fill the area, why not use the backgroud color too when layer use transparency?
Another question, when the foregroud color or backgroud color set to transparency, the brush tool can't do nothing, maybe PL think it's meaningless, but I think it is meaningful, use transparency color to paint equal to erase, maybe we can use this function to make special effect.
PL19 x64 win7 64
-
Martin Huber
- Entwickler

- Beiträge: 4298
- Registriert: Di 19 Nov 2002 15:49
Re: Eraser question
Why do you want to do that?jw2004 hat geschrieben:If the layer use transparency, when use the eraser tool to erase some area, PL change the pixel's alpha to 0, the r,g,b were not changed, this sometimes make some trouble, I want to make these pixel rgba = 0,0,0,0,(...)
That's in contrast to the wish of many users who want to keep the color information in transparent areas.jw2004 hat geschrieben:I have a suggest, since when the layer does not use transparency, the eraser tool use the background color to fill the area, why not use the backgroud color too when layer use transparency?
Martin
-
Eurgail
- Mitglied
- Beiträge: 379
- Registriert: So 06 Jul 2014 23:02
Re: Eraser question
Like me, i found it pretty often very useful, that the information is not lost.Martin Huber hat geschrieben: That's in contrast to the wish of many users who want to keep the color information in transparent areas.
@jw2004: where do you have trouble?
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
Keep the color information and erase the color information are equal importance, keep the color information is not always the right choice.
In fact, PL has a inner possibility to give us the chance to keep or erase color information.
When use eraser tool, PL give the R,G,B,A channel option, but regardless the R,G,B,A option, PL always keep R,G,B information
The logical behavior is follow the R,G,B,A channel option:
1. if check the R,G,B checkbox, Eraser tool erase the R,G,B;
2. if uncheck the R,G,B checkbox, Erase tool keep the R,G,B
In fact, PL has a inner possibility to give us the chance to keep or erase color information.
When use eraser tool, PL give the R,G,B,A channel option, but regardless the R,G,B,A option, PL always keep R,G,B information
The logical behavior is follow the R,G,B,A channel option:
1. if check the R,G,B checkbox, Eraser tool erase the R,G,B;
2. if uncheck the R,G,B checkbox, Erase tool keep the R,G,B
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von jw2004 am Sa 30 Mai 2015 12:16, insgesamt 3-mal geändert.
PL19 x64 win7 64
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
And if you want only erase R channel, you can check the R and A channel, and so on.
PL19 x64 win7 64
-
bkh
- Beta Tester
- Beiträge: 3687
- Registriert: Do 26 Nov 2009 22:59
Re: Eraser question
That might sound like a logical option, but keep in mind that the first variant still must not change the RGB values if the pixel is not fully erased (e.g., when using a soft eraser, an eraser with intensity below 100%, or an eraser using anti-aliasing, so basically all erasers except perhaps hard rectangular ones)? Filling fully transparent pixels with the bg colour wouldn't be a problem, of course.jw2004 hat geschrieben:The logical behavior is follow the R,G,B,A channel option:
1. if check the R,G,B checkbox, Eraser tool erase the R,G,B;
2. if uncheck the R,G,B checkbox, Erase tool keep the R,G,B
Also, you'd probably want to remember two tool settings, one for layers with transparency (where some people may want to retain the RGB values), and one for layers without transparency, where most people will want to erase all channels.
But the question remains why it is important to erase RGB values as well. The only reason I can see is that images with lots of transparency will use less disk space. For that reason, PL will erase such pixels when saving as PNG, for example, but afaik, PLD files retain that information.
If there are good reasons for it, I wouldn't mind if PL just filled completely transparent pixels with whatever colour – some of PL's tools already behave that way. Thus if one wants to be able to un-erase parts of an image, a layer mask seems to be the better approach, anyway.
Cheers
Burkhard.
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
User's requirement is widely variety, don't replace user's decision. the better way maybe set the mostly case as the default choice.
Since PL can give the option, why not let user give decision?
Since the channel option is useless for eraser tool, why the PL give the channel option for eraser tool ?
And the behavior (channel option) of eraser obvisous differ from other tools, why not let the behavior keep consistent ?
Since PL can give the option, why not let user give decision?
Since the channel option is useless for eraser tool, why the PL give the channel option for eraser tool ?
And the behavior (channel option) of eraser obvisous differ from other tools, why not let the behavior keep consistent ?
PL19 x64 win7 64
-
Martin Huber
- Entwickler

- Beiträge: 4298
- Registriert: Di 19 Nov 2002 15:49
Re: Eraser question
You still didn't say why you need that.jw2004 hat geschrieben:(...)
Martin
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
for example:Martin Huber hat geschrieben:You still didn't say why you need that.jw2004 hat geschrieben:(...)
Martin
I open a image, and erase some area, but when I use channel to selection to get some selection, the result is not I want
1. orginal image 2.do cutout 3.channel to selection Do you think the selection is what I want?
Obviously, the selection is useless for me.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
PL19 x64 win7 64
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
If there has some way to get the same result as photoshop, please give some demo.
In fact, the hidden color information interference many function, for example, the histogram still stat the transparent pixel, the result obviously is not good for me.
In fact, the hidden color information interference many function, for example, the histogram still stat the transparent pixel, the result obviously is not good for me.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
PL19 x64 win7 64
-
Eurgail
- Mitglied
- Beiträge: 379
- Registriert: So 06 Jul 2014 23:02
Re: Eraser question
But what did you want? Just the car? Why? If you use the selection for a woring layer it's better to have all colour informations left...just if you change the car mask. Where does the additional information distorb you?jw2004 hat geschrieben: Do you think the selection is what I want?
Obviously, the selection is useless for me.
Otherwise there are workarounds available to really get only the car, but for a fast erasing i found it very often more usefull, that the colour information remains.
That's not true; i tried it and the historgramm changes. (Except if you have the working layer panel opened, that does not refresh automatically. There you have to select another layer and backwards to get the new one. Perhaps there could be an automatic refresh?)jw2004 hat geschrieben: In fact, the hidden color information interference many function, for example, the histogram still stat the transparent pixel, the result obviously is not good for me.
P.S.: You would get your result also in the channels panel, when you send all channels to mask.
-
jw2004
- Mitglied
- Beiträge: 86
- Registriert: So 15 Mär 2015 05:59
Re: Eraser question
Photoshop did not keep the color information many years, can we say, photoshop is wrong?
If someone like keep color information, give him a way to implement,
If someone does not like keep color information, give hime a way to implement too.
If someone like keep color information, give him a way to implement,
If someone does not like keep color information, give hime a way to implement too.
PL19 x64 win7 64
-
Eurgail
- Mitglied
- Beiträge: 379
- Registriert: So 06 Jul 2014 23:02
Re: Eraser question
Has it changed?jw2004 hat geschrieben:Photoshop did not keep the color information many years
[quote="jw2004"can we say, photoshop is wrong?[/quote]
Why not?
Already existing!?jw2004 hat geschrieben:If someone like keep color information, give him a way to implement,
If someone does not like keep color information, give hime a way to implement too.
-
Martin Huber
- Entwickler

- Beiträge: 4298
- Registriert: Di 19 Nov 2002 15:49
Re: Eraser question
So "Channel To Selection" should take into account transparency. I will change that.jw2004 hat geschrieben:(...)
3.channel to selection
(...)
Do you think the selection is what I want?
Obviously, the selection is useless for me.
It's so as Eurgail said: the Histogram doesn't show transparent pixels.jw2004 hat geschrieben:In fact, the hidden color information interference many function, for example, the histogram still stat the transparent pixel, the result obviously is not good for me.
Martin
-
Martin Huber
- Entwickler

- Beiträge: 4298
- Registriert: Di 19 Nov 2002 15:49
Re: Eraser question
What do I have to do to reproduce that? Can you send as a small sample PLD?Eurgail hat geschrieben:That's not true; i tried it and the historgramm changes. (Except if you have the working layer panel opened, that does not refresh automatically. There you have to select another layer and backwards to get the new one. Perhaps there could be an automatic refresh?)
Martin