GetPixelFromBMP
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Description
Returns RGB values of a specified pixel in a 24-bit .bmp image. The function accepts 6 arguments - an image file path relative to Fallout: New Vegas folder, 3 variables that will contain the result, and pixel coordinates - width and height.
Syntax
GetPixelFromBMP filepath:string ROut:int GOut:int BOut:int width:int height:int
Example
int rOut int gOut int bOut ... GetPixelFromBMP "Data/BMPs/Example.bmp" rOut gOut bOut 200 300