Add stamp in different file formats