[File] [PATCH 0/3] Add support for VP8X and VP8L chunks in WebP

Christos Zoulas christos at zoulas.com
Sat Apr 13 16:37:07 UTC 2024


Added, thanks! Let's keep it for now and we can figure out how to parse
the packed ones later.

christos

> On Apr 5, 2024, at 8:39 AM, Emmanuel Gil Peyrot <linkmauve at linkmauve.fr> wrote:
> 
> Currently only the "VP8 " chunk was parsed, also named the Simple File
> Format (Lossy) in the specification[0].  This series adds the other two
> possible chunks in WebP files, and tries to extract a bit of information
> from them.
> 
> These chunks encode the width and height as a little endian number minus
> one, the VP8X chunk uses 24-bit integers whereas the VP8L chunk uses
> 14-bit integers, which I haven’t been able to parse using the magic
> format.
> 
> If you prefer, I can remove support for width and height and leave the
> rest of the information available, after which this series will be ready
> to merge.
> 
> [0] https://developers.google.com/speed/webp/docs/riff_container
> 
> Emmanuel Gil Peyrot (3):
>  Display more info in case of extended WebP files
>  Parse whether a WebP file is lossless
>  Fix VP8 scaling factor matching
> 
> magic/Magdir/riff | 29 +++++++++++++++++++++--------
> 1 file changed, 21 insertions(+), 8 deletions(-)
> 
> -- 
> 2.44.0
> 
> -- 
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file



More information about the File mailing list