Returns the RGB color value of a specific pixel in an image.
Extracts the pixel color from an image object at the specified (x, y) position.
planetcnc.image_get_pixel(image, x, y)
#! /usr/bin/env python import planetcnc # Assuming 'img' is a valid image capsule object r, g, b = planetcnc.image_get_pixel(img, 10, 20) print(f"Pixel color at (10,20): R={r}, G={g}, B={b}")