convert sketch to vector