facsimile 1.0.0
facsimile: ^1.0.0 copied to clipboard
Removes the paper background from photos of stamps and signatures to make transparent facsimiles for documents, printing or e-signing.
1.0.0 #
- Reworked the API (breaking):
removeBackgroundand the newremoveColornow run synchronously and return PNG bytes, throwingArgumentErrorwhen the input cannot be decoded. - Fixed the algorithm: removed leftover debug code that overwrote pixels with a gradient, and converted sources to RGBA so JPEG photos (which have no alpha channel) actually get a transparent background.
- Added soft (anti-aliased) thresholds, color-key removal for tinted paper, unit tests and a working example app.
- Baked in EXIF orientation so phone photos are always processed upright.
- Added bilingual README (English + Russian) with large-file guidance, iPhone/HEIC notes and a roadmap.
- Roadmap for next versions: native HEIC (Apple) decoding and optional
automatic downscaling (
maxDimension). - Dropped the unused
path_providerdependency.
0.0.3 #
- Initial release.