# phpman > man > ppmtoeyuv(1)

> **TLDR:** Convert a PPM image to an Berkeley YUV file.
>
- Read a PPM image from the input file, convert it to a Berkeley YUV image, and store it in the specified output file:
  `ppmtoeyuv {{path/to/input_file.ppm}} > {{path/to/output_file.eyuv}}`

*Source: tldr-pages*

---

[ppmtoeyuv(1)](https://www.chedong.com/phpMan.php/man/ppmtoeyuv/1/markdown)                           General Commands Manual                          [ppmtoeyuv(1)](https://www.chedong.com/phpMan.php/man/ppmtoeyuv/1/markdown)



## NAME
       ppmtoeyuv - convert a portable pixmap into a Berkeley YUV file

## SYNOPSIS
       **ppmtoeyuv** [_ppmfile_]

## DESCRIPTION
       Reads  a  portable  pixmap as input.  Produces a Berkeley Encoder YUV (not the same as Abekas
       YUV) file on the Standard Output file.

       With no argument, takes input from Standard Input.  Otherwise, _ppmfile_ is the file specifica‐
       tion of the input file.

       **ppmtoeyuv**  handles  multi-image PPM input streams, outputting consecutive eyuv images.  There
       must be at least one image, though.


## SEE ALSO
       [**eyuvtoppm**(1)](https://www.chedong.com/phpMan.php/man/eyuvtoppm/1/markdown), [**ppmtoyuv**(1)](https://www.chedong.com/phpMan.php/man/ppmtoyuv/1/markdown), [**ppm**(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)



                                            April 3, 2000                               [ppmtoeyuv(1)](https://www.chedong.com/phpMan.php/man/ppmtoeyuv/1/markdown)
