hi, when I run below code, there pop out the error of "Wrong JPEG library version: library is 80, caller expects 62", do you know why? and how to fix it? thanks
read from a file
jpeg_file = './data/DCT_16_16.jpg'
dct_y, dct_cb, dct_cr = load(jpeg_file)
print ("Y component DCT shape {} and type {}".format(dct_y.shape, dct_y.dtype))
print ("Cb component DCT shape {} and type {}".format(dct_cb.shape, dct_cb.dtype))
print ("Cr component DCT shape {} and type {}".format(dct_cr.shape, dct_cr.dtype))
hi, when I run below code, there pop out the error of "Wrong JPEG library version: library is 80, caller expects 62", do you know why? and how to fix it? thanks
read from a file
jpeg_file = './data/DCT_16_16.jpg' dct_y, dct_cb, dct_cr = load(jpeg_file) print ("Y component DCT shape {} and type {}".format(dct_y.shape, dct_y.dtype)) print ("Cb component DCT shape {} and type {}".format(dct_cb.shape, dct_cb.dtype)) print ("Cr component DCT shape {} and type {}".format(dct_cr.shape, dct_cr.dtype))