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
60
S
8
G
7
Posts: 1,952
Reputation: 8,426

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 Image
B
164
S
49
G
123
Posts: 7,779
Reputation: 84,012

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
60
S
8
G
7
Posts: 1,952
Reputation: 8,426


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests