Bun.Image
chakintosh
33 points
11 comments
May 23, 2026
Related Discussions
Found 5 related stories in 84.0ms across 8,303 title embeddings via pgvector HNSW
- Bun is being ported from Zig to Rust SergeAx · 352 pts · May 05, 2026 · 50% similar
- I am worried about Bun remote-dev · 457 pts · May 04, 2026 · 48% similar
- Bun's rewrite in Rust was merged maxloh · 30 pts · May 14, 2026 · 48% similar
- We sped up bun by 100x sdan · 53 pts · April 02, 2026 · 47% similar
- Remove .zig Files from Bun quasigloam · 37 pts · May 14, 2026 · 46% similar
Discussion Highlights (5 comments)
wxw
> The API is shaped after Sharp: construct from an input, chain transforms, pick an output format, then await a terminal method. ( https://sharp.pixelplumbing.com/ ) Good! I like the pipeline workflow.
onesingleblast
Glad to see that Bun is doing something that Java has been doing since 1998.
nfredericks
Nice to see lots of LLM-generated text
furyofantares
This looks like one of the better pieces of LLM-output documentation I've seen. It's bad technical writing, but better than most of what I've seen come out of an LLM. --------------- Pre-empting the "how can you tell", here's some of the tells. > The API is shaped after Sharp: Constantly using "shaped" and "shape" is becoming an LLM-ism, much more common than in human writing. > The constructor accepts a path, bytes, or a Blob — including Bun.file() and Bun.s3(). > The format is sniffed from the bytes — extensions and Content-Type are ignored. Repeatedly formatting statements as X: Y, X — Y, or [b]X[b] Y is also an LLM-ism. > Don’t pass user-controlled strings directly to the constructor — that’s an arbitrary-file-read primitive. > When passing a TypedArray/ArrayBuffer, don’t mutate it while a terminal is pending — decode runs off-thread and borrows the bytes. Doing so by leading with what-it's-not / what-not-to-do is even more of an LLM-ism.
simonw
I really like this. Having image manipulation as a core standard library feature rather than an optional package makes complete sense to me for a web development platform in 2026. It's not like image manipulation is a poorly understood problem or a fast-moving field.