HTML5 Canvas Contrast Engine · Updated 2026-11-18

Faded Thermal Receipt Contrast Restorer

Point-of-sale thermal slips fade within weeks in wallets, glove compartments, and binders. Drop any photo below to darken faint thermal ink using linear percentile contrast stretching and local Bradley adaptive thresholding inside your browser tab with zero server upload.

  • Runs locally in HTML5 Canvas
  • Side-by-side live preview
  • Zero upload · Free
Drop a faded thermal receipt photo or try the sample receipt below.

Adaptive Ink Boost vs. Soft Contrast Stretch

Different lighting and thermal degradation patterns respond best to different canvas passes. Instead of forcing one rigid filter, switch between two deterministic image pipelines modeled in our receipt photography guide and inspect the live side-by-side canvas before saving an archival copy.

Restoration ProfileHow Pixels Are TransformedBest Thermal Receipt Scenarios
Adaptive Ink Boost (Bradley local threshold)Converts to greyscale, stretches 1%–99% histogram percentiles, then compares each pixel against its local neighborhood meanWashed-out gas station slips, uneven indoor ceiling shadows, glossy paper glare
Soft Percentile Contrast StretchApplies luminance greyscale and histogram stretching while keeping natural anti-aliased letter edges intactSlightly faded restaurant receipts heading directly into neural PP-OCRv6 recognition
90° Rotation PassRe-orients sideways mobile captures cleanly on an offscreen canvas before contrast filteringReceipts shot in landscape or rotated inside gallery imports

How to Restore & Archive a Faded Receipt Safely

  1. Place the thermal slip on a matte dark surface (black cardstock or a dark desk mat) in even indirect light, avoiding overhead LED glare before snapping a flat photo.
  2. Drop the image into the canvas restorer above and start with Adaptive Ink Boost at bias 0.86, nudging the slider up toward 0.92 if thin decimal points drop out or down toward 0.78 if creased backgrounds show noise.
  3. Rotate 90° if sideways, download the restored PNG or save a print-ready PDF, and click Extract Merchant, Date & Total in Scanner to send the enhanced image straight to on-device OCR or arrange multi-bill packets via Combine Receipts to PDF.
  4. If thermal ink has completely vanished before photography, document the charge via our Missing Receipt Declaration generator and statement reconciliation matcher.

Client-Side Architecture & Data Protection

Thermal slips often reveal pharmacy visits, fuel stops, home addresses, and partial card digits. Because all pixel math runs inside browser JavaScript arrays using standard MDN HTML5 Canvas APIs, your financial images never cross a network wire—see how to verify this yourself on How Privacy Works.

Once an image drops onto the canvas, our pipeline scales down oversized 12-megapixel camera photos smoothly toward an 1800-pixel working edge, upscales tiny screenshots so small digits stay sharp, and discards intermediate frame buffers when you switch files or close the tab. For ongoing paper management after restoration, organize slips in your private local ledger or match older charges via statement reconciliation.

Archival verification reminder: High-contrast binarisation can occasionally turn dust specks into periods or break faded eights into threes. Always verify restored dates, merchant names, tax amounts, and totals against the physical original receipt before submitting reimbursement claims or tax deductions, and retain originals wherever tax recordkeeping rules require.

Frequently asked questions

Why do thermal paper receipts turn blank over time?

Thermal slips print using heat-sensitive leuco dye rather than ink. Heat from wallets, sunlight, dashboard exposure, PVC plastic folders, and hand lotions reverses the chemical dye reaction and turns letters pale grey or invisible.

Should I heat a faded thermal receipt with a hair dryer or iron?

Never apply heat to restore a faded receipt. Thermal coating reacts uniformly across the entire sheet, turning the whole slip solid black and destroying both faint digits and paper backups irreversibly.

How does Bradley adaptive thresholding differ from basic brightness adjustment?

Global brightness or Otsu cutoffs pick one threshold across the entire image, which washes out half the receipt under ceiling shadows. Bradley-Roth integral-image thresholding evaluates each pixel against its own surrounding window so dark shadows and bright highlights stay readable.

Are restored receipt images uploaded to a server?

No. Every pixel operation runs inside your browser tab via HTML5 Canvas. There is no server upload, no cloud sync, and no external image API call.

Can I read totals from the restored PNG automatically?

Yes. Click Extract Merchant, Date and Total in Scanner once the preview looks sharp to stage the darkened image directly in local browser OCR without saving and re-picking the file.