WEBPINFO(1)

πŸ“¦
version 1.6.0 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– WEBPINFO(1) β€” the girlies' guide to peeking inside ur WebP files πŸ’–

okay so bestie, welcome to the General Commands Manual section for webpinfo β€” she's a command-line girlie from the libwebp universe and she is literally about to spill all the tea about what's actually inside ur WebP files πŸ”βœ¨


✨ NAME ✨

webpinfo β€” print out the chunk level structure of WebP files along with basic integrity checks.

like… she shows u the bones of the file AND makes sure nothing's sus. main character energy fr πŸ’…


🌸 SYNOPSIS 🌸

webpinfo [-h|-help|-H|-longhelp]

so basically u feed her ur options, then ur files. or u just ask her for help, that works too 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

This manual page documents the webpinfo command. (yes bestie, u are reading a manual page about a manual page situation, it's giving meta 😭)

webpinfo can be used to print out the chunk level structure and bitstream header information of WebP files. She can also check if the files are of valid WebP format β€” so she's both the gossip and the vibe check πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -version β€” Print the version number (as major.minor.revision) and exit. she tells u what era she's in and then dips πŸ’¨
  • -quiet β€” Do not show chunk parsing information. she's keeping it lowkey 🀫
  • -diag β€” Show parsing error diagnosis. when something's wrong she will tell u exactly what's wrong, no cap 🩺
  • -summary β€” Show chunk stats summary. the lil recap slide at the end of the presentation πŸ“Š
  • -bitstream_info β€” Parse bitstream header. going deeper than the chunk level, we're in the actual bitstream now πŸ”¬
  • -h, -help β€” A short usage summary. the quick lil "here's how u use me" 🫢
  • -H, -longhelp β€” Detailed usage instructions. the full lore drop, every detail, no crumbs left behind πŸ“š

πŸ“ INPUT πŸ“

Input files in WebP format. Input files must come last, following options (if any). There can be multiple input files.

⚠️ bestie listen β€” the files go at the END. options first, files last. if u flip them around she's not gonna know what u mean and it's gonna be awkward for everyone πŸ’€

and yes, multiple files are allowed. the more the merrier, she can handle it πŸ’œ


πŸ”₯ EXIT STATUS πŸ”₯

If there were no problems during execution, webpinfo exits with the value of the C constant EXIT_SUCCESS. This is usually zero. ✨ (slay, everything worked)

If an error occurs, webpinfo exits with the value of the C constant EXIT_FAILURE. This is usually one. 😭 (not slay, something went wrong)


🌈 EXAMPLES 🌈

webpinfo -diag -summary input_file.webp
webpinfo -bitstream_info input_file_1.webp input_file_2.webp
webpinfo *.webp

look at that last one β€” the glob is eating, she's checking EVERY .webp in the directory. iconic behavior πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

webpinfo is a part of libwebp and was written by the WebP team. The latest source tree is available at https://chromium.googlesource.com/webm/libwebp

This manual page was written by Hui Su <huisu@google.com>, for the Debian project (and may be used by others).

shoutout to Hui Su for the lore, we appreciate u 🫢


🧚 REPORTING BUGS 🧚

Please report all bugs to the issue tracker: https://issues.webmproject.org

Patches welcome! See this page to get started: https://www.webmproject.org/code/contribute/submitting-patches/

not me begging u to file the bug instead of just suffering in silence 😭 if u found something broken, TELL THEM. patches are also welcome, they literally said so πŸ’…

⭐ SEE ALSO ⭐

Please refer to https://developers.google.com/speed/webp/ for additional information.


and that's the whole page bestie!! go forth and inspect ur WebP chunks, u absolute legend πŸ¦‹βœ¨

cute lil sign-off: this page is from the General Commands Manual, section 1, and the version/date on it is July 18, 2024 β€” so it's still fresh, no dust on her πŸ’–