update_existing_metadata
- lib.image.update_existing_metadata(filename: str, metadata: PNGHeader | bytes) None
Update the png header metadata for an existing .png extracted face file on the filesystem.
- Parameters:
filename (str) – The full path to the face to be updated
metadata (PNGHeader | bytes) – The dictionary to write to the header. Can be pre-encoded as utf-8.
- Return type:
None