A brief description on converting image to vector