mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
fixed the rebase
This commit is contained in:
parent
c113e8f7cd
commit
0c942911d9
|
@ -474,7 +474,7 @@ class ImageFileDirectory(collections.MutableMapping):
|
|||
|
||||
for i in range(self._unpack("H", fp.read(2))[0]):
|
||||
tag, typ, count, data = self._unpack("HHL4s", fp.read(12))
|
||||
if Image.DEBUG:
|
||||
if DEBUG:
|
||||
tagname = TAGS.get(tag, TagInfo()).name
|
||||
typname = TYPES.get(typ, "unknown")
|
||||
print("tag: %s (%d) - type: %s (%d)" %
|
||||
|
@ -490,7 +490,7 @@ class ImageFileDirectory(collections.MutableMapping):
|
|||
if size > 4:
|
||||
here = fp.tell()
|
||||
offset, = self._unpack("L", data)
|
||||
if Image.DEBUG:
|
||||
if DEBUG:
|
||||
print("Tag Location: %s - Data Location: %s" %
|
||||
(here, offset), end=" ")
|
||||
fp.seek(offset)
|
||||
|
|
|
@ -3,11 +3,8 @@ from helper import unittest, PillowTestCase, hopper, py3
|
|||
|
||||
from ctypes import c_float
|
||||
import io
|
||||
<<<<<<< HEAD
|
||||
import logging
|
||||
=======
|
||||
import itertools
|
||||
>>>>>>> Restore legacy TIFF API.
|
||||
import os
|
||||
|
||||
from PIL import Image, TiffImagePlugin
|
||||
|
|
Loading…
Reference in New Issue
Block a user