Update image.cc

Handle the file path for the split images