The pixels are identical but the hashes are different when you compare the files from gallery-dl and the website's download button. The website's download button deliver files with the original hash. Is gallery-dl losslessly transcoding the files?
"format": "0",