Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My guess the limits are because, WebP is based on WebM (video)

I agree those limits are too small.



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.


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.


Not a good idea for lossy codecs. You might get seams.


That would be a new image file format.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: