EnglishFrenchSpanish

OnWorks favicon

pngtopnm - Online in the Cloud

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

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


pngtopnm - convert a Portable Network Graphics file into portable anymap

SYNOPSIS


pngtopnm [-verbose] [-alpha | -mix] [-background color]
[-gamma value] [-text file] [-time] [pngfile]

DESCRIPTION


Reads a Portable Network Graphics as input. Produces a portable anymap as output. The
type of the output file depends on the input file - if it's black & white, a pbm file is
written, else if it's grayscale a pgm file, else a ppm file.

OPTIONS


-verbose
Display the format of the input file and the type of the output file. If the chunks
are part of the png-file, the alpha, transparency and gamma-values will be
indicated.

-alpha Output the alpha channel or transparency mask of the image. The result is either a
pbm file or pgm file, depending on whether different levels of transparency appear.

-mix Compose the image with the transparency or alpha mask against a the background.
When a background chunk is available that color is taken, else black will do.

-background color
If no background color chunck is present in the png-file, or when another color is
required this parameter can be used to set the background color of images. This is
especially useful for alpha-channel images or those with transparency chunks. The
format, to specify the color in, is either (in the case of orange) "1.0,0.5,0.0",
where the values are floats between zero and one, or with the syntax "#RGB",
"#RRGGBB" or "#RRRRGGGGBBBB" where R, G and B are hexa-decimal numbers.

-gamma value
Converts the image to a new display-gamma value. When a gAMA chunk is present in
the png-file, the image-gamma value will be used. When not, the image-gamma is
considered to be 1.0. Based on the image-gamma and the display-gamma given with
this option the colors written to the pnm-file will be adjusted.
Because the gamma's of uncompensated monitors are around 2.6, which results in an
image-gamma of 0.45, some typical situations are: when the image-gamma is 0.45 (use
-verbose to check) and the picture is too light, your system is gamma-corrected, so
convert with "-gamma 1.0". When no gAMA chunk is present or the image-gamma is
1.0, use 2.2 to make the picture lighter and 0.45 to make the picture darker.

-text file
Writes the tEXt and zTXt chunks to a file, in a format as described in the pnmtopng
man-page. These chunks contain text comments or annotations.

-time Prints the tIME chunk to stderr.

All flags can be abbreviated to their shortest unique prefix.

Use pngtopnm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    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
  • 4
    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
  • 5
    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
  • 6
    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
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad