save line segment data instead of images