precompile
resizes images, adds pattern background