Re:Firefox to support Google's WebP image format for a faste...
by colejohnson66 on Saturday October 06, 2018 @04:43AM
(#18154201)
2^14 pixels in both directions with 4 bytes per pixel (ARGB) puts the pixel data at a maximum size of 2^30 bytes. Just barely enough to be indexed using a 32-bit integer (even a signed one if you want)
[ Parent
| on HN ]
Re:Firefox to support Google's WebP image format for a faste...
by flohofwoe on Saturday October 06, 2018 @04:48AM
(#18154211)
Looks like WebP uses RIFF data chunks [1] (which look a lot like the old Amiga IFF file format), and the size of such a chunk is a 32-bit integer. Besides, 16k width/height ought to be enough for anyone ;)
[1] https://developers.google.com/speed/webp/docs/riff_container
Re:Firefox to support Google's WebP image format for a faste...
by dllu on Saturday October 06, 2018 @06:09AM
(#18154381)
I take photos of trains [1] and regularly run into file format limitations as the photos can easily reach hundreds of thousands of pixels wide.
Besides, modern cameras such as the Sony a7R II are already producing photos 8000 px wide, and the upcoming 100 megapixel cameras such as the Fujifilm will do 12000 px wide images. It's very easy to hit the limit if you're planning to shoot any panoramas.