you need to use the SDL_GetPixel utility function in SDLUtils.pas. then use the SDL_GetRGBA function with the result of the SDL_GeTPixel function to map that to R,G,B,A values.