uber-research / jpeg2dct

Other
258 stars 45 forks source link

Wrong JPEG library version: library is 80, caller expects 62 #15

Open semchan opened 4 years ago

semchan commented 4 years ago

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))

xiaonengmiao commented 2 years ago

Similar. I got this: RuntimeError: Wrong JPEG library version: library is 90, caller expects 80