Test with no metadata alteration

main
Bob Mottram 2021-06-12 17:50:22 +01:00
parent da38e80672
commit 6762612f2c
1 changed files with 4 additions and 2 deletions

View File

@ -113,11 +113,13 @@ def processMetaData(baseDir: str, nickname: str, domain: str,
"""Handles image metadata. This tries to spoof the metadata """Handles image metadata. This tries to spoof the metadata
if possible, but otherwise just removes it if possible, but otherwise just removes it
""" """
copyfile(imageFilename, outputFilename)
# first remove the metadata # first remove the metadata
_removeMetaData(imageFilename, outputFilename) # _removeMetaData(imageFilename, outputFilename)
# now add some spoofed data to misdirect surveillance capitalists # now add some spoofed data to misdirect surveillance capitalists
_spoofMetaData(baseDir, nickname, domain, outputFilename, city) # _spoofMetaData(baseDir, nickname, domain, outputFilename, city)
def _isMedia(imageFilename: str) -> bool: def _isMedia(imageFilename: str) -> bool: