Commit Graph

59 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
ae89fa60d7 Update copyright year to 2024 2023-12-30 14:45:47 -08:00
Ben Olden-Cooligan
dd83057b48 Sdk: Make OCR sdk-friendly 2023-12-29 14:15:58 -08:00
Ben Olden-Cooligan
9a6fb36a8c Sdk: Add links to individual samples in the readme 2023-12-29 13:33:23 -08:00
Ben Olden-Cooligan
b5b02746c7 Add NAPS2.Escl.Server as an sdk project 2023-12-13 00:52:16 -08:00
Ben Olden-Cooligan
9092870ee7 Escl: Job cleanup and minor fixes 2023-12-12 20:55:09 -08:00
Ben Olden-Cooligan
2021a1fa23 Escl: Key by SharedDevice and simplify API 2023-12-01 18:05:39 -08:00
Ben Olden-Cooligan
0f3b4abcd3 Add Driver as a property on ScanDevice 2023-12-01 18:03:55 -08:00
Ben Olden-Cooligan
a82f5671e6 Add a sample and update sdk doc for NAPS2.Escl.Server 2023-11-27 20:31:30 -08:00
Ben Olden-Cooligan
61aebe6c8c Migrate to net8 2023-11-18 11:43:50 -08:00
Ben Olden-Cooligan
1543175076 Sdk: Update readme/samples 2023-08-29 20:39:04 -07:00
Ben Olden-Cooligan
65aec41038 Sdk: Win32 worker polish 2023-08-25 19:14:26 -07:00
Ben Olden-Cooligan
6348be6dc6 Update HelloWorldSample 2023-04-22 11:51:13 -07:00
Ben Olden-Cooligan
04451c4511 Move copyright to CommonTargets and update to 2023 2023-01-01 14:14:52 -08:00
Ben Olden-Cooligan
3cc922ecdd Fix various warnings 2022-12-20 21:24:16 -08:00
Ben Olden-Cooligan
46259d2a7a Reorganize NAPS2.Setup files 2022-12-19 14:17:28 -08:00
Ben Olden-Cooligan
3894645069 Use IAsyncEnumerable with a producer model
This replaces AsyncSource and simplifies various things. Also some cleanups / tests.
2022-09-27 18:12:36 -07:00
Ben Olden-Cooligan
ac2bb185ef Make generic AsyncSource/Sink types
Also reorg util types in NAPS2.Images
2022-09-25 16:21:12 -07:00
Ben Olden-Cooligan
7e707381cc Use per-project licenses 2022-09-11 18:40:47 -07:00
Ben Olden-Cooligan
1c0a7074d2 Remove final gdi references from NAPS2.Sdk 2022-09-11 17:48:05 -07:00
Ben Olden-Cooligan
0d92b9d7e1 Add ImageContext to ProcessedImage and Render extensions
This reduces the amount we need to pass around ImageContext. Will probably followup doing the same for IMemoryImage and transforms.
2022-08-30 09:07:27 -07:00
Ben Olden-Cooligan
a6787735ec Update readmes and samples 2022-08-25 11:17:15 -07:00
Ben Olden-Cooligan
79b2c92f5a Change all projects to net6 and fix WinForms compilation 2022-08-16 21:02:01 -07:00
Ben Olden-Cooligan
7f87a681f6 Move ClientCreds to NAPS2.Lib.Common and avoid custom prebuild 2022-07-29 22:09:34 -07:00
Ben Olden-Cooligan
50317c9122 Add Sdk licensing 2022-07-02 22:05:11 -07:00
Ben Olden-Cooligan
6731df4789 Remove unused usings 2022-07-02 16:01:45 -07:00
Ben Olden-Cooligan
f0f961e7c5 Fix some warnings 2022-07-02 14:04:14 -07:00
Ben Olden-Cooligan
3eda15242a Build net5 instead of net6
Seems like there's either a net6 bug or something wrong with my local install, as starting the worker works on net5 but not net6 ("hostfxr.dll" error message when running from Rider).

Plus net5 is probably a good general target right now in terms of compatibility, too.
2022-06-19 18:33:00 -07:00
Ben Olden-Cooligan
5047655aba Upgrade from net461 to net462 2022-06-19 11:02:32 -07:00
Ben Olden-Cooligan
9e239f3301 Fix warnings and cleanup old tesseract code 2022-06-19 10:39:48 -07:00
Ben Olden-Cooligan
1ecc208956 Fix Twain scanning 2022-06-19 09:45:33 -07:00
Ben Olden-Cooligan
5a9a949e9d Add multi-build for NET6 (as well as 4.6.1)
Tests pass & FDesktop shows.
2022-06-18 20:48:45 -07:00
Ben Olden-Cooligan
cbcfd2de82 Remove render extensions in favor of using ImageContext
This should be okay in general and allows us to inject an IPdfRenderer for rendering PDF-based images.
2022-06-14 22:16:35 -07:00
Ben Olden-Cooligan
a56c24e4f5 Rename RenderableImage to ProcessedImage 2022-06-08 19:54:08 -07:00
Ben Olden-Cooligan
3d7f2e4f6e WIP: Simpler image model. Still a number of todos, and some projects not compiling. 2021-12-22 17:45:22 -08:00
Ben Olden-Cooligan
8e594fe9af Change .NET dep from 4.6 to 4.6.1 2021-12-19 13:04:44 -08:00
Ben Olden-Cooligan
7928e52737 Use global usings for common System and NAPS2 usings 2021-12-17 12:18:20 -08:00
Ben Olden-Cooligan
6a7562b506 Use file-scoped namespaces 2021-12-17 11:59:54 -08:00
Ben Olden-Cooligan
b6f44ceeaa Move language version and NAPS2 version to common target files 2020-02-03 18:34:27 -05:00
Ben Olden-Cooligan
61426cb869 Switch target from net461 to net46. Eventually we'll add a netstandard2.0 target too. 2020-01-30 10:18:46 -05:00
Ben Olden-Cooligan
46aa7f53fe Migrate NAPS2.Sdk.Samples to new project format 2020-01-29 20:59:36 -05:00
Ben Olden-Cooligan
3e6ce7aad7 Switch to "using" statements (C# 8) 2019-07-17 21:52:05 -04:00
Ben Olden-Cooligan
3869660d95 Upgrade to C# 8 2019-07-17 21:14:09 -04:00
Ben Olden-Cooligan
ae876ed248 Move types out of the Scan.Experimental namespace 2019-07-14 17:07:42 -04:00
Ben Olden-Cooligan
1bca43f4df Convert GetDeviceList to async and add more error handling tests 2019-07-14 14:40:01 -04:00
Ben Olden-Cooligan
b62100fb07 Remove unused usings
No longer keeping System, System.Collections.Generic, System.Linq
2019-07-14 11:26:56 -04:00
Ben Olden-Cooligan
a88f8d8adc Make worker not static 2019-06-15 18:13:27 -04:00
Ben Olden-Cooligan
5d004310bc Add an ImageContext type in place of static state 2019-06-15 11:56:49 -04:00
Ben Olden-Cooligan
b3f624d41d Worker TwainScan functional 2019-03-16 19:20:47 -04:00
Ben Olden-Cooligan
a2f0933a97 Move BackingStorageType to StorageManager 2019-03-16 18:48:26 -04:00
Ben Olden-Cooligan
4ad5d5c1ed Use a single FileStorage type 2019-03-16 18:44:14 -04:00