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
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad