LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

brushtopbm

Convert deskjet brush files to PBM images

TLDR

Convert a deskjet brush file to PBM
$ brushtopbm [brushfile] > [output.pbm]
copy
Convert from stdin
$ cat [brushfile] | brushtopbm > [output.pbm]
copy
Convert brush to PNG via pipe
$ brushtopbm [brushfile] | pnmtopng > [output.png]
copy

SYNOPSIS

brushtopbm [brushfile]

DESCRIPTION

brushtopbm reads a deskjet brush file and produces a PBM (Portable BitMap) image as output. This is part of the Netpbm package of image manipulation utilities.Brush files were used by certain HP DeskJet printer utilities for custom brush patterns. This converter allows extracting these patterns as standard bitmap images.If no file is specified, the program reads from standard input. Output is written to standard output.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

This tool handles a specific legacy format. The brush file format is rarely used in modern systems. Output is monochrome PBM; convert using other Netpbm tools if color output is needed.

SEE ALSO

pbmtogo(1), pnmtopng(1), netpbm(1)

RESOURCES

Copied to clipboard
Kai