Netpbm

Netpbm
Netpbm
Developer(s) Bryan Henderson
Stable release 10.40 / September 26, 2007
Written in C, Perl, Unix Shell
Operating system Cross-platform
License various, believed to be DFSG free
Website netpbm.sourceforge.net

Netpbm is an open source package of graphics programs and a programming library, used mainly in the Unix world. It is a highly portable package, working under many Unix platforms, Windows, Mac OS X, VMS, Amiga OS and others and is included in all major open source Unix-like operating system distributions.

Contents

File formats and programs

Netpbm defines a set of graphics formats called the netpbm formats:

Netpbm contains over 220 separate programs in the package, most of which have "pbm", "pgm", "ppm", "pam", or "pnm" in their names. For example, you might use pamscale to shrink an image by 10%, pamcomp to overlay one image on top of another, pbmtext to create an image of text or reduce the number of colors in an image with pnmquant.

The Netpbm package can, for example, use two successive conversion programs to turn a picture in the PBM format into a .bmp file:

pgmtoppm "#FFFFFF" somepic.pbm  > somepic.ppm
ppmtobmp somepic.ppm > somepic.bmp

This is more commonly done as a pipeline, to save execution time and to avoid leaving a temporary somepic.ppm file around:

pgmtoppm "#FFFFFF" somepic.pbm | ppmtobmp > somepic.bmp

The Netpbm programs are frequently used as intermediates to convert between obscure formats. For instance, there may be no tool to convert an X11 window dump (XWD format) directly to a Macintosh PICT file, but one can do this by running xwdtopnm, then ppmtopict. (Tools which say that they output PNM may output PPM, PGM or PBM. Tools importing PNM will read any of the three formats.)

History

The PBM (black and white) format was invented by Jef Poskanzer in the mid-1980s. At the time, there was no standard, reliable way to send binary files in email, and attempting to send anything other than 7-bit ASCII in email often resulted in data corruption. PBM was designed to allow images to be sent via email without being corrupted. Poskanzer released the forerunner of Netpbm, called Pbmplus in 1988. By the end of 1988, Poskanzer had developed the PGM (greyscale) and PPM (color) formats and released them with Pbmplus.

The last release of Pbmplus was on December 10, 1991. Poskanzer never released any further updates, and in 1993 Netpbm was developed to replace it. At first it was nothing more than a renamed release of Pbmplus, but updates continued to occur until 1995 when the package again became abandoned. In 1999 the Netpbm package was picked up by its present maintainer, Bryan Henderson.

In 2000 PAM was added to the file formats of the NetPBM library allowing an alpha channel.[1]

The name Netpbm came from the program developers collaborating over the Internet, which was notable at the time. (The NetBSD operating system and Nethack game got their names similarly.)

See also

References

  1. ^ http://netpbm.sourceforge.net/doc/pam.html

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Netpbm — Тип пакет графических программ и библиотека Разработчик Bryan Henderson Написана на C, Perl, Unix Shell Операционная система Linux и др. UNIX подобные, Windows Первый выпуск май 2000 …   Википедия

  • Netpbm format — Portable pixmap Filename extension .ppm, .pgm, .pbm, .pnm Internet media type image/x portable pixmap, graymap, bitmap, anymap all unofficial Developed by Jef Poskanzer Type of format Image file formats …   Wikipedia

  • Formatos Netpbm — Saltar a navegación, búsqueda Los formatos Netpbm son unos formatos de imagen sin compresión, diseñados para ser extremadamente fáciles de comprender por humanos y por computadoras. Estructura Todos los formatos Netpbm comparten una estructura… …   Wikipedia Español

  • Portable anymap — Portable pixmap Расширение .ppm, .pgm, .pbm, .pnm MIME image/x portable pixmap, graymap, bitmap, anymap все неофициальные Разработан Джеф Посканзер Тип формата Графические форматы У этого термина сущ …   Википедия

  • PAM graphics format — The PAM ( Portable Arbitrary Map [1]) graphics format of the Netpbm package generalises all the features of the previous formats (PBM, PGM and PPM) and provides for extending them. As well as width, height and maximum value, which are found in… …   Wikipedia

  • Portable pixmap — Extension .ppm, .pgm, .pbm, .pnm Type MIME image/x portable pixmap, graymap, bitmap, anymap all unofficial Développé par Jef Poskanzer Type de format Format de fichier graphique Origine de XPM …   Wikipédia en Français

  • Compresión fractal — La compresión fractal es un método de compresión con pérdida para imágenes digitales, basado en fractales. El método es el más apropiado para texturas e imágenes naturales, basándose en el hecho de que partes de una imagen, a menudo, se parecen a …   Wikipedia Español

  • XEphem — 3.7.3: Epizykelbahn des Mars im Sternbild Krebs Ende 2009 / Anfang 2010 Basisdaten …   Deutsch Wikipedia

  • MacPaint — Bitmap Bildbearbeitungsprogramm Basisdaten Entwickler Bill Atkinson (Apple), Claris …   Deutsch Wikipedia

  • Binary image — A binary image is a digital image that has only two possible values for each pixel. cite news |url=http://www.codersource.net/csharp color image to binary.aspx |title=Conversion of a Color Image to a Binary Image |publisher=CoderSource.net… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”