EnglishFrenchSpanish

OnWorks favicon

rawtoppm - Online in the Cloud

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

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


rawtoppm - convert raw RGB bytes into a portable pixmap

SYNOPSIS


rawtoppm [-headerskip N] [-rowskip N] [-rgb|-rbg|-grb |-gbr|-brg|-bgr ]
[-interpixel|-interrow] width height [imagedata]

DESCRIPTION


Reads raw RGB bytes as input. Produces a portable pixmap as output. The input file is
just RGB bytes. You have to specify the width and height on the command line, since the
program obviously can't get them from the file. The maxval is assumed to be 255. If the
resulting image is upside down, run it through pnmflip -tb .

OPTIONS


-headerskip
If the file has a header, you can use this flag to skip over it.

-rowskip
If there is padding at the ends of the rows, you can skip it with this flag.

-rgb -rbg -grb -gbr -brg -bgr
These flags let you specify alternate color orders. The default is -rgb.

-interpixel -interrow
These flags let you specify how the colors are interleaved. The default is
-interpixel, meaning interleaved by pixel. A byte of red, a byte of green, and a
byte of blue, or whatever color order you specified. -interrow means interleaved
by row - a row of red, a row of green, a row of blue, assuming standard rgb color
order. An -interplane flag - all the red pixels, then all the green, then all the
blue - would be an obvious extension, but is not implemented. You could get the
same effect by splitting the file into three parts (perhaps using dd), turning each
part into a PGM file with rawtopgm, and then combining them with rgb3toppm.

Use rawtoppm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 2
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 3
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 4
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • 5
    Task Coach
    Task Coach
    Task Coach - Your friendly task
    manager. Task Coach is a free open
    source todo manager. It grew out of
    frustration about other programs not
    handling composite ...
    Download Task Coach
  • 6
    HyperSQL Database Engine (HSQLDB)
    HyperSQL Database Engine (HSQLDB)
    HSQLDB is a relational database engine
    written in Java, with a JDBC driver,
    conforming to ANSI SQL:2016. A small,
    fast, multithreaded engine and server
    with mem...
    Download HyperSQL Database Engine (HSQLDB)
  • More »

Linux commands

Ad