.PGM 文件扩展名

Portable Gray Map Image

开发者 Jef Poskanzer
受欢迎程度
3.6  |  50 
 
🔍使用File Helper直接在您的网络浏览器中打开 .PGM 文件在线查看

什么是 PGM 文件?

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 representing 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.

更多信息

在 Apple Preview 11 中打开的 .pgm 文件截图
在 Apple Preview 11 中打开的 PGM 文件

PGM files include a header that defines the PGM format type ("P2" for text or "P5" for binary), image width and height, and the maximum number of shades. While binary PGM files may contain multiple images, ASCII PGM files may only include one image.

The PGM format is one of several image formats defined by the Netpbm project, which is an open-source package of graphics programs. Other formats include the portable bitmap (.PBM) and portable pixmap (.PPM) formats.

注: PGM files may also be called "portable greymap" files.

如何打开 PGM 文件

You can open a PGM file with various image viewers and editors. Some applications that support PGM images include GIMP (multiplatform), Corel PaintShop Pro (Windows), and Apple Preview (bundled with macOS).

Opening a PGM file with a text editor

PGM file open in Apple TextEdit
PGM file open in Apple TextEdit

Since PGM files are saved in plain text, you can also open them with a text editor, such as Microsoft Notepad or Apple TextEdit, or a source code editor. You may need to rename the .pgm file extension to .txt for the text editor to recognize it.

When opened in a text editor or source code editor, you can modify the image data in a PGM file. However, if you incorrectly edit the file, you may inadvertently corrupt the image.

如何转换 PGM 文件

Several image editors, including GIMP, Corel PaintShop Pro, and Apple Preview, can convert PGM files to other formats.

For example, GIMP can convert PGM files to many file types, including the following formats:

  • .JPG - JPEG Image
  • .PNG - Portable Network Graphic
  • .BMP - Bitmap Image
  • .TGA - Targa Graphic
  • .GIF - Graphical Interchange Format
  • .PS - PostScript File
  • .TIFF - Tagged Image File Format
  • .WEBP - WebP Image
  • .EXR - OpenEXR Image
  • .XCF - GIMP Image

可打开 PGM 文件的程序

Mac
操作系统自带
免费
免费
免费
Linux
免费
免费
免费
Web
Android

Akai MPC Program File

开发者 Akai
受欢迎程度
1.2  |  5 
 

A PGM file contains a program used by various Music Production Controller (MPC) devices, such as MPC1000, MPC2000, and MPC3000. It stores configuration information about the pads (buttons) on the MPC device and the mono or stereo samples they are assigned to play when touched on the MPC device. PGM files also include parameters for the program, such as sound assignments, SIMULT settings, and tuning parameters.

更多信息

PGM files may be saved in the standard MPC program format or the revised format that was developed to support more complex MPC devices. MPCs manufactured before the MPC1000 device do not support the newer PGM format. However, MPCs manufactured after the MPC1000 support both versions of the PGM format.

While PGM files were designed to be loaded on to MPC devices, they can also be loaded by MPC software developed to emulate MPC devices on computers. Some examples of programs that can open PGM files are MPC Maid and MPC Editor.

可打开或引用 PGM 文件的程序

分类: 设置
更新时间: 2019-10-04

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的所有文件格式和软件程序。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们