Closed dsizzle closed 1 year ago
Nice change. I see two noteworthy things.
Drawing on the transparent pixels of Walter appears dark, on Ducky it's bright. The lower your transparency slider setting, the starker the dark/bright. Is that expected?
Using the tool on transparent parts of an image turns them black.
the tool ONLY changes the alpha value and so it’ll always be some color. On Walter it must be that the transparent parts are RGBA = 0, 0, 0, 0 and on ducky they are 255, 255, 255, 0. Not sure anything can be done about it because the tool needs to be able to work on fully transparent colors just like any other color.
Low pressure never reaches 100% transparency
This is a bug. I think I introduced this by trying to slow down the pressure.
ok, the low-pressure-never-reaching-full-transparency-or-opacity has been fixed.
the tool ONLY changes the alpha value and so it’ll always be some color. On Walter it must be that the transparent parts are RGBA = 0, 0, 0, 0 and on ducky they are 255, 255, 255, 0. Not sure anything can be done about it because the tool needs to be able to work on fully transparent colors just like any other color.
I see, I haven't thought about it that way... That's problem of only having 0-255 available per channel, or a -1 could signal "no pixel". :)
Anyway, working now. Merge. Thanks!
The problem with the idea of a “non pixel” is that then for any operation you also need to decide whether to affect them or not. Also, how/when do you make a non pixel into a pixel and vice versa? It would complicate the code unnecessarily - the proper workflow is to use a selection to avoid affecting pixels you don’t want to affect.
Deep philosophical questions... To be a pixel, or non-pixel, that is the question. Where's my skull again...? :)
addresses transparency part of #176