Added SetResolution example