HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandspectrumatariconvertclifileppmtospuppm

Problem

How to use the ppmtospu command: Convert a PPM file to an Atari Spectrum 512 image. More information: <https://netpbm.sourceforge.net/doc/ppmtospu.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/ppmtospu

Revisions (0)

No revisions yet.