python:实现打印jpeg图像文件的分辨率
def jpeg_res(filename):
with open(filename,'rb') as img_file:
# height of image (in 2 bytes) is at 164th position
img_file.seek(<
def jpeg_res(filename):
with open(filename,'rb') as img_file:
# height of image (in 2 bytes) is at 164th position
img_file.seek(<