EnglishFrenchSpanish

Ad


OnWorks favicon

ppmdist - Online in the Cloud

Run ppmdist in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ppmdist that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ppmdist - simplistic grayscale assignment for machine generated, color images

SYNOPSIS


ppmdist [-intensity|-frequency] [ppmfile]

DESCRIPTION


Reads a portable pixmap as input, performs a simplistic grayscale assignment intended for
use with grayscale or bitmap printers.

Often conversion from ppm to pgm will yield an image with contrast too low for good
printer output. The program maximizes contrast between the gray levels output.

A ppm input of n colors is read, and a pgm of n gray levels is written. The gray levels
take on the values 0..n-1, while maxval takes on n-1.

The mapping from color to stepped grayscale can be performed in order of input pixel
intensity, or input pixel frequency (number of repetitions).

OPTIONS


-frequency Sort input colors by the number of times a color appears in the input,
before mapping to evenly distributed graylevels of output. -intensity Sort
input colors by their grayscale intensity, before mapping to evenly
distributed graylevels of output. This is the default.

Use ppmdist online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad