Cut off drawing in various file formats