I was hoping to use the get_pixel method to get the color of the pixel points of a TextureRect's texture image, but it seems to be going wrong. The texture is displayed correctly centered on the screen (windowed window), but the color that get_pixel gets doesn't match what's on the screen, and it seems that the image that the get_image method gets doesn't exactly overlap with the texture image that's displayed on the screen.
Can anyone give me an idea? Thank you.