Image handling introduced preprocess scripts, but the only current script is hardcoded into the image. This issue aims at doing the same work we currently do with postprocess scripts, mainly loading them from the payload, and validating them when building the encoderfile. The current hardcoded preprocess script will then be stored at encoderfile creation time, instead of being loaded from a const string during runtime.
Image handling introduced preprocess scripts, but the only current script is hardcoded into the image. This issue aims at doing the same work we currently do with postprocess scripts, mainly loading them from the payload, and validating them when building the encoderfile. The current hardcoded preprocess script will then be stored at encoderfile creation time, instead of being loaded from a const string during runtime.