ما هو PBM؟ شرح تنسيق Bitmap القابل للنقل

PBM (Portable Bitmap) هو عضو ثنائي المستوى بالأبيض والأسود من عائلة Netpbm، اخترعه جيف بوسكانزر، يخزن صوراً بعمق 1 بت في شكل ASCII أو ثنائي.

أداة تحويل ملفات مجانية عبر الإنترنت. تعمل على Chrome وFirefox وSafari وEdge وOpera والمتصفحات الحديثة الأخرى على Windows وmacOS وLinux وAndroid وiOS. لا حاجة لتثبيت برامج أو تسجيل. تتم جميع التحويلات مباشرة في متصفحك، لذا لا تغادر ملفاتك جهازك. مجانية للاستخدام بدون حساب.

Image

ما هو PBM؟ شرح تنسيق Bitmap القابل للنقل

أبسط تنسيق في Netpbm، يخزن صوراً بالأبيض والأسود بعمق 1 بت في تخطيط عادي أو ثنائي.

آخر تحديث:

Year1980s
TypeRaster image (1-bit)
UsageSimple bitmap interchange

What is it?

PBM, the Portable Bitmap format, is the simplest member of the Netpbm family of image formats. It was invented by Jef Poskanzer in the mid-1980s to allow images to be sent reliably through email and exchanged easily between different systems.

A PBM file stores a bi-level (black-and-white) image where each pixel is a single bit. Files start with a two-byte magic number, P1 for the plain ASCII variant and P4 for the binary (raw) variant, followed by the image width and height and then the pixel data. The deliberately minimal structure makes the format trivial to read and write.

Technical Specifications

DeveloperJef Poskanzer (Netpbm / Pbmplus)
File Extension.pbm
MIME Typeimage/x-portable-bitmap
ReleasedMid-1980s (Pbmplus 1988)
CompressionNone

Pros & Cons

Advantages

بسيط للغاية

The minimal header and 1-bit pixels make PBM one of the easiest image formats to read and write programmatically.

خيار نص عادي

The P1 ASCII variant stores pixels as human-readable 0s and 1s, useful for debugging and quick generation.

قابل للنقل بشكل كبير

Designed for cross-platform exchange, it works consistently across systems and many image tools.

صغير لفن الخط

For purely black-and-white images, 1-bit pixels keep the binary variant compact.

Disadvantages

أسود وأبيض فقط

PBM cannot represent grayscale or color; those require the related PGM and PPM formats.

بدون ضغط

Pixel data is stored uncompressed, so it is inefficient for large images compared with PNG.

نسخة ASCII مفصلة

The plain P1 form is space-inefficient because each pixel is written as text.

When to Use It

PBM is used where a dead-simple, portable bi-level image is all that is needed.

توليد الصور برمجياً

Scripts and programs emit PBM because the format is trivial to write by hand or in code.

خطوط معالجة الصور

Netpbm tools use PBM as an intermediate format when converting or manipulating bitmaps.

بيانات الفاكس والفن الخطي

Bi-level content such as scanned text or fax-style images maps naturally onto PBM.

How to open a PBM file

Software for working with PBM files can be categorized into professional tools, free/open-source options, browser-based applications, and built-in utilities. Professional tools are suited for users who require advanced editing capabilities and high fidelity, while free and open-source options appeal to those looking for cost-effective solutions. Browser-based applications offer convenience and accessibility, and built-in utilities are often sufficient for basic tasks.

When choosing software for PBM, key decision factors include feature fidelity, the distinction between editing and viewing capabilities, cost models, platform compatibility, and export needs. Users should consider whether they need extensive editing features or simple viewing options, as well as whether converting PBM to another format would better meet their needs.

GIMP 2.10.34

Windows, macOS, LinuxFree (GPL)

GIMP is a powerful open-source image editor that supports PBM files. It allows users to view and edit PBM images with high fidelity, offering a range of tools for manipulation and enhancement.

الميزات الرئيسية
  • Layer-based editing and manipulation
  • Advanced color correction tools
  • Support for various image formats
  • Customizable brushes and patterns
  • Scripting capabilities for automation
نقاط القوة
  • Comprehensive editing features for PBM
  • Strong community support and resources
  • No cost for full functionality
القيود
  • Steeper learning curve for beginners
  • Performance can lag with large files

يصدّر إلى: PNG, JPG, TIFF, GIF, PSD

الأفضل لـ: GIMP is ideal for users needing extensive editing tools for PBM files without any cost.

زيارة GIMP →

ImageMagick 7.1.0-15

Windows, macOS, LinuxFree (Apache License)

ImageMagick is a command-line tool that excels in converting and manipulating images, including PBM files. It is particularly useful for batch processing and automating tasks involving PBM format.

الميزات الرئيسية
  • Batch processing of multiple PBM files
  • Conversion to and from various formats
  • Image resizing and transformation
  • Text and drawing capabilities
  • Support for scripting and automation
نقاط القوة
  • Highly efficient for bulk image processing
  • Supports a wide range of formats
  • Powerful command-line interface
القيود
  • No graphical user interface
  • Steeper learning curve for non-technical users

يصدّر إلى: PNG, JPG, TIFF, GIF, PDF

الأفضل لـ: ImageMagick is perfect for users who need a robust command-line tool for processing PBM files in bulk.

زيارة ImageMagick →

IrfanView 4.60

WindowsFree for non-commercial use

IrfanView is a lightweight image viewer that supports PBM files, allowing users to view and perform basic edits. It is known for its speed and simplicity, making it a great choice for quick tasks.

الميزات الرئيسية
  • Basic editing tools like crop and resize
  • Slideshow creation and management
  • Support for plugins to extend functionality
  • Batch conversion capabilities
  • Image format conversion
نقاط القوة
  • Fast and lightweight for quick viewing
  • User-friendly interface
  • Batch processing for multiple files
القيود
  • Limited advanced editing features
  • Windows-only platform

يصدّر إلى: PNG, JPG, TIFF, GIF, BMP

الأفضل لـ: IrfanView is suitable for users seeking a fast and simple viewer for PBM files with basic editing needs.

زيارة IrfanView →

Paint.NET 5.0.8

WindowsFree (MIT License)

Paint.NET is a free image and photo editing software that supports PBM files, providing a balance between simplicity and powerful editing features. It is user-friendly and suitable for both beginners and advanced users.

الميزات الرئيسية
  • Layer support for complex editing
  • Wide range of effects and filters
  • Undo history for easy corrections
  • Customizable user interface
  • Support for plugins to enhance functionality
نقاط القوة
  • Intuitive interface for easy navigation
  • Good balance of features for casual users
  • Active community for support and plugins
القيود
  • Windows-only availability
  • Less powerful than professional tools

يصدّر إلى: PNG, JPG, BMP, TIFF, GIF

الأفضل لـ: Paint.NET is ideal for users looking for a free, user-friendly image editor that supports PBM files with essential editing tools.

زيارة Paint.NET →

Convert PBM Files Free

Use our free online image converter to convert PBM and other formats - no signup, no watermarks.

Try Image Converter Free

References

  1. The PBM Format - Netpbm Official Documentation
  2. Netpbm - Wikipedia
  3. Netpbm formats - Just Solve the File Format Problem