1Ppmtoyuvsplit User Manual(0) Ppmtoyuvsplit User Manual(0)
2
3
4
6 ppmtoyuvsplit - convert a PPM image to 3 subsampled raw YUV files
7
8
10 ppmtoyuvsplit basename [ppmfile]
11
12
14 This program is part of Netpbm(1).
15
16 ppmtoyuvsplit reads a PPM image as input. Produces 3 raw files base‐
17 name.Y, basename.U and basename.V as output.
18
19 The output files are the subsampled raw YUV representation of the input
20 PPM image, as required by the Stanford MPEG codec. The Y output file
21 contains a byte for each pixel in the image, with the rows going from
22 top to bottom and the columns within each row going left to right. The
23 U and V output files are arranged similarly, except that each byte rep‐
24 resents a square of 4 pixels of the image. The value is the arithmetic
25 mean of the value for each of those 4 pixels. Hence, the Y file is 4
26 times the size of the U file or V file.
27
28 The YUV values are scaled according to CCIR.601, as assumed by MPEG.
29
30
32 There are no command line options defined specifically for ppmtoyuvs‐
33 plit, but it recognizes the options common to all programs based on
34 libnetpbm (See
35 Common Options ⟨index.html#commonoptions⟩ .)
36
37
39 yuvsplittoppm(1), ppmtoyuv(1), ppmtoeyuv(1), ppmtompeg(1), ppm(1)
40
41
43 Copyright (C) 1993 by Andre Beck. (Andre_Beck@IRS.Inf.TU-Dresden.de)
44
45 Based on ppmtoyuv.c
46
48 This manual page was generated by the Netpbm tool 'makeman' from HTML
49 source. The master documentation is at
50
51 http://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html
52
53netpbm documentation 06 March 2003 Ppmtoyuvsplit User Manual(0)