YassineYousfi / alaska

Breaking the Alaska steganalysis challenge
Other
43 stars 11 forks source link

[Jpeglib] Code crash when call jpeglib.jpeg #6

Closed lampts closed 4 years ago

lampts commented 4 years ago

After cloning the repo, I've compiled jpeglib on MacOS. I can import tools.python3_jpeg_toolbox as jpeglib. However when testing to call jpeglib.jpeg("temp.jpg"), I got the crash. Did you face it as well?

YassineYousfi commented 4 years ago

Can you use: https://github.com/dwgoon/jpegio ? You will need to change line 39 in src/tools/jpeg_utils.py to

Q = S.quant_tables[S.comp_info[i].quant_tbl_no] 

I will update the repo using jpegio when I have time.

lampts commented 4 years ago

Thanks for the information.