metadata

Hi everyone,

I want to edit the metadata of pdf- or png-files when creating one of these files. I do not want to use for example Pypdf because then Python must read the file first before it can be edited.
Does anyone know how to deal with that?