Sobre os arquivos PBM
PBM Imagem Binária
Portable Bitmap — formato simples para imagens binárias preto-e-branco (1 bit por pixel). Parte da família Netpbm. Usado em fax, OCR, visão computacional simples.
Família
Raster & Vector Images
Extensão
.pbm
Tipo MIME
image/x-portable-bitmap
Pode ser usado como
COMO NASCEU O
FORMATO PBM.
PBM — Portable Bitmap — is one of the simplest image formats ever devised. Created by Jef Poskanzer in 1988 as part of the Netpbm toolset, a PBM file is plain ASCII text: a two-line header ("P1" + width and height), then the pixel data as `0` and `1` characters separated by whitespace. Its siblings PGM (grayscale) and PPM (RGB) extend the same idea with values 0-255 or 0-65535.
Poskanzer’s toolset gave Unix a glue layer: every image conversion could be routed through Netpbm as an intermediate format. Need JPEG → PCX? pipe jpegtopnm | pnmtopcx. The formats were never meant for production storage — they were designed to be a "lingua franca" for image-processing pipelines. 37 years later the Netpbm tools are still installed on most Linux systems and still used in scientific imaging, OCR preprocessing, and countless shell scripts.
CURIOSIDADES E
FATOS INTERESSANTES.
A PBM file is plain ASCII — open one in Notepad and you literally see 0s and 1s forming a pixel grid.
The Netpbm toolkit (pnmtopcx, pnmtoeps, jpegtopnm…) has been the Unix image-conversion glue for almost 40 years.
The format has a binary variant (P4/P5/P6) that is much smaller than ASCII but keeps the same spirit.
PGM is the preferred input format for Tesseract OCR before OCR was added directly to modern image libraries.
Jef Poskanzer, Netpbm's creator, also wrote thttpd — one of the first minimalist web servers.
VANTAGENS E
LIMITAÇÕES.
Vantagens
- Extreme simplicity — a 20-line parser handles every PBM.
- Ideal as pipeline intermediate format.
- Plain ASCII variant is human-readable and diff-able.
- 37+ years of unchanged stability.
Limitações
- No compression — files are huge compared to PNG or JPEG.
- No color profile, no metadata, no transparency.
- Not a delivery format — strictly for pipelines.
- ASCII variant is 8× larger than binary for the same image.
Tamanhos típicos de arquivo
512×512 bitmap (binary P4)
33 KB
1920×1080 grayscale (binary P5)
~2 MB
1920×1080 RGB (binary P6)
~6 MB
Especificações técnicas
- MIME types
- image/x-portable-bitmap (PBM), image/x-portable-graymap (PGM), image/x-portable-pixmap (PPM)
- Extensions
- .pbm, .pgm, .ppm, .pnm
- Variants
- P1 (ASCII bitmap), P4 (binary bitmap), P2/P5 (graymap), P3/P6 (pixmap)
- Toolkit
- Netpbm (since 1988)
- Creator
- Jef Poskanzer
CONVERTER A PARTIR DE
PBM
Casos de uso comuns
Binary image processing
Formatos relacionados
Comparativos populares
PBM vs JPG
Diferenças, tamanho de arquivo e quando escolher cada formato.
PBM vs WEBP
Diferenças, tamanho de arquivo e quando escolher cada formato.
PBM vs AVIF
Diferenças, tamanho de arquivo e quando escolher cada formato.
PBM vs GIF
Diferenças, tamanho de arquivo e quando escolher cada formato.
PBM vs BMP
Diferenças, tamanho de arquivo e quando escolher cada formato.
PBM vs TIFF
Diferenças, tamanho de arquivo e quando escolher cada formato.
Conversões populares de PBM
Os destinos mais procurados ao converter arquivos PBM.
Perguntas frequentes sobre PBM
Perguntas frequentes
PBM (PBM Bitmap Image) is an image formato used to store raster graphics — a two-dimensional grid of pixels describing a picture. It is part of the raster & vector images family e designed around a specific trade-off between tamanho do arquivo, visual fidelity, e feature support (transparency, colour depth, compressão type). Photographers, web designers, e content creators choose PBM when its particular strengths match the publishing target.
Most desktop photo viewers (Windows Photos, macOS Preview, GIMP, Photoshop, Affinity Photo) abrir PBM natively. On mobile, iOS Photos e Google Photos display PBM no gallery when suportado por the OS. If the formato is rare ou new, converter to JPG ou PNG first — both are universally readable — usando our PBM to JPG ou PBM to PNG converter.
Upload the PBM to KaijuConverter e pick a target formato (JPG, PNG, WebP, HEIC, TIFF, BMP, SVG, PDF). The conversion runs in o navegador via ImageMagick e returns a baixar in seconds. No account ou installation required; both input e output delete automatically within two hours.
Depende de the task. JPG is the smallest tamanho do arquivo para photographs; PNG is sem perdas com transparência; PBM has its own niche that may favour colour depth, animation, ou codificação efficiency over one ou both of those. para the final web publish, test all three e measure tamanho do arquivo plus visible quality on real content.