Cut off stamp in various file formats