EnglishFrenchSpanish

OnWorks favicon

pgmtoimgv - Online in the Cloud

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

This is the command pgmtoimgv 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


pgmtoimgv - Portable Graymap to Pilot Image Viewer converter, version 2.0.

SYNOPSIS


pgmtoimgv [-h] [-v] [-4] [-t title] [-n notefile] [-{c|m|u}] [in [out]]

DESCRIPTION


pgmtoimgv is a simple filter for converting Portable Graymaps to grayscale Pilot Image
Viewer pdb files. The input pgm file must use the following palette unless you specify
the -4 switch:
P3
4 1
255
0 0 0
85 85 85
170 170 170
255 255 255
if you specify -4, then your grayscale image must use this palette:
P3
16 1
255
0 0 0
17 17 17
34 34 34
51 51 51
68 68 68
85 85 85
102 102 102
119 119 119
136 136 136
153 153 153
170 170 170
187 187 187
204 204 204
221 221 221
238 238 238
255 255 255
If your PGM file doesn't use one of these palettes, use ppmquant(1) to convert your
palette.

If an image's width is not a multiple of 16 pixels, enough extra white pixels will be
added at the right side to ensure alignment. Images will be padded, with white pixels, to
a width and height of 160 if needed.

OPTIONS


-h Display a short summary of the command line options and exit.

-v Display the version and exit.

-4 Use 4 bit grayscale (16 shades of gray).

-t title
Specify the title of the image (up to 31 characters).

-n notefile
Specify the note file. No note is attached to the image by default.

-c Produce a compressed image.

-m Produce a compressed image if it is smaller than the uncompressed version. This is
the default compression mode.

-u Produce an uncompressed image.

in The input file. The default is the standard input.

out The output file. The default is the standard output.

Use pgmtoimgv online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad