Generate width, height parameters in the header.
Generate width, height parameters in the header.

Also some re-factoring.

codeorelse/generator-core,adobe-photoshop/generator-core,alesitalugo/generator-core,camikazegreen/photoshop-scrambler,camikazegreen/photoshop-scrambler,MikkoH/generator-core,camikazegreen/photoshop-scrambler