post #4007705 1.04 MB Pixiv & post #4001074 224 KB Twitter - Although the post was published in July 2020, but the twitter version has a higher compression, it makes sense to publish the post.
If you see images that are similar in size and of the same resolution, download them and compare the quality. Compare checksums of files (description is in md5_mismatch).
If, after the performed checks, make sure that the image is worthy of loading and is not a duplicate (including with a similar compression level without loss of quality), then you can upload the image.
Please note that even with seemingly better quality images sometimes do not pass the test, so the final decision on the uploads remains with the user, who in this case risks losing the uploads rating. I have had a couple of such uploads where the quality in my opinion was better, but not a guaranteed source and the opinion of approvers led to a negative result of uploads "duplicates".