mirror of https://gitlab.com/bashrc2/epicyon
Restore metadata handling
parent
6762612f2c
commit
1a4a41057b
6
media.py
6
media.py
|
@ -113,13 +113,11 @@ 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:
|
||||||
|
|
Loading…
Reference in New Issue