SnarlyZoo
(SnarlyZoo)
May 15, 2020, 2:03am
#1
Hi! I was wondering how I could get the pixels from an image.
For example, I have an image that is 100 x 100, I want to have a function that can return a pixel from an x and y Vector 2.
Also, I need to get the color of that pixel (I generating maps from pixels)!
1 Like
sloss2003
(sloss2003)
May 15, 2020, 2:04am
#2
You can’t do that, though, but you could open a feature request for that
over30chars
sloss2003:
You can’t do that
Wrong its possible, just albeit hacky, you can check the opensource to see how it grabs the colors.
sloss2003
(sloss2003)
May 15, 2020, 2:10am
#4
okay, not supported natively, kinda hacky ngl. Also, not what they’re looking for. This is a pixel based render-er, they are trying to get the pixels at a certain position of an ImageLabel.
2 Likes