Page 1 of 1

How to get RGB values from a texturemap?Python

Unread postPosted: Wed Oct 23, 2019 3:06 pm
by Fufu0101
I want to know how to get the rgb values from a texturemap
From the TextureView,i can see :


[b]
UV:[0.153;0.253]
Geomtry....
RGBA:[0.152;0.215;0.265;1.000]HSB:[.....


but how can i get these values in SCRIPTEDITOR by python?


thanks very much!!

Re: How to get RGB values from a texturemap?Python

Unread postPosted: Fri Oct 25, 2019 8:58 am
by ayanik
Not sure if you can with the Clarisse Python API, but you can with an external library such as the Python Imaging Library (PIL).

Re: How to get RGB values from a texturemap?Python

Unread postPosted: Fri Oct 25, 2019 9:31 am
by Fufu0101
thx !I already work out this issue but still thx so billet man I still have some questions can’t figure out could I have ur Facebook or some other social platform that can teach me about details thx again :)
my facebook:胡明众