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
77
S
13
G
8
Posts: 1,974
Reputation: 9,893

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
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

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
77
S
13
G
8
Posts: 1,974
Reputation: 9,893


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 11 guests