.TL Ppmtoyuvsplit User Manual .SH 1 ppmtoyuvsplit .LP Updated: 06 March 2003 .br Table Of Contents .SH 2 NAME .LP ppmtoyuvsplit - convert a PPM image to 3 subsampled raw YUV files .SH 2 SYNOPSIS .LP \fBppmtoyuvsplit\fR \fIbasename\fR [\fIppmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBppmtoyuvsplit\fR reads a PPM image as input. Produces 3 raw files \fIbasename\fR.Y, \fIbasename\fR.U and \fIbasename.V\fR as output. .LP The output files are the subsampled raw YUV representation of the input PPM image, as required by the Stanford MPEG codec. The Y output file contains a byte for each pixel in the image, with the rows going from top to bottom and the columns within each row going left to right. The U and V output files are arranged similarly, except that each byte represents a square of 4 pixels of the image. The value is the arithmetic mean of the value for each of those 4 pixels. Hence, the Y file is 4 times the size of the U file or V file. .LP The YUV values are scaled according to CCIR.601, as assumed by MPEG. .SH 2 SEE ALSO .LP yuvsplittoppm, ppmtoyuv, ppmtoeyuv, ppmtompeg, ppm .SH 2 AUTHOR .LP .LP Copyright (C) 1993 by Andre Beck. (Andre_Beck@IRS.Inf.TU-Dresden.de) .LP Based on ppmtoyuv.c .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP