Page 1 of 1

color picker

Posted: 04 Apr 2013, 10:21
by Joost
In photoshop the color picker has two options:
-current layer
-sample all layers

In Tvpaint (as far as I know) the color picker only uses the sample all layers function. You can only pick the color you see on your monitor. But wouldn't it be handy to be able to pick the color of a layer, even when the transparency is set to 40 percent and it has a blending option, like the "current layer" function in Photoshop?

To get the right color now I have to:
-remember the transparency
-set the transparency back to 100 percent
-switch the blending option back to normal
-pick a color
-switch transparency back (and hopefullyI remembered it well)
-switch blending option back

I know I can also pick the right color in the little window in front of the layer, but most of the times it's too small...

Re: color picker

Posted: 04 Apr 2013, 10:33
by Joost
I think I don't mean the color picker. But I don't know the right name of the tool.
I mean this one (in the keyboard shortcuts panel it is) :
color: pick

or keybord shortcut ;

Re: color picker

Posted: 04 Apr 2013, 11:27
by Paul Fierlinger
But there is something nice in the way it works now too, which is what Sandra at times does when mixing colors: she tweaks the transparency levels of several layers and then picks the resulting color she is most satisfied with to use as a new color for her palette. The advantage of working with such layers is that you can hold on to them and re-tweak them at will at a later time. Another advantage is that you can always see at a glance which layers have the strongest or weakest presence and you can experiment with just one of them without throwing the whole mixture apart.
EDIT: Instead of remembering the transparency, you can type it in the layer's name. We do that with all our transparencies.

Re: color picker

Posted: 04 Apr 2013, 11:33
by Fabrice
In Tvpaint (as far as I know) the color picker only uses the sample all layers function. You can only pick the color you see on your monitor. But wouldn't it be handy to be able to pick the color of a layer, even when the transparency is set to 40 percent and it has a blending option, like the "current layer" function in Photoshop?
Interesting :)

Re: color picker

Posted: 04 Apr 2013, 11:45
by Joost
But there is something nice in the way it works now too,
Yes of course! and it should stay the same way as it is now. What I mean is to ad an extra color pick option that is a copy of the "current layer" color pick option Photoshop has
EDIT: Instead of remembering the transparency, you can type it in the layer's name. We do that with all our transparencies.
That's an option, but still a lot more work if you compare it with the photoshop method...

Re: color picker

Posted: 04 Apr 2013, 12:06
by Paul Fierlinger
EDIT: Instead of remembering the transparency, you can type it in the layer's name. We do that with all our transparencies.
That's an option, but still a lot more work if you compare it with the photoshop method...
I understand. Nevertheless a useful workaround until there's an improvement. :)

Re: color picker

Posted: 04 Apr 2013, 13:06
by Elodie
Fabrice wrote:
In Tvpaint (as far as I know) the color picker only uses the sample all layers function. You can only pick the color you see on your monitor. But wouldn't it be handy to be able to pick the color of a layer, even when the transparency is set to 40 percent and it has a blending option, like the "current layer" function in Photoshop?
Interesting :)
+1

Re: color picker

Posted: 05 Apr 2013, 08:37
by Eric Scholl
Yes we already thought about this, we keep it in mind ;).

Re: color picker

Posted: 05 Apr 2013, 19:31
by Svengali
See if this button does what you want: Picks the actual color from the current layer (ignoring variations in layer opacity or blending mode) and sets the APen to that color.

Trick one... the script uses the tv_PicColor command to make the user see an arrow to pick the color with, but the command's results are ignored. Instead, the X and Y coordinates of the cursor are captured and then the tv_GetPixelLayer command actually detects the color of the pixel ONLY on the CURRENT layer.

Trick two... also note that if you click somewhere on the layer where there is no color (RGBA = 0, a completely transparent pixel) then you want to keep the APen color set to what it was before.

Mostly, the script just automates the steps Joost already does(lets George do it).

Sven

Re: color picker

Posted: 06 Apr 2013, 10:52
by Joost
See if this button does what you want: Picks the actual color from the current layer (ignoring variations in layer opacity or blending mode) and sets the APen to that color.
Very smart tool. It's a little bit different compared to the photoshop version, but the results are the same. Thanks!