Adjust density for screen size as well as image size.