Converting an Image File to an Intensity Graph in LabVIEW
Below is the simple block diagram.

The image path is connected to a JPEG reader, since the file used is a JPEG.
Next the image is flattened into a single string format, and then converted into a 8 bit (1 byte) Pixmap (a cluster of image data), which is then unflattened back into an array.
The array can then be displayed as an intensity graph. Darker colors in the original JPEG have a higher amplitude in intensity graph below.

