News for hackers. Stuff that matters.
Re:QOIR: A fast, simple, lossless image file format by gyan on Wednesday December 07, 2022 @01:26AM (#33891286)
It may have to do with limitations of allocating memory chunks on 32-bit machines when these formats were originally designed. The decoder allocates a contiguous buffer that can hold the whole image.
Re:QOIR: A fast, simple, lossless image file format by chungy on Wednesday December 07, 2022 @01:43AM (#33891399)
WebP is recent enough that it shouldn't have even been a real concern. 16383×16383 even in 2010 was an absurdly small size. I've had PNGs and JPEGs with larger dimensions for longer than WebP has even existed.
Re:QOIR: A fast, simple, lossless image file format by gfxgirl on Wednesday December 07, 2022 @01:55AM (#33891461)
My guess the limits are because, WebP is based on WebM (video)

I agree those limits are too small.

Re:QOIR: A fast, simple, lossless image file format by chungy on Wednesday December 07, 2022 @02:51AM (#33891776)
WebP's lossy codec is based on VP8 intraframes; the lossless codec is original. Either mode of which is contained in a RIFF file, which is where the dimension limits happen (RIFF's headers have enough space to represent 2^14-1).

WebM is, strictly speaking, a container format that is a subset of Matroska. It doesn't have any real relation to WebP.

Re:QOIR: A fast, simple, lossless image file format by sitkack on Wednesday December 07, 2022 @03:42AM (#33892089)
One solution would be to hold multiple images inside of another wrapper container like zip. The client code would have to handle stitching them together.
Re:QOIR: A fast, simple, lossless image file format by amelius on Wednesday December 07, 2022 @08:34AM (#33894137)
Not a good idea for lossy codecs. You might get seams.
Re:QOIR: A fast, simple, lossless image file format by zupa-hu on Wednesday December 07, 2022 @07:27AM (#33893554)
That would be a new image file format.