Merge pull request #1 from radarhere/patch-1

Changed default offset for Exif
This commit is contained in:
Rodrigo Benenson 2020-05-01 15:27:02 +02:00 committed by GitHub
commit 9b6e724ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3281,7 +3281,7 @@ class Exif(MutableMapping):
self._data.update(ifd) self._data.update(ifd)
self._ifds[0x8769] = ifd self._ifds[0x8769] = ifd
def tobytes(self, offset=0): def tobytes(self, offset=8):
from . import TiffImagePlugin from . import TiffImagePlugin
if self.endian == "<": if self.endian == "<":