Low level utility to perform build-time image transformations.