exchange height and width definition; implement data layer image generation