Precompiling image