Commit Graph

298 Commits

Author SHA1 Message Date
Pierre-Yves Nicolas
d48d2784cd Save files to Downloads via MediaStore on Android 10+ (fix #85) 2026-01-05 20:16:16 +01:00
Yurt Page
b149b39873 fastlane i18n ru 2026-01-01 11:46:49 +01:00
Yurt Page
8c1fab1476 fastlane full_description.txt: simplify markup 2026-01-01 11:46:49 +01:00
pynicolas
1c439f0916 README.md: mention fairscan-intent-sample 2025-12-30 14:52:53 +01:00
Pierre-Yves Nicolas
73d4ecebed Prepare release: v1.9.0 2025-12-22 10:11:14 +01:00
pynicolas
b5bf93b7ec Allow other apps to call FairScan to scan a document to PDF (#81)
* Intent for external calls

* External calls: start on camera screen

* Isolate captured images for each scan session

* Remove access to settings when called externally
2025-12-22 10:03:38 +01:00
Pierre-Yves Nicolas
8d87a8a430 Prepare release: v1.8.0 2025-12-10 18:22:05 +01:00
pynicolas
fe91f3e241 Improve distinction between color and grayscale documents (#79)
Better differentiate color and grayscale documents:
- Look for colored pixels only in the intersection of the mask and quadrilateral
- Apply a white balance (grey world) to the document
- Exclude pixels with extreme luminance
- Erode segmentation mask
2025-12-10 17:08:21 +01:00
pynicolas
87433fa96a New module: evaluation (#78) 2025-12-07 21:39:49 +01:00
pynicolas
3d9d5565f1 Extract module imageprocessing (#76) 2025-12-06 08:08:20 +01:00
pynicolas
8ac844d8fd Upgrade AboutLibraries to 13.1.0 (#75) 2025-12-05 14:45:10 +01:00
Pierre-Yves Nicolas
560c8ced68 targetSdk 35 -> 36 2025-12-05 12:04:15 +01:00
Pierre-Yves Nicolas
f26a6cc45f Upgrade most dependencies 2025-12-05 08:07:46 +01:00
Pierre-Yves Nicolas
5393dae39e compileSdk 35->36 2025-12-05 06:43:18 +01:00
Pierre-Yves Nicolas
3a9cc642c7 Restore back button in CameraScreen and DocumentScreen (fix #74)
It was removed by mistake in 7c9267a
2025-12-05 06:31:01 +01:00
Pierre-Yves Nicolas
4a3a1f700f Prepare release: v1.7.0 2025-12-01 16:33:05 +01:00
Pierre-Yves Nicolas
77d3d0e647 Add enableOnBackInvokedCallback in manifest to avoid warning in logs 2025-12-01 15:43:49 +01:00
Pierre-Yves Nicolas
4da6d24e7e Fix bug with JPEG when clicking twice on Save 2025-12-01 15:24:52 +01:00
Pierre-Yves Nicolas
4b6d1ca02d AboutScreen: adjustments 2025-12-01 08:36:12 +01:00
Pierre-Yves Nicolas
515d116c8e Avoid adding index to file name if only 1 file 2025-12-01 07:07:04 +01:00
pynicolas
4453eb1be0 Allow export to JPEG (#68)
* SettingScreen: export format

* Allow export to JPEG

* Adjust messages in UI to work with PDF and JPEG

* Message for file size should depend on number of files

* Fix call to MediaScanner to avoid crash when scanning multiple files

* Fix strange handling of Open button
2025-11-30 16:55:36 +01:00
Pierre-Yves Nicolas
7fbda5339a Remove unused parameter (forgotten in previous commit) 2025-11-29 07:15:50 +01:00
Pierre-Yves Nicolas
051c320bde Move addRecentDocument from HomeViewModel to ExportViewModel 2025-11-28 16:53:59 +01:00
Pierre-Yves Nicolas
2d15cd129e Fix list of recent documents after introduction of the custom export dir 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
5d7011614b SettingsScreen: translate strings 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
53c9bc3630 Export PDF to preferred dir if it was defined 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
7c9267a866 New SettingsScreen with export dir preference 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
96b2d5b830 Move code for UI state to screen-specific packages 2025-11-27 08:43:27 +01:00
Pierre-Yves Nicolas
156924a8ee MainActivity: extract code from onCreate 2025-11-26 21:03:35 +01:00
Pierre-Yves Nicolas
4b103c6aea Format timestamp in error log 2025-11-26 20:00:37 +01:00
Pierre-Yves Nicolas
8c9be73022 Restore behavior when saving PDF for both success and failure 2025-11-26 18:58:55 +01:00
Pierre-Yves Nicolas
3f10a1cd55 AboutScreen: add button to copy logs to clipboard 2025-11-26 18:07:41 +01:00
Pierre-Yves Nicolas
f4aad46cb6 Log errors in a file 2025-11-26 18:07:41 +01:00
Pierre-Yves Nicolas
f805201768 MainActivity shouldn't do the job of a ViewModel 2025-11-23 19:05:20 +01:00
Pierre-Yves Nicolas
d4a3c78c23 Split MainViewModel: extract HomeViewModel 2025-11-21 16:48:16 +01:00
Pierre-Yves Nicolas
7c53dcface Split MainViewModel: extract ExportViewModel 2025-11-21 16:48:16 +01:00
Pierre-Yves Nicolas
15e3d9d917 Split MainViewModel: extract CameraViewModel 2025-11-21 16:48:16 +01:00
Pierre-Yves Nicolas
4a58a1b4e3 Reorg: move ImageTransformations and OpenCvImageTransformations 2025-11-18 20:30:11 +01:00
Pierre-Yves Nicolas
ccbfb2f2e0 Reorg: move CameraPermission.kt to ui/components 2025-11-18 20:30:11 +01:00
Pierre-Yves Nicolas
5f64eaea09 Reorg: new package platform 2025-11-18 20:30:11 +01:00
Pierre-Yves Nicolas
0c2854e31c Reorg: move view to subpackages in ui 2025-11-18 20:30:07 +01:00
Pierre-Yves Nicolas
90125aa7b8 Reorg: move ImageRepository and PdfFileManager to data 2025-11-18 18:00:10 +01:00
Pierre-Yves Nicolas
8f9d51e65a Reorg: new package for domain 2025-11-18 17:39:06 +01:00
pynicolas
1f734e9d95 Update README.md 2025-11-17 06:21:39 +01:00
pynicolas
baa89a954a Update icon for F-Droid (#63) 2025-11-16 21:25:40 +01:00
pynicolas
3f2acdf07e Improve README.md (#62) 2025-11-16 20:13:20 +01:00
Pierre-Yves Nicolas
93b6f7d88f Prepare release: v1.6.0 2025-11-12 08:29:34 +01:00
pynicolas
7fc4e4e603 New feature: flashlight (#61) 2025-11-12 08:12:06 +01:00
Pierre-Yves Nicolas
ffdd2e077e Prepare release: v1.5.0 2025-11-10 14:38:51 +01:00
Pierre-Yves Nicolas
5b7d76e9c4 Quad detection: new fallback algorithms 2025-11-10 11:58:32 +01:00