Commit Graph

416 Commits

Author SHA1 Message Date
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
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
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
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
Pierre-Yves Nicolas
df3e2dc3e2 Geometry: use Double instead of Int to scale precisely 2025-11-10 11:58:32 +01:00
Pierre-Yves Nicolas
ba78a88ef3 Upgrade segmentation model to v1.1 2025-11-03 20:18:54 +01:00
Manish Murmu
5b8c658527 Fix #26: Remove duplicate libraries from About screen 2025-10-21 11:30:43 +02:00
Pierre-Yves Nicolas
ba562149ea Fix plural for page_count in Czech translation
It makes Android Lint happy, but it doesn't seem to have an impact at runtime.
2025-10-20 16:25:17 +02:00
vesp
2e0098fe40 Add czech translation 2025-10-20 16:25:17 +02:00
Pierre-Yves Nicolas
d51c89019a Prepare release: v1.4.0 2025-10-15 18:49:53 +02:00
Pierre-Yves Nicolas
56f218c024 Remove app_name from translations 2025-10-15 18:26:40 +02:00
Pierre-Yves Nicolas
900892cfaf Add monochrome icon (#48) 2025-10-15 18:21:52 +02:00
Pierre-Yves Nicolas
4f11a14674 Add translation for Spanish 2025-10-15 15:09:20 +02:00
Pierre-Yves Nicolas
96f76e2b6f Add translation for Portuguese (Brazil) 2025-10-14 21:45:19 +02:00
Pierre-Yves Nicolas
52a3aae0d6 Adjusted Russian translation for the Download directory (#45) 2025-10-14 21:13:30 +02:00