Added gamma correction to image retriever.