Image generation library for spatial data