make sure the resolution is the higher absolute value