Allow adjusting number of pixels