Adjust drawing in different file formats