A basic .psd to code conversion.