Black and White Signature Creator
Create professional black and white signatures online. Draw, customize stroke width, and export as transparent PNG for documents and contracts.
About
Digital signatures require precise stroke rendering to remain legible at various scales. This tool implements Catmull-Rom spline interpolation to smooth raw pointer input into natural curves, then applies velocity-based pressure simulation where faster strokes produce thinner lines - mimicking real pen dynamics. The output is pure black (#000000) on transparent or white background, ensuring maximum contrast ratio of 21:1 for WCAG AAA compliance. Export formats support transparent PNG for document overlay or white-background variants for printing. The undo stack maintains up to 50 stroke states, allowing iterative refinement without starting over.
Signatures fail when aliasing creates jagged edges or when stroke width inconsistency makes them appear forged. The threshold control converts grayscale anti-aliased pixels to pure binary values - pixels above the threshold become white (or transparent), below become black. Setting threshold too low creates blocky signatures; too high loses fine detail. Default value of 128 (midpoint of 0 - 255 range) works for most signatures, but thin strokes may require 160 - 180 to preserve continuity.
Formulas
Stroke smoothing uses Catmull-Rom spline interpolation to convert discrete pointer samples into continuous curves:
Where P0, P1, P2, P3 are four consecutive control points and t ∈ [0, 1] interpolates between P1 and P2.
Pressure simulation derives stroke width from pointer velocity:
Where wbase is user-defined stroke width, s is sensitivity factor (0 - 1), v is current velocity in px/ms, and vmax = 5 px/ms.
Binary threshold conversion transforms anti-aliased grayscale to pure black/white:
Where gray = 0.299R + 0.587G + 0.114B (ITU-R BT.601 luminance) and T is user threshold.
Reference Data
| Parameter | Range | Default | Effect |
|---|---|---|---|
| Stroke Width | 1 - 20 px | 3 px | Base pen thickness before pressure simulation |
| Smoothing Level | 0 - 100% | 50% | Spline tension; higher = smoother curves |
| B&W Threshold | 0 - 255 | 128 | Grayscale cutoff for binary conversion |
| Canvas Width | 200 - 1200 px | 600 px | Export resolution width |
| Canvas Height | 100 - 400 px | 200 px | Export resolution height |
| Pressure Sensitivity | 0 - 100% | 50% | Velocity-to-width mapping intensity |
| Export Format | PNG | PNG | Lossless with alpha channel support |
| Background | Transparent / White | Transparent | Alpha channel or solid #FFFFFF |
| Undo Stack Depth | 50 states | - | Maximum reversible actions |
| Point Decimation | 10,000 pts/stroke | - | Memory limit per stroke |
| DPI (Print) | 72 - 300 | 150 | Pixels per inch for print sizing |
| Contrast Ratio (B&W) | 21:1 | - | Pure black on white/transparent |
| File Size (typical) | 5 - 50 KB | - | Depends on stroke complexity |
| Recommended Signature Width | 300 - 500 px | - | Optimal for document embedding |
| Legal Document Standard | ESIGN Act / eIDAS | - | Electronic signature validity framework |