Danbooru

Change log for Danbooru 1.18

Posted under General

Log said:
It works fine if the user uploads from pixiv using the source field but doesn't work if the user saves the image to their hdd and uploads it, replacing the source afterwords. I just tested it with post #730388.

I just tried uploading pixiv medium size (post #804155) but danbooru didn't automatically grab the large image. The link source was changed manually.

That's not the point. Danbooru should have automatically take the link "...####.png" instead of "...####_m.png", no?

Edit: On closer look, the medium mode have a larger file size (295 KB) than big mode (102 KB). Don't know why pixiv does this, but the code Albert wrote is to upload the largest file, maybe that's why.

It's probably a sampling issue, where the sample is sometimes generated to be less compressed than the original.

You can see that here too sometimes where a sample is made for something just over the size threshold, and the sample ends up with a slightly larger file size even though the dimensions are slightly less.

rantuyetmai said:
Edit: On closer look, the medium mode have a larger file size (295 KB) than big mode (102 KB). Don't know why pixiv does this, but the code Albert wrote is to upload the largest file, maybe that's why.

Yeah, pixiv's sampler is extremely stupid, especially with PNGs. I can't believe Danbooru would go by filesize, but if that's the case it's a huge mistake.

RaisingK said:

Small: 849px × 1,200px (4,440.66 KB)

Big: 900px × 1,273px (1,237.19 KB)

Oh pixiv, how your broken resizing cracks me up...

rantuyetmai said:
I just tried uploading pixiv medium size (post #804155) but danbooru didn't automatically grab the large image. The link source was changed manually.

Did you use the upload form or upload via the DanbooruUp extension?
DanbooruUp currently bypasses the URL rewriting, just as if you uploaded from your hard drive.
If you uploaded from the upload form, the URL should have been rewritten regardless of the image size.

1 6 7 8 9 10