Join Nostr
2026-04-01 10:14:35 UTC
in reply to

jonny (good kind) on Nostr: and what if i told you that if it passes a page range to its pdf reader, it first ...

and what if i told you that if it passes a page range to its pdf reader, it first extracts those pages to separate images and then calls this function in a loop on each of the pages. so you have the privilege of compressing n_pages images n_pages * 13 times.

this function is used 13 times: in the file reader, in the mcp result handler, in the bash tool, and in the clipboard handler - each of which has their entire own surrounding image handling routines that are each hundreds of lines of *similar but still very different* fallback code to do exactly the same thing.

so that's where all the five hundred thousand lines come from - fallback conditions and then more fallback conditions to compensate for the variable output of all the other fallback conditions. thirteen butts pooping, back and forth, forever.