Similar Image Search Borked?

Posted under General

Hey everyone.

I've been running around Pixiv, finding a few nice pics and using the Danbooru Image search to confirm if a duplicate already exists in the site. Problem is, the last two searches I did via the Image search returned "No such image in Danbooru", but when I try uploading, I finally get told that a duplicate exists and it tells me where the real deal was.

The two I tried on image search


The subsequent uploads


It's mainly because iqdb uses a white background for transparency like Pixiv does, whereas Danbooru uses a black background. Since Danbooru also hardcodes the background into the thumbnail (because it's saved as .jpg), there's no way to compare the transparency properly.

The solution would be for Danbooru to either switch to a white background (which I think looks better anyway for the vast majority of pics), or save transparent PNG thumbnails in that case.