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
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Mon Jul 12, 2010 8:50 pm

For my little program BB@RT 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 Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

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
52
S
7
G
6
Posts: 1,945
Reputation: 7,610


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests