Hello Rogier,
The VI that you are using is acquiring images from an IMAQ HW device, and then converting those images into a 2D array. You just need to exchange the IMAQ Acquire with an IMAQ read file from disk VI, and then feed that image to the "IMAQ ImageToArray".
Hope this helps,
Morten Jensen
National Instruments