Reference
XGetPixel(3) on Linux
The text cd75e689bbd6, as Debian 10 (Buster) shipped it.
image utilities
XGetPixel(3) on Linux now