runcode.c: execute runcoding for image, funcs includes: read binary image data, runencoding, rundecoding