Generate thumbnails with appripriate gamma value