Cut drawing in different file formats