So it looks like the error was to with some image post processing/ parsing that was occurring.
As a workaround I’m simply using an absolute path to the resources folder which has the disadvantage of NOT doing this processing but at least I can continue with my project for now!
Thanks to those who offered suggestions.