Adjust stamp in different file formats