Modify portrait in various file formats