add point raster context
add gamma correction
remove unnecessary imports