get RGB from image/sprite/canvas?

For questions about using Classic.

Post » Mon Jul 12, 2010 8:40 pm

i need to program a colour picker and im not sure how i would do this, any help??
B
75
S
13
G
8
Posts: 1,973
Reputation: 9,841

Post » Mon Jul 12, 2010 8:50 pm

For my little program [email protected] I used the image manipulator.

You can use it to get the RGB value of any pixel, you will have to paste in a sprite or a canvas first though.

:)
B
46
S
23
G
7
Posts: 459
Reputation: 6,763

Post » Mon Jul 12, 2010 10:52 pm

Yeah, Image manipulator is the way to go. You can get alpha as well.
Image ImageImage
B
168
S
50
G
163
Posts: 8,220
Reputation: 105,059

Post » Tue Jul 13, 2010 12:01 am

i looked through all the actions of the image manipulator before posting, should of thought about going through the expressions, *derf*
B
75
S
13
G
8
Posts: 1,973
Reputation: 9,841


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests