What is the difference between .pgm and .ras?
- Extension
- .pgm
- .ras
- Format
- Binary
- Binary
- Category
- Raster Image
- Raster Image
- Developer
- Jef Poskanzer
- Sun
- Description
- A PGM file is a grayscale image file saved in the portable gray map (PGM) format and encoded with one or two bytes (8 or 16 bits) per pixel. It contains header information and a grid of numbers that represent different shades of gray from black (0) to white (up to 65,536). PGM files are typically stored in ASCII text format, but also have a binary representation.
- Originally used on the Sun Microsystems computers, RAS is a raster image format that displays bitmap images. It is popularly used for specific types of research projects and it can be developed in Unix OS as well. It supports 1 and 32-bits per pixel and used RLE compression codec.
- MIME Type
- image/x-portable-graymap
- image/x-cmu-raster
- Sample
- sample.pgm
- Wikipedia
- .pgm on Wikipedia
- .ras on Wikipedia