Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,923,588,564 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

Portable Pixmap

   Also found in: Wikipedia 0.03 sec.
(file format)Portable Pixmap - (PPM) A colour image file format.

A PPM file contains the following:

a two character "magic number" - "P3", the width in pixels, the height in pixels, the maximum colour component value, HEIGHT rows of WIDTH pixels.

The rows are ordered from top to bottom with the pixels in each row ordered from left to right. Each pixel is represented as three values for red, green, and blue.

All parts are separated by whitespace and numbers are in decimal ASCIII representation. A zero pixel component means that colour is absent. Characters from a "#" to the next end-of-line are ignored and no line should be longer than 70 characters.

Here is an example of a small pixmap in this format:

P3 # feep.ppm 4 4 15 0 0 0 0 0 0 0 0 0 15 0 15 0 0 0 0 15 7 0 0 0 0 0 0 0 0 0 0 0 0 0 15 7 0 0 0 15 0 15 0 0 0 0 0 0 0 0 0

A "RAWBITS" variant has magic number "P6", pixel values are stored as plain binary bytes, instead of ASCII decimal and no whitespace is allowed after a single whitespace character after the maximum colour component value which must be less than or equal to 255.


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?   Encyclopedia browser?   Full browser?
No references found
 
 
Portable Operational Support Terminal
Portable Operators Terminal
Portable Optical Sensor Tester
Portable organ
Portable Organ Preservation System
Portable Oscillatory Pressure Device
Portable Oxygen Bottle
Portable Oxygen Generation System
Portable Oxygen Regulator Test Set
Portable Oxygen Subsystem
Portable Parallel Branch-and-Bound Library
Portable Parallel File System
Portable Parallel Programming Environment
Portable Parallel/Distributed Debugger
Portable Part
Portable People Meter
Portable Perl Compatible Regular Expressions
Portable Personal Computer
Portable Personal Medical Record
Portable Personal Video Recorder
Portable Phoenix Project
Portable phone
Portable phone
Portable Pilot Unit
Portable Pixel Map
Portable Pixmap
portable player
Portable Power Equipment Manufacturers Association
Portable Practical Educational Preparation, Inc.
Portable Production Unit
Portable Propagation Recorder
Portable Propulsion Monitor Unit
Portable Protective Air Gap
Portable Pulmonary Function System
Portable Questionnaire Format
Portable Radar Simulator
Portable Radar Tracking Control System
Portable Radiation Detection Equipment
Portable Radio Communications
Portable Radio Direction Finding System
Portable Radio Program
portable radiological apparatus
portable radiological apparatus
portable radiological apparatus
Portable Rapid Test
Portable Receive Only Station
Portable Rechargeable Battery Association
Portable Recompression Chamber
Portable Remote Controlled Infantry Target System
Portable Remote Diagnostic Information and Telemedicine System
Portable Remote Terminal
Portable Remote Vehicle Controller
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.