---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pamtosrf

> Convert Netpbm images to SRF format.
> See also: `srftopam`.
> More information: <https://netpbm.sourceforge.net/doc/pamtosrf.html>.

- Convert a Netpbm image or a stream of Netpbm images to SRF format:

`pamtosrf {{path/to/file.pam}} > {{path/to/output.srf}}`
