Does what you use have a select color option? if it does select the white background and invert it so it selects the line and cut and paste it to a new layer.
Does what you use have a select color option? if it does select the white background and invert it s