No focal point

main
Bob Mottram 2021-10-11 14:28:40 +01:00
parent 89a7189d88
commit fe2d08b50c
1 changed files with 0 additions and 1 deletions

View File

@ -308,7 +308,6 @@ def attachMedia(baseDir: str, httpPrefix: str,
'url': httpPrefix + '://' + domain + '/' + mediaPath 'url': httpPrefix + '://' + domain + '/' + mediaPath
} }
if mediaType.startswith('image/'): if mediaType.startswith('image/'):
attachmentJson['focalPoint'] = [0.0, 0.0]
# find the dimensions of the image and add them as metadata # find the dimensions of the image and add them as metadata
attachImageWidth, attachImageHeight = \ attachImageWidth, attachImageHeight = \
getImageDimensions(imageFilename) getImageDimensions(imageFilename)