##// END OF EJS Templates
restore transpose of jpeg x,y...
Min RK -
Show More
@@ -951,7 +951,8 b' def _jpegxy(data):'
951 951 # read another block
952 952 idx += 2
953 953
954 return struct.unpack('>HH', data[iSOF+5:iSOF+9])
954 h, w = struct.unpack('>HH', data[iSOF+5:iSOF+9])
955 return w, h
955 956
956 957 def _gifxy(data):
957 958 """read the (width, height) from a GIF header"""
General Comments 0
You need to be logged in to leave comments. Login now