.PBM 文件扩展名

Portable Bitmap Image

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

什么是 PBM 文件?

A PBM file is a black-and-white image saved in the Portable Bitmap format. It consists of a plain text header and a grid of 0s and 1s that specify the color of each of the image's pixels. 0s represent white pixels; 1s represent black pixels.

更多信息

在 File Viewer Plus 4 中打开的 .pbm 文件截图
在 File Viewer Plus 4 中打开的 PBM 文件

Jef Poskanzer developed the PBM format as part of his Netpbm project. PBM is an intermediate format, used primarily when converting images from one format to another. In the middle of a conversion, Netpbm may save an image as a PBM file. It then uses the PBM file to create the converted image. (Netpbm uses the .PGM and .PPM formats in similar fashion.)

Two variants of the PBM format exist. Files saved in the original PBM format, identified by the magic number P1 in their header, always contain only one image. Files saved in the more recent version of the PBM format, identified by the magic number P4 in their header, can contain more than one image. Also, P1 PBM files can contain whitespace in their raster grid; P4 files cannot.

注: Each PBM image's width and height is specified in its header. For example, an image that is 50 pixels wide by 65 pixels tall will include the numbers 50 65 in its header.

如何打开 PBM 文件

PBM file open in Microsoft Notepad
PBM file open in Microsoft Notepad

You can open a PBM file with many image viewers and editors, including XnViewMP (multiplatform), Inkscape (multiplatform), Apple Preview (Mac), or Adobe Photoshop (Windows, Mac).

You can also open a PBM file with Microsoft Notepad (Windows), Apple TextEdit (Mac), or any other text editor, to view the plain text data it contains. This can be useful if, for example, you want to make sure your PBM file is formatted correctly before you attempt to open it in an image editor.

如何转换 PBM 文件

You can use GIMP, Inkscape, or XnViewMP to convert PBM images to other formats. For example, XnViewMP can convert PBM files to the following formats (and many others):

  • .JPG - JPEG Image
  • .GIF - Graphical Interchange Format
  • .PNG - Portable Network Graphic
  • .TIFF - Tagged Image File Format
  • .BMP - Bitmap Image
  • .PCX - Paintbrush Bitmap Image
  • .TGA - Targa Graphic
  • .JP2 - JPEG 2000 Core Image
  • .JXR - JPEG XR Image
  • .WEBP - WebP Image

可打开 PBM 文件的程序

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

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Portable Bitmap Image 文件格式和 Mac, Windows, Linux, and Android 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

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