PPMTOYUVSPLIT(1)
๐ ppmtoyuvsplit โ the user manual, but make it cute โจ
okay bestie, gather round, because today we're talking about ppmtoyuvsplit from the Netpbm family, and it's lowkey iconic. it's a General Commands Manual page, and yes, it's giving "niche but powerful." ๐
โจ NAME โจ
ppmtoyuvsplit โ convert a PPM image to 3 subsampled raw YUV files ๐ฆ
๐ธ SYNOPSIS ๐ธ
ppmtoyuvsplit basename [ppmfile]
likeโฆ that's it. that's the whole summoning ritual. basename is required, ppmfile is optional, and she'll tell you why in a sec. ๐
๐ DESCRIPTION ๐
so first things first: this program is part of Netpbm(1). family reunion, everyone's here. ๐
Here's the tea: ppmtoyuvsplit reads a PPM image as input. then it produces 3 raw files as output, and their names are:
basename.Ybasename.Ubasename.V
(so if you ran it with basename cutie, you'd get cutie.Y, cutie.U, and cutie.V. not me naming my files like that. ๐)
These output files are the subsampled raw YUV representation of the input PPM image โ exactly as required by the Stanford MPEG codec. it's giving "very specific audience, but they're obsessed." ๐
Now the details, because the details are everything:
- The Y output file contains a byte for each pixel in the image. the rows go from top to bottom, and the columns within each row go left to right. very orderly, very booktok organized. ๐
- The U and V output files are arranged similarlyโฆ except each byte represents a square of 4 pixels of the image. and that byte's value is the arithmetic mean of the value of each of those 4 pixels. math girlies rise up. ๐งฎโจ
- Hence (yes, hence, we're being fancy): the Y file is 4 times the size of the U file or the V file. four whole times. ๐ญ
And the YUV values are scaled according to CCIR.601, as assumed by MPEG. no cap. that's the standard and she's sticking to it. ๐
๐ OPTIONS ๐
plot twist: there are no command line options defined specifically for ppmtoyuvsplit. nope. none. she's a simple girl. ๐
BUT โ she does recognize the options common to all programs based on libnetpbm. so if you wanna know those, go check out Common Options. iykyk. ๐
๐ SEE ALSO ๐
the whole friendship group, obviously:
go say hi, they don't bite. ๐ซถ
๐ AUTHOR ๐
Copyright (C) 1993 by Andre Beck. (Andre_Beck@IRS.Inf.TU-Dresden.de) โ legend behavior, honestly. ๐
Based on ppmtoyuv.c. ๐
๐ DOCUMENT SOURCE ๐
This manual page was generated by the Netpbm tool makeman from HTML source. the master documentation lives at:
http://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html
โ ๏ธ friendly reminder bestie: this whole page is netpbm documentation, dated 06 March 2003, and it's the user manual forPpmtoyuvsp...(akappmtoyuvsplit) in section 1. that's the vibe. that's the source. periodt. ๐
now go forth and split those YUVs, you main character. ๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 ยท MIT
- debian trixie: netpbm 2:11.10.02-1 ยท MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 ยท MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 ยท MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms