1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:02:07 +02:00
tldr/pages/common/ppmtospu.md
Juri Dispan f7b68d70a1
pbmtolj, pjtoppm, pnmtopclxl, ppmtolj, ppmtopj, ppmtospu, sldtoppm, spctoppm, sputoppm, thinkjettopbm: add pages (#11409)
* pbmtolj, pjtoppm, pnmtopclxl, ppmtolj, ppmtopj, ppmtospu, sldtoppm, spctoppm, sputoppm, thinkjettopbm: add pages

* Update pages/common/thinkjettopbm.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* Update pages/common/pnmtopclxl.md

* Update pages/common/ppmtopj.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-08 10:24:46 +01:00

393 B

ppmtospu

Convert a PPM file to an Atari Spectrum 512 image. More information: https://netpbm.sourceforge.net/doc/ppmtospu.html.

  • Convert a PPM file to an Atari Spectrum 512 image:

ppmtospu {{path/to/input.ppm}} > {{path/to/output.spu}}

  • Use a dithering matrix of the specified size (0 means no dithering):

ppmtospu -d{{0|2|4}} {{path/to/input.ppm}} > {{path/to/output.spu}}