lunasorcery
@lunasorcery
This post has content warnings for: for the love of god do not open this, absurdly long image post do not open, i'm serious, DEAD DOVE DO NOT EAT.

magenta-luna
@magenta-luna

Yeah uh...

TIL floating point errors affect browsers, I guess?

Firefox far lands...


ionchy
@ionchy
This post has content warnings for: here's the 1 px × 65535 px GIF. you were warned.

You must log in to comment.

in reply to @lunasorcery's post:

PNG can technically go up to 2 billion. I think that 32k is where current image handling libraries give up. They figure that "nobody has enough memory for more than this", or "if you want more, you're solving the wrong problem. Go back and make a tiling system.".

oh! initially i was thinking 16384 pixels isn't that much to scroll on an ultrahd monitor, but apparently the 1px width causes additional fun! the image gets scaled to the full width of the post, and the length expands according to the aspect ratio. excellent multiplication, well done

i had the clever thought "i will press End and then scroll up to see if there's something funny at the bottom", and then was completely jumpscared by the image suddenly snapping to fill the whole screen and somehow preventing me from scrolling back down.

This behavior was replicable many times in a row on macos Chrome. It's super spooky. One second only a few pixels of the bottom the post border on screen, the next second you are Permanently In The Void.

Works fine in Firefox, where I was finally able to claim the reward at the bottom of the post ^__^

in reply to @magenta-luna's post: