Black and White PNG Maker
Convert any image to pure black and white PNG. Threshold, grayscale, and dithering modes with instant preview and download.
Drop image here or click to upload
PNG, JPG, GIF, WebP, BMP supported
Lower values produce darker results
Original
Result
About
Converting images to true black and white (1-bit monochrome) requires more than desaturation. A grayscale image contains 256 shades; a binary black-and-white image contains exactly 2. The conversion quality depends entirely on the threshold algorithm and how mid-tones are handled. Poor threshold selection destroys detail in shadows or highlights - critical for document scanning, stencil creation, or print preparation where ink coverage must be predictable.
This tool implements three conversion methods: direct luminosity thresholding using the ITU-R BT.601 standard (L = 0.299R + 0.587G + 0.114B), Floyd-Steinberg error diffusion dithering for preserving tonal gradients, and ordered Bayer dithering for stylized halftone effects. The threshold slider provides 256 levels of control. Output is a lossless PNG with transparency preserved where applicable.
Formulas
The luminosity-weighted grayscale conversion follows the ITU-R BT.601 standard, which accounts for human eye sensitivity to green light:
Where L is the resulting luminance value (0 - 255), and R, G, B are the red, green, and blue channel values respectively. For binary thresholding, the output pixel value P is determined by:
Where T is the user-defined threshold (0 - 255). Floyd-Steinberg dithering distributes the quantization error e = L − P to neighboring pixels using the diffusion matrix:
The asterisk marks the current pixel position. Ordered dithering uses a 4×4 Bayer matrix to create a repeating threshold pattern, comparing each pixel's luminance against a spatially varying threshold derived from the matrix position.
Reference Data
| Conversion Mode | Best For | Preserves Gradients | File Size | Processing Speed |
|---|---|---|---|---|
| Binary Threshold | Documents, logos, line art | No | Smallest | Fastest |
| Grayscale | Photos needing tone retention | Yes (256 levels) | Medium | Fast |
| Floyd-Steinberg Dither | Photos, artwork with gradients | Yes (perceptual) | Small | Medium |
| Ordered (Bayer) Dither | Retro/comic style, screen print | Patterned | Small | Fast |
| Threshold Reference Values | ||||
| Threshold 64 | Dark images, shadow detail | - | - | - |
| Threshold 128 | Balanced (default) | - | - | - |
| Threshold 192 | Bright images, highlight detail | - | - | - |
| Color Space Standards | ||||
| ITU-R BT.601 | SD video, legacy images | R: 0.299 | G: 0.587 | B: 0.114 |
| ITU-R BT.709 | HD video, modern cameras | R: 0.2126 | G: 0.7152 | B: 0.0722 |
| Common Use Cases | ||||
| Document Scanning | Threshold 140 - 180 | Binary mode | OCR-ready | - |
| Screen Printing | Threshold 100 - 130 | Binary or Bayer | High contrast | - |
| Laser Engraving | Threshold 110 - 140 | Floyd-Steinberg | Halftone effect | - |
| Stencil Art | Threshold 90 - 120 | Binary mode | Clean edges | - |
| Fax Preparation | Threshold 128 | Binary mode | 1-bit TIFF compatible | - |