Page 1 of 1

Color pick current layer only

Posted: 14 Mar 2024, 11:38
by TVPUSER
I was recently showed a photoshop plugin that allows us to set the sampling mode for the color picker.
LKCbHnDeKu.png
LKCbHnDeKu.png (11.31 KiB) Viewed 1589 times
It simply makes so much sense especially for those of us who like to use layer modes for lighting effects..
Setting the color picking mode to current layer samples the normal color info regardless of layer mode!

Tvpaint already has a similar feature when sampling for color filling
1R8o2zz5Yv.jpg
1R8o2zz5Yv.jpg (17.32 KiB) Viewed 1589 times
Perhaps it is a little bit of a niche ask but I think this is an easy productivity boost for many.

Video in action:

Re: Color picker sample layer options

Posted: 14 Mar 2024, 21:30
by Peter Wassink
I remember Mark Chong (Lemec) once built an elaborate colorpicker for TVPaint that looked just like that.
Perceptual Palette.

If i remember correct it no longer worked in the 64bits version...
anyway i don't have it anymore. Not sure if Marc is still around?

Re: Color picker sample layer options

Posted: 15 Mar 2024, 01:50
by TVPUSER
Peter Wassink wrote: 14 Mar 2024, 21:30 I remember Mark Chong (Lemec) once built an elaborate colorpicker for TVPaint that looked just like that.
Perceptual Palette.

If i remember correct it no longer worked in the 64bits version...
anyway i don't have it anymore. Not sure if Marc is still around?
There it is!
msedge_4DGjkdA56p.png
msedge_4DGjkdA56p.png (38.36 KiB) Viewed 1541 times
You're right it isn't compatible with 64-bit :cry:
Perhaps there is a way to achieve this in george script?
I do like the notion of it being a toggle, though I don't think you can do that with the scripting.

Re: Color pick current layer only

Posted: 22 May 2024, 16:49
by Jeremy Richard
TVPUSER wrote: 15 Mar 2024, 01:50 Perhaps there is a way to achieve this in george script?
I don't know if it's exactly what you are looking for, but with Svengali's script you can select the actual colour on the active layer even if you are using blending modes.

Code: Select all

tv_LockMouse 4
tv_WaitButton
parse result ButtonState X Y
tv_GetPixel X Y
parse result R G B A
tv_UnLockMouse
IF A > 0
    tv_SetAPen R G B A
ELSE
     tv_warn "no pixel color found"
END

Re: Color pick current layer only

Posted: 22 May 2024, 20:37
by TVPUSER
Jeremy Richard wrote: 22 May 2024, 16:49
TVPUSER wrote: 15 Mar 2024, 01:50 Perhaps there is a way to achieve this in george script?
I don't know if it's exactly what you are looking for, but with Svengali's script you can select the actual colour on the active layer even if you are using blending modes.

Code: Select all

tv_LockMouse 4
tv_WaitButton
parse result ButtonState X Y
tv_GetPixel X Y
parse result R G B A
tv_UnLockMouse
IF A > 0
    tv_SetAPen R G B A
ELSE
     tv_warn "no pixel color found"
END
Brilliant! This is the functionality i'm looking for! hope some official option comes along but setting a hotkey to the script will suffice!