How do I get color of a specific pixel (or area)

Get help using Construct 2

Post » Sat Dec 10, 2016 11:00 am

I want to get color of specific area of canvas (for example, from camera) How i achieve that? Thank you
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 112
Reputation: 2,899

Post » Wed Dec 28, 2016 4:57 pm

At the end I pasted the camera (media plugin) into the Canvas plugin and then I calc a median of RGB in a small area... it works but maybe it works better with HSL because of non-linearity of RGB https://en.wikipedia.org/wiki/SRGB
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 112
Reputation: 2,899


Return to How do I....?

Who is online

Users browsing this forum: dop2000, facecrime and 26 guests