image size should be in density pixels